@directus/app 9.12.2 → 9.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{@directus_extensions-sdk.016f1070.entry.js → @directus_extensions-sdk.c2d0f9e8.entry.js} +1 -1
- package/dist/assets/accounts.6a41a439.js +1 -0
- package/dist/assets/{active-line.ff3bc705.js → active-line.85f931be.js} +1 -1
- package/dist/assets/activity-log.2f462c6d.js +1 -0
- package/dist/assets/activity.737e1d30.js +80 -0
- package/dist/assets/{apl.cc4825c6.js → apl.cef44fca.js} +1 -1
- package/dist/assets/ar-SA.1270865d.js +1 -0
- package/dist/assets/architecture.19f588c9.js +1 -0
- package/dist/assets/{asciiarmor.30bbdfc8.js → asciiarmor.0a6d46c1.js} +1 -1
- package/dist/assets/{asn.1.499e838e.js → asn.1.8af7db88.js} +1 -1
- package/dist/assets/{asterisk.a2fa7dc3.js → asterisk.133eb9d4.js} +1 -1
- package/dist/assets/authentication.77ec921a.js +73 -0
- package/dist/assets/{autorefresh.d36f34c8.js → autorefresh.8c3a7c64.js} +1 -1
- package/dist/assets/aws.f94e1168.js +1 -0
- package/dist/assets/backing-directus.16949f6d.js +1 -0
- package/dist/assets/bg-BG.375ca1ae.js +1 -0
- package/dist/assets/bn-IN.4127b7a4.js +1 -0
- package/dist/assets/{br-FR.1ad76918.js → br-FR.73a7f62b.js} +1 -1
- package/dist/assets/{brainfuck.dab31c46.js → brainfuck.bb0a1793.js} +1 -1
- package/dist/assets/{ca-ES.365a1fc4.js → ca-ES.3340d7d5.js} +1 -1
- package/dist/assets/cli.18caf1f2.js +19 -0
- package/dist/assets/cli.774a4996.js +4 -0
- package/dist/assets/{clike.7aacd908.js → clike.264a24b6.js} +1 -1
- package/dist/assets/{clojure.c8d9937a.js → clojure.5be5870c.js} +1 -1
- package/dist/assets/cloudron.3b183977.js +1 -0
- package/dist/assets/{cmake.e0408576.js → cmake.361bb9df.js} +1 -1
- package/dist/assets/{cobol.86241640.js → cobol.2e771d85.js} +1 -1
- package/dist/assets/codebase-overview.d6365b1a.js +1 -0
- package/dist/assets/{coffeescript.6090d9e8.js → coffeescript.132c432c.js} +1 -1
- package/dist/assets/collections.5ec4ec4a.js +2 -0
- package/dist/assets/collections.e66dacd4.js +106 -0
- package/dist/assets/{commonlisp.eb3c5619.js → commonlisp.87c850aa.js} +1 -1
- package/dist/assets/config-options.5b139611.js +138 -0
- package/dist/assets/content.0fca8e70.js +1 -0
- package/dist/assets/creating-extensions.09899f65.js +11 -0
- package/dist/assets/{crystal.01db8e68.js → crystal.8b2d4939.js} +1 -1
- package/dist/assets/cs-CZ.678bc13f.js +1 -0
- package/dist/assets/{css.b1894218.js → css.1e9857ce.js} +1 -1
- package/dist/assets/{cypher.c0cbf899.js → cypher.aefea96e.js} +1 -1
- package/dist/assets/{d.54d4201d.js → d.38a2fd63.js} +1 -1
- package/dist/assets/{da-DK.88f53a7d.js → da-DK.8db961d3.js} +1 -1
- package/dist/assets/{dart.2218881c.js → dart.4d90eff6.js} +1 -1
- package/dist/assets/data-model.98153925.js +1 -0
- package/dist/assets/data-sharing.06e8a06f.js +1 -0
- package/dist/assets/de-DE.a45e2867.js +1 -0
- package/dist/assets/{diff.d7f03886.js → diff.f2ea9976.js} +1 -1
- package/dist/assets/digitalocean-app-platform.7da3c7a1.js +3 -0
- package/dist/assets/display-templates.cd179d19.js +1 -0
- package/dist/assets/displays.1ee1f2b5.js +49 -0
- package/dist/assets/{django.913379d3.js → django.fce1ee6c.js} +1 -1
- package/dist/assets/{docker.e1bb4205.js → docker.7318105b.js} +6 -6
- package/dist/assets/{dockerfile.9c7cf88b.js → dockerfile.10fea9a2.js} +1 -1
- package/dist/assets/documentation.ec08e64e.js +1 -0
- package/dist/assets/{dtd.dbc97bdb.js → dtd.c67f9501.js} +1 -1
- package/dist/assets/{dylan.0c2df43b.js → dylan.9c7c8fbb.js} +1 -1
- package/dist/assets/{ebnf.4c778620.js → ebnf.5893ba11.js} +1 -1
- package/dist/assets/{ecl.778611ac.js → ecl.666cf005.js} +1 -1
- package/dist/assets/{eiffel.2a73cd14.js → eiffel.1ff51078.js} +1 -1
- package/dist/assets/{elm.90002323.js → elm.3c43bbde.js} +1 -1
- package/dist/assets/email-templates.bc7359ba.js +2 -0
- package/dist/assets/{en-CA.58d818b8.js → en-CA.d2451b87.js} +1 -1
- package/dist/assets/{en-GB.74320d21.js → en-GB.e362e116.js} +1 -1
- package/dist/assets/endpoints.a283ab67.js +27 -0
- package/dist/assets/{erlang.c8e3989e.js → erlang.cfe0d25f.js} +1 -1
- package/dist/assets/es-419.d7e63f16.js +1 -0
- package/dist/assets/es-CL.7fd46c95.js +1 -0
- package/dist/assets/es-ES.90a08b21.js +1 -0
- package/dist/assets/es-MX.778b926c.js +1 -0
- package/dist/assets/{et-EE.9e35920e.js → et-EE.5321add1.js} +1 -1
- package/dist/assets/extensions.a51d3924.js +12 -0
- package/dist/assets/{fa-IR.f3dc75f9.js → fa-IR.a346165e.js} +1 -1
- package/dist/assets/{factor.a2db9c26.js → factor.eb880fb0.js} +1 -1
- package/dist/assets/faq.7bde76ae.js +2 -0
- package/dist/assets/{fcl.02d85986.js → fcl.a70b3450.js} +1 -1
- package/dist/assets/{fi-FI.42afdce0.js → fi-FI.14cee6db.js} +1 -1
- package/dist/assets/fields.1f2e77de.js +135 -0
- package/dist/assets/file-library.3626307c.js +1 -0
- package/dist/assets/files.e045e557.js +189 -0
- package/dist/assets/filter-rules.247581e5.js +76 -0
- package/dist/assets/filters.43e74661.js +1 -0
- package/dist/assets/flows.323ce75f.js +15 -0
- package/dist/assets/{flows.22228af1.js → flows.5f5e16d5.js} +23 -23
- package/dist/assets/{folders.0024d3d3.js → folders.56c9a624.js} +20 -20
- package/dist/assets/{forth.725698ea.js → forth.127a7f69.js} +1 -1
- package/dist/assets/{fortran.e9ba7b47.js → fortran.64d2bcc8.js} +1 -1
- package/dist/assets/{fr-CA.caa3fc8d.js → fr-CA.7669aed8.js} +1 -1
- package/dist/assets/{fr-FR.615da1bd.js → fr-FR.49507672.js} +1 -1
- package/dist/assets/{gas.25b17a72.js → gas.b5ddd39d.js} +1 -1
- package/dist/assets/gcp.aab7b77c.js +60 -0
- package/dist/assets/{gfm.a7b6e273.js → gfm.0e5a0d37.js} +1 -1
- package/dist/assets/{gherkin.1db310b6.js → gherkin.ca9beebc.js} +1 -1
- package/dist/assets/github-ci.fbe7bc68.js +2 -0
- package/dist/assets/glossary.321fe2e7.js +1 -0
- package/dist/assets/glossary.8e8d2e42.js +1 -0
- package/dist/assets/{go.a0c64ca2.js → go.601cf92f.js} +1 -1
- package/dist/assets/{groovy.b0ac2a1f.js → groovy.106b0e1b.js} +1 -1
- package/dist/assets/{haml.233c9608.js → haml.8a27bb91.js} +1 -1
- package/dist/assets/{handlebars.b13fc00f.js → handlebars.7edaa076.js} +1 -1
- package/dist/assets/{haskell-literate.af8f88ee.js → haskell-literate.c5a1599c.js} +1 -1
- package/dist/assets/{haskell.adcf73db.js → haskell.499e9d63.js} +1 -1
- package/dist/assets/{haxe.f1a75c2e.js → haxe.6103069d.js} +1 -1
- package/dist/assets/{hi-IN.36e79faa.js → hi-IN.1abc0fe8.js} +1 -1
- package/dist/assets/hooks.c8418066.js +60 -0
- package/dist/assets/{hr-HR.b1e41c07.js → hr-HR.5e9128d0.js} +1 -1
- package/dist/assets/{htmlembedded.145e9718.js → htmlembedded.57ac5929.js} +1 -1
- package/dist/assets/{htmlmixed.6794685c.js → htmlmixed.be98881c.js} +1 -1
- package/dist/assets/{http.5bb61ef1.js → http.4229d6d3.js} +1 -1
- package/dist/assets/{hu-HU.9c7ec38f.js → hu-HU.edf3e061.js} +1 -1
- package/dist/assets/id-ID.5d8e082c.js +1 -0
- package/dist/assets/{idl.f52ce6c3.js → idl.1baa44ef.js} +1 -1
- package/dist/assets/{iis.109e5a8a.js → iis.5653e9da.js} +2 -2
- package/dist/assets/import-export.c48e51e7.js +2 -0
- package/dist/assets/{index.d8fe2ade.js → index.06b1bc9f.js} +1 -1
- package/dist/assets/{index.2ec06d14.js → index.0b12fa24.js} +1 -1
- package/dist/assets/{index.a40592f5.js → index.0ec094a3.js} +1 -1
- package/dist/assets/{index.10f90411.js → index.15a6b55f.js} +1 -1
- package/dist/assets/{index.663b73a9.js → index.16d5015d.js} +1 -1
- package/dist/assets/{index.a8aa4628.js → index.178f5aaf.js} +1 -1
- package/dist/assets/{index.627523d7.js → index.1a744da7.js} +1 -1
- package/dist/assets/{index.14c720ba.js → index.204d0697.js} +1 -1
- package/dist/assets/{index.c6e501ec.js → index.219a17f2.js} +1 -1
- package/dist/assets/{index.6f0b7179.js → index.28cc485f.js} +1 -1
- package/dist/assets/{index.d0fe3776.js → index.29e951ca.js} +1 -1
- package/dist/assets/{index.85b9f847.js → index.2c806494.js} +1 -1
- package/dist/assets/{index.cc6496a8.js → index.2d502598.js} +1 -1
- package/dist/assets/{index.cda6c2d6.js → index.3142cfab.js} +1 -1
- package/dist/assets/{index.cef58c9b.js → index.33ca7318.js} +1 -1
- package/dist/assets/{index.b702042e.js → index.360682df.js} +1 -1
- package/dist/assets/{index.af021d8a.js → index.3651f13c.js} +1 -1
- package/dist/assets/{index.e3dcc63c.js → index.3db870b4.js} +1 -1
- package/dist/assets/{index.98713a56.js → index.3f26bd55.js} +1 -1
- package/dist/assets/{index.9b60cfa4.js → index.3f629050.js} +1 -1
- package/dist/assets/{index.63d1f569.js → index.3fcf2822.js} +1 -1
- package/dist/assets/{index.55a12dfb.js → index.4ae9df91.js} +1 -1
- package/dist/assets/{index.1b44d300.js → index.4d0c9d2f.js} +1 -1
- package/dist/assets/{index.2598f40b.js → index.5073c294.js} +1 -1
- package/dist/assets/{index.a9b73f2c.js → index.528b0171.js} +1 -1
- package/dist/assets/{index.98ee194a.js → index.530b8f76.js} +1 -1
- package/dist/assets/{index.4fbaebb7.js → index.57201b30.js} +1 -1
- package/dist/assets/{index.d9285c22.js → index.577a0434.js} +1 -1
- package/dist/assets/{index.4ef25ded.js → index.58506149.js} +1 -1
- package/dist/assets/{index.6bebaca7.js → index.59759bad.js} +1 -1
- package/dist/assets/{index.3eda79ec.js → index.5d2a1255.js} +1 -1
- package/dist/assets/{index.bce5f50d.js → index.5ef47d94.js} +1 -1
- package/dist/assets/{index.a9faa4e8.js → index.656a3daa.js} +1 -1
- package/dist/assets/{index.93059741.js → index.67e35129.js} +1 -1
- package/dist/assets/{index.402d83c0.js → index.6fe4b726.js} +1 -1
- package/dist/assets/{index.77260d1d.js → index.7011d0c4.js} +1 -1
- package/dist/assets/{index.ef3faba8.js → index.708c2587.js} +1 -1
- package/dist/assets/{index.7fe984e4.js → index.731ea486.js} +1 -1
- package/dist/assets/{index.7f906cfe.js → index.7b6f6a30.js} +1 -1
- package/dist/assets/{index.16acfb90.js → index.7bfaf022.js} +1 -1
- package/dist/assets/{index.5c54c17f.js → index.7ccfac4f.js} +1 -1
- package/dist/assets/{index.60d33aa1.js → index.7d3af32f.js} +1 -1
- package/dist/assets/{index.c9fb33ab.js → index.7efa08a7.js} +1 -1
- package/dist/assets/{index.3d4cd218.js → index.83254b8b.js} +1 -1
- package/dist/assets/index.876852bd.entry.js +3402 -0
- package/dist/assets/{index.1a65b37a.js → index.8d2db40f.js} +1 -1
- package/dist/assets/index.9001e465.css +1 -0
- package/dist/assets/{index.a71fa74c.js → index.91fa7a8d.js} +1 -1
- package/dist/assets/{index.8493b2e7.js → index.9459ab09.js} +1 -1
- package/dist/assets/{index.d653bbf2.js → index.94d7ade8.js} +1 -1
- package/dist/assets/{index.55cf7b0a.js → index.9ac418f5.js} +1 -1
- package/dist/assets/{index.0295bc4b.js → index.9c5a0589.js} +1 -1
- package/dist/assets/{index.20b34242.js → index.9dd4ba15.js} +1 -1
- package/dist/assets/{index.5f5bf5b9.js → index.9f4f31bb.js} +1 -1
- package/dist/assets/{index.28aa754b.js → index.9fa88e82.js} +1 -1
- package/dist/assets/{index.b5ed5076.js → index.9fd2f4fc.js} +1 -1
- package/dist/assets/{index.94cf6fb4.js → index.9ff8ac88.js} +1 -1
- package/dist/assets/{index.e6715953.js → index.a22ebf71.js} +1 -1
- package/dist/assets/{index.fa57ca3f.js → index.aadb91bf.js} +1 -1
- package/dist/assets/{index.ee22568a.js → index.b0a109be.js} +1 -1
- package/dist/assets/{index.2926879f.js → index.b107abb9.js} +1 -1
- package/dist/assets/{index.7fd5e2a0.js → index.b6f0287a.js} +1 -1
- package/dist/assets/{index.0e101049.js → index.b7cd48a8.js} +1 -1
- package/dist/assets/{index.b67f8116.js → index.bfffbb2b.js} +1 -1
- package/dist/assets/{index.b43832c6.js → index.c83f5be4.js} +1 -1
- package/dist/assets/{index.d060d5f6.js → index.c8cd968e.js} +1 -1
- package/dist/assets/{index.ebb444cf.js → index.cb9930fe.js} +1 -1
- package/dist/assets/{index.56188e3b.js → index.cf04970d.js} +1 -1
- package/dist/assets/{index.43fa9898.js → index.d0c387c9.js} +1 -1
- package/dist/assets/{index.bfd23a9c.js → index.d2a1f961.js} +1 -1
- package/dist/assets/{index.456ff0bd.js → index.d2cb8f46.js} +1 -1
- package/dist/assets/{index.c35b11e6.js → index.d7109bf7.js} +1 -1
- package/dist/assets/{index.a5d15d7f.js → index.da530994.js} +1 -1
- package/dist/assets/{index.a3e085ea.js → index.dbfcc1a7.js} +1 -1
- package/dist/assets/{index.399c0d62.js → index.dd1b70ed.js} +1 -1
- package/dist/assets/{index.4100d6f0.js → index.e29b1e2d.js} +1 -1
- package/dist/assets/{index.c2e6211e.js → index.e3eade04.js} +1 -1
- package/dist/assets/{index.07257d01.js → index.e65177c5.js} +1 -1
- package/dist/assets/{index.4e2109fe.js → index.e6925009.js} +1 -1
- package/dist/assets/{index.175a81f8.js → index.e7f7c63b.js} +1 -1
- package/dist/assets/{index.c5266851.js → index.f03e3a04.js} +1 -1
- package/dist/assets/{index.8a9f2874.js → index.f2b97e8c.js} +1 -1
- package/dist/assets/{index.7249f524.js → index.f73d801d.js} +1 -1
- package/dist/assets/{input-rich-text-html.817ccf8b.css → input-rich-text-html.05181995.css} +1 -1
- package/dist/assets/{input-rich-text-html.e9e92552.js → input-rich-text-html.ec8448e4.js} +3 -3
- package/dist/assets/insights.91323cd9.js +2 -0
- package/dist/assets/installation.52e4ff88.js +1 -0
- package/dist/assets/interfaces.3a13d91e.js +46 -0
- package/dist/assets/introduction.651560f1.js +1 -0
- package/dist/assets/introduction.8442768e.js +4 -0
- package/dist/assets/introduction.8fbc61cf.js +1 -0
- package/dist/assets/{introduction.2e6f5c1d.js → introduction.a7d534ac.js} +7 -7
- package/dist/assets/it-IT.558525d2.js +1 -0
- package/dist/assets/items.21c2f5c1.js +1 -0
- package/dist/assets/{items.4205dfa0.js → items.89e120a5.js} +27 -27
- package/dist/assets/ja-JP.84597497.js +1 -0
- package/dist/assets/{javascript-hint.d8a99d8e.js → javascript-hint.7c0e2348.js} +1 -1
- package/dist/assets/{javascript.357d6ab4.js → javascript.549d0ba4.js} +1 -1
- package/dist/assets/{jinja2.64181acd.js → jinja2.5aada9b5.js} +1 -1
- package/dist/assets/{jsx.ba14fb9d.js → jsx.560c7673.js} +1 -1
- package/dist/assets/{julia.06a9ee42.js → julia.4b70a3c2.js} +1 -1
- package/dist/assets/layouts.1ab2977a.js +1 -0
- package/dist/assets/layouts.ec7b7659.js +54 -0
- package/dist/assets/{livescript.687f6ca6.js → livescript.c54303a1.js} +1 -1
- package/dist/assets/localization.7df8d876.js +1 -0
- package/dist/assets/{lt-LT.772aac6e.js → lt-LT.7c7364ab.js} +1 -1
- package/dist/assets/{lua.40597bfe.js → lua.eee6a1df.js} +1 -1
- package/dist/assets/manual.1cafb3c9.js +10 -0
- package/dist/assets/{mark-selection.feeab6e5.js → mark-selection.c75b2260.js} +1 -1
- package/dist/assets/{match-highlighter.8afd3316.js → match-highlighter.06888b25.js} +1 -1
- package/dist/assets/{mathematica.6569f1d2.js → mathematica.836a919a.js} +1 -1
- package/dist/assets/{mbox.d8c16b77.js → mbox.a18f3acd.js} +1 -1
- package/dist/assets/migrations.48bae78b.js +19 -0
- package/dist/assets/{mirc.5f909857.js → mirc.8d633a4c.js} +1 -1
- package/dist/assets/{mllike.393c4525.js → mllike.ee0a0e4e.js} +1 -1
- package/dist/assets/{modelica.1180cc4d.js → modelica.806d9c14.js} +1 -1
- package/dist/assets/modules.ba273153.js +69 -0
- package/dist/assets/{mscgen.429d47df.js → mscgen.81143483.js} +1 -1
- package/dist/assets/{multiplex.23c498d1.js → multiplex.b5f6827f.js} +1 -1
- package/dist/assets/{mumps.f94bba13.js → mumps.af4fdb4c.js} +1 -1
- package/dist/assets/{nginx.72bf7bab.js → nginx.a80ef11d.js} +1 -1
- package/dist/assets/{nl-NL.b57de112.js → nl-NL.e22dd4e0.js} +1 -1
- package/dist/assets/{no-NO.79458b78.js → no-NO.6edd4997.js} +1 -1
- package/dist/assets/notifications.1e1cfcf8.js +153 -0
- package/dist/assets/{nsis.68fe2711.js → nsis.6c7c39d8.js} +1 -1
- package/dist/assets/{ntriples.964a7402.js → ntriples.9c907279.js} +1 -1
- package/dist/assets/{octave.26aad7e7.js → octave.1e59cd30.js} +1 -1
- package/dist/assets/operations.054152be.js +1 -0
- package/dist/assets/{operations.22151874.js → operations.cd009c46.js} +21 -21
- package/dist/assets/{overlay.b4b97f23.js → overlay.c92748f5.js} +1 -1
- package/dist/assets/overview.70f19d6e.js +1 -0
- package/dist/assets/overview.a1ad38f6.js +1 -0
- package/dist/assets/overview.b5ff02e8.js +1 -0
- package/dist/assets/{oz.1076911f.js → oz.fccca05b.js} +1 -1
- package/dist/assets/panels.a7ccfe62.js +65 -0
- package/dist/assets/{pascal.8ad1e64f.js → pascal.ba64f8f0.js} +1 -1
- package/dist/assets/{pegjs.c362f9d1.js → pegjs.6dfcd58b.js} +1 -1
- package/dist/assets/{perl.afe37b4f.js → perl.0e74be0a.js} +1 -1
- package/dist/assets/{permissions.f84f8d42.js → permissions.7a7896f5.js} +19 -19
- package/dist/assets/{php.2fcb5b78.js → php.d233db82.js} +1 -1
- package/dist/assets/{pig.1047d3c6.js → pig.21e0eb3e.js} +1 -1
- package/dist/assets/{pinia.256cc3da.entry.js → pinia.10afb35e.entry.js} +1 -1
- package/dist/assets/pl-PL.88defd20.js +1 -0
- package/dist/assets/plesk.e70d310e.js +27 -0
- package/dist/assets/{powershell.a493c1a9.js → powershell.da69d4e0.js} +1 -1
- package/dist/assets/presets-bookmarks.03f2cacf.js +1 -0
- package/dist/assets/{presets.b1e8b6c1.js → presets.78562380.js} +20 -20
- package/dist/assets/project-settings.1ca9f129.js +1 -0
- package/dist/assets/projects.8310e11a.js +1 -0
- package/dist/assets/{properties.2ccd56b8.js → properties.a4628831.js} +1 -1
- package/dist/assets/{protobuf.a0e463a0.js → protobuf.f0f96141.js} +1 -1
- package/dist/assets/pt-BR.70dc0b86.js +1 -0
- package/dist/assets/{pt-PT.c28534a0.js → pt-PT.011f0864.js} +1 -1
- package/dist/assets/{pug.3909bb70.js → pug.3fee26d4.js} +1 -1
- package/dist/assets/{puppet.298e3717.js → puppet.60ebf719.js} +1 -1
- package/dist/assets/{python.099f62ce.js → python.a209d75c.js} +1 -1
- package/dist/assets/{q.64763e8e.js → q.9bc79202.js} +1 -1
- package/dist/assets/query.23aa38a2.js +152 -0
- package/dist/assets/quickstart.2ad94821.js +20 -0
- package/dist/assets/quickstart.59a0c62f.js +9 -0
- package/dist/assets/{r.f2c0470b.js → r.73746445.js} +1 -1
- package/dist/assets/relations.c6b50878.js +115 -0
- package/dist/assets/relationships.7a08adb6.js +55 -0
- package/dist/assets/resources.a731a4ac.js +1 -0
- package/dist/assets/revisions.69b22e98.js +40 -0
- package/dist/assets/{ro-RO.5161835a.js → ro-RO.335d3129.js} +1 -1
- package/dist/assets/roles.caf226aa.js +171 -0
- package/dist/assets/{rpm.cf84a89e.js → rpm.b64d60a3.js} +1 -1
- package/dist/assets/{rst.26def927.js → rst.d4af1cd8.js} +1 -1
- package/dist/assets/{ru-RU.94a64be6.js → ru-RU.2ccef41d.js} +1 -1
- package/dist/assets/{ruby.5fdee9b4.js → ruby.a80f4c3d.js} +1 -1
- package/dist/assets/running-locally.0df06054.js +26 -0
- package/dist/assets/{runtime-core.esm-bundler.b1f35d24.js → runtime-core.esm-bundler.e6808e6c.js} +0 -0
- package/dist/assets/{rust.ab31720a.js → rust.899c7d8f.js} +1 -1
- package/dist/assets/{sas.d35671d3.js → sas.41f29cd7.js} +1 -1
- package/dist/assets/{sass.be16b14c.js → sass.1d8f58d7.js} +1 -1
- package/dist/assets/{scheme.da057889.js → scheme.2ab5ffc7.js} +1 -1
- package/dist/assets/{sdk.12cd7974.js → sdk.482f914b.js} +41 -41
- package/dist/assets/security.e53645ff.js +1 -0
- package/dist/assets/{server.9f12ae3e.js → server.c899d180.js} +12 -12
- package/dist/assets/settings.2dce0b3a.js +51 -0
- package/dist/assets/settings.3849af9a.js +1 -0
- package/dist/assets/{shell.ba07ff2f.js → shell.a3cecf64.js} +1 -1
- package/dist/assets/{show-hint.4c3405db.js → show-hint.3f4ba8eb.js} +1 -1
- package/dist/assets/{sieve.9a88af42.js → sieve.f25d24f4.js} +1 -1
- package/dist/assets/{simple.306c97cf.js → simple.c984322a.js} +1 -1
- package/dist/assets/{sl-SI.719d987e.js → sl-SI.e8321ed4.js} +1 -1
- package/dist/assets/{slim.11e72018.js → slim.3db1f064.js} +1 -1
- package/dist/assets/{smalltalk.802facc0.js → smalltalk.f551ff39.js} +1 -1
- package/dist/assets/{smarty.410c0c8d.js → smarty.afd9c30f.js} +1 -1
- package/dist/assets/{solr.43e14cbf.js → solr.c9696404.js} +1 -1
- package/dist/assets/{soy.18418f41.js → soy.1a041a45.js} +1 -1
- package/dist/assets/{sparql.5169332f.js → sparql.8928a4e7.js} +1 -1
- package/dist/assets/{spreadsheet.2a7e9b13.js → spreadsheet.b508d495.js} +1 -1
- package/dist/assets/{sql.53c1d1ba.js → sql.ca615946.js} +1 -1
- package/dist/assets/{sr-CS.c513578f.js → sr-CS.4de79c8e.js} +1 -1
- package/dist/assets/{sso-examples.b52061be.js → sso-examples.b4ec54d6.js} +12 -12
- package/dist/assets/sso.83af860e.js +22 -0
- package/dist/assets/{stex.7c4e0033.js → stex.49bcb53e.js} +1 -1
- package/dist/assets/{stylus.dfe1c737.js → stylus.861b3b1d.js} +1 -1
- package/dist/assets/support.ec8c583f.js +1 -0
- package/dist/assets/{sv-SE.a70fd097.js → sv-SE.0f875403.js} +1 -1
- package/dist/assets/{swift.e9cb43f5.js → swift.3f2d8cb3.js} +1 -1
- package/dist/assets/{tcl.7cc3bef5.js → tcl.cd07bc30.js} +1 -1
- package/dist/assets/teams.cd070396.js +1 -0
- package/dist/assets/{textile.353c8497.js → textile.a63fbf58.js} +1 -1
- package/dist/assets/{th-TH.bdbc4a8c.js → th-TH.2ebd6079.js} +1 -1
- package/dist/assets/themes.6b4fa5ad.js +5 -0
- package/dist/assets/{tiddlywiki.f4ebe8db.js → tiddlywiki.f2f348c0.js} +1 -1
- package/dist/assets/{tiki.95dd78e4.js → tiki.ba369f07.js} +1 -1
- package/dist/assets/{toml.f50bb93a.js → toml.31bb978b.js} +1 -1
- package/dist/assets/{tornado.3e0cfd8c.js → tornado.1777e143.js} +1 -1
- package/dist/assets/{tr-TR.d7a7361f.js → tr-TR.bf97340d.js} +1 -1
- package/dist/assets/translation-strings.20caaf44.js +1 -0
- package/dist/assets/translations.b0669f1b.js +1 -0
- package/dist/assets/triggers.ef2f026f.js +1 -0
- package/dist/assets/{troff.a2834e8f.js → troff.1d83c4c6.js} +1 -1
- package/dist/assets/{ttcn-cfg.447f138c.js → ttcn-cfg.7fa2f9b9.js} +1 -1
- package/dist/assets/{ttcn.7d877404.js → ttcn.5f856a38.js} +1 -1
- package/dist/assets/{turtle.3b4898fd.js → turtle.3c6fdbbb.js} +1 -1
- package/dist/assets/{twig.53dd7cbe.js → twig.542faf41.js} +1 -1
- package/dist/assets/ubuntu.d721892a.js +11 -0
- package/dist/assets/uk-UA.3d9cc5ac.js +1 -0
- package/dist/assets/upgrades-migrations.7ca77eae.js +1 -0
- package/dist/assets/{use-sync.c0f4dfab.js → use-sync.a493fd37.js} +1 -1
- package/dist/assets/user-directory.1e43d57c.js +1 -0
- package/dist/assets/users-roles-permissions.298f1d29.js +1 -0
- package/dist/assets/users.c27bf116.js +252 -0
- package/dist/assets/{utilities.26e6a9e8.js → utilities.5c027346.js} +12 -12
- package/dist/assets/{vb.c3313898.js → vb.660ea551.js} +1 -1
- package/dist/assets/{vbscript.0b106bed.js → vbscript.8d60ba84.js} +1 -1
- package/dist/assets/{velocity.c20bb29d.js → velocity.2c820c8c.js} +1 -1
- package/dist/assets/{verilog.2f6698b4.js → verilog.a6d857f3.js} +1 -1
- package/dist/assets/{vhdl.6127eef7.js → vhdl.1739da74.js} +1 -1
- package/dist/assets/{vi-VN.7478a743.js → vi-VN.7aaf0f64.js} +1 -1
- package/dist/assets/{vue-i18n.ecb0af35.entry.js → vue-i18n.540626ab.entry.js} +1 -1
- package/dist/assets/{vue-router.8987d576.entry.js → vue-router.3ef5d657.entry.js} +1 -1
- package/dist/assets/{vue.1f4d921a.entry.js → vue.2ddff80c.entry.js} +1 -1
- package/dist/assets/{vue.bb756ea0.js → vue.6a736ef9.js} +1 -1
- package/dist/assets/{vue.runtime.esm-bundler.ac4ff7af.js → vue.runtime.esm-bundler.f4ce1cef.js} +1 -1
- package/dist/assets/{wast.66661aa3.js → wast.4a6e6c0b.js} +1 -1
- package/dist/assets/{webhooks.4eeecb7d.js → webhooks.c44db11b.js} +19 -19
- package/dist/assets/webhooks.dcb64844.js +1 -0
- package/dist/assets/{webidl.0a42319e.js → webidl.92e5974e.js} +1 -1
- package/dist/assets/{xquery.44dd200c.js → xquery.2e4160b5.js} +1 -1
- package/dist/assets/{yacas.6f3863db.js → yacas.3afca2ee.js} +1 -1
- package/dist/assets/{yaml-frontmatter.42fca60b.js → yaml-frontmatter.312d62d5.js} +1 -1
- package/dist/assets/{yaml.d85fc2b2.js → yaml.71c2f2cd.js} +1 -1
- package/dist/assets/{z80.2bbe85a7.js → z80.e076e688.js} +1 -1
- package/dist/assets/zh-CN.d7b18680.js +1 -0
- package/dist/assets/zh-TW.4802ae81.js +1 -0
- package/dist/index.html +8 -8
- package/package.json +9 -7
- package/dist/assets/accounts.08433099.js +0 -1
- package/dist/assets/activity-log.496fa2f2.css +0 -1
- package/dist/assets/activity-log.fd558c9b.js +0 -1
- package/dist/assets/activity.0def80ca.js +0 -80
- package/dist/assets/ar-SA.1a6c2c65.js +0 -1
- package/dist/assets/architecture.6e6f13a7.js +0 -1
- package/dist/assets/authentication.a6f04750.js +0 -73
- package/dist/assets/aws.3b1c64af.js +0 -1
- package/dist/assets/backing-directus.0003d237.js +0 -1
- package/dist/assets/bg-BG.749c86ae.js +0 -1
- package/dist/assets/bn-IN.1385676c.js +0 -1
- package/dist/assets/cli.5153aa86.js +0 -4
- package/dist/assets/cli.e8e2526b.js +0 -19
- package/dist/assets/cloudron.53c430b8.js +0 -1
- package/dist/assets/codebase-overview.e9df94fc.js +0 -1
- package/dist/assets/collections.2453db3a.js +0 -106
- package/dist/assets/collections.aa896b3f.js +0 -2
- package/dist/assets/config-options.b1233b4b.js +0 -138
- package/dist/assets/content.1b1e95cf.js +0 -1
- package/dist/assets/creating-extensions.bfd7c57c.js +0 -11
- package/dist/assets/cs-CZ.6910228b.js +0 -1
- package/dist/assets/data-model.0e360572.js +0 -1
- package/dist/assets/data-sharing.da96e52e.js +0 -1
- package/dist/assets/de-DE.a4271e4f.js +0 -1
- package/dist/assets/digitalocean-app-platform.3412cb40.js +0 -3
- package/dist/assets/display-templates.915c0c5b.js +0 -1
- package/dist/assets/displays.99989c6d.js +0 -49
- package/dist/assets/documentation.788d4998.js +0 -1
- package/dist/assets/email-templates.1f5ac335.js +0 -2
- package/dist/assets/endpoints.aaac7c81.js +0 -27
- package/dist/assets/es-419.aa0bf259.js +0 -1
- package/dist/assets/es-CL.e42c6c3c.js +0 -1
- package/dist/assets/es-ES.5c7e9438.js +0 -1
- package/dist/assets/es-MX.b9c72674.js +0 -1
- package/dist/assets/extensions.34c12005.js +0 -12
- package/dist/assets/faq.89e68608.js +0 -2
- package/dist/assets/fields.54985585.js +0 -135
- package/dist/assets/file-library.b55c53fe.js +0 -1
- package/dist/assets/files.064d5a35.js +0 -187
- package/dist/assets/filter-rules.aec0af01.js +0 -76
- package/dist/assets/filters.3db1b044.js +0 -1
- package/dist/assets/flows.3ea1b90f.js +0 -15
- package/dist/assets/gcp.627205b5.js +0 -60
- package/dist/assets/github-ci.abd39dcc.js +0 -2
- package/dist/assets/glossary.312e2401.js +0 -1
- package/dist/assets/glossary.75ca2027.js +0 -1
- package/dist/assets/hooks.eda18b02.js +0 -60
- package/dist/assets/id-ID.a0052c00.js +0 -1
- package/dist/assets/import-export.3da878a4.js +0 -2
- package/dist/assets/index.133de9ba.entry.js +0 -3406
- package/dist/assets/index.ef58525d.css +0 -1
- package/dist/assets/insights.c8ed7c1c.js +0 -1
- package/dist/assets/installation.78c6d9f6.js +0 -1
- package/dist/assets/interfaces.9e145c45.js +0 -46
- package/dist/assets/introduction.78a2a844.js +0 -4
- package/dist/assets/introduction.8a589eb0.js +0 -1
- package/dist/assets/introduction.fd7c08ac.js +0 -1
- package/dist/assets/it-IT.7b7f58ec.js +0 -1
- package/dist/assets/items.64ed9295.js +0 -1
- package/dist/assets/ja-JP.819a38cf.js +0 -1
- package/dist/assets/layouts.3c14b583.js +0 -54
- package/dist/assets/layouts.ca8afd39.js +0 -1
- package/dist/assets/localization.374b7427.js +0 -1
- package/dist/assets/manual.ab601c95.js +0 -10
- package/dist/assets/migrations.8989fedc.js +0 -19
- package/dist/assets/modules.17c944d1.js +0 -69
- package/dist/assets/notifications.33c688c9.js +0 -153
- package/dist/assets/operations.50a08aae.js +0 -1
- package/dist/assets/overview.3436365c.js +0 -1
- package/dist/assets/overview.623fafba.js +0 -1
- package/dist/assets/overview.dbebe94a.js +0 -1
- package/dist/assets/panels.385b173a.js +0 -65
- package/dist/assets/pl-PL.7e448fa9.js +0 -1
- package/dist/assets/plesk.f7e3d5ef.js +0 -27
- package/dist/assets/presets-bookmarks.1b8ec70c.js +0 -1
- package/dist/assets/project-settings.d32669a9.js +0 -1
- package/dist/assets/projects.bb50c3df.js +0 -1
- package/dist/assets/pt-BR.2d6fa7cc.js +0 -1
- package/dist/assets/query.dbe0b56d.js +0 -152
- package/dist/assets/quickstart.01824cc9.js +0 -9
- package/dist/assets/quickstart.4d7c7736.js +0 -20
- package/dist/assets/relations.d29aa86d.js +0 -115
- package/dist/assets/relationships.c9c5db8a.js +0 -55
- package/dist/assets/resources.00028bf0.js +0 -1
- package/dist/assets/revisions.2898106e.js +0 -40
- package/dist/assets/roles.9fec37da.js +0 -171
- package/dist/assets/running-locally.811d0dcc.js +0 -26
- package/dist/assets/security.8e2a8a41.js +0 -1
- package/dist/assets/settings.149d1dff.js +0 -1
- package/dist/assets/settings.28abc1f0.js +0 -51
- package/dist/assets/sso.64b2717b.js +0 -22
- package/dist/assets/support.94e3734b.js +0 -1
- package/dist/assets/teams.9ff14f8f.js +0 -1
- package/dist/assets/themes.df7ec485.js +0 -5
- package/dist/assets/translations.5191ab7c.js +0 -1
- package/dist/assets/triggers.1f1ace5f.js +0 -1
- package/dist/assets/ubuntu.f4c21886.js +0 -11
- package/dist/assets/uk-UA.473dd1c9.js +0 -1
- package/dist/assets/upgrades-migrations.15498a47.js +0 -1
- package/dist/assets/user-directory.47c8beb2.js +0 -1
- package/dist/assets/users-roles-permissions.005388fa.js +0 -1
- package/dist/assets/users.84251ab9.js +0 -252
- package/dist/assets/webhooks.61b11e7d.js +0 -1
- package/dist/assets/zh-CN.c51e7308.js +0 -1
- package/dist/assets/zh-TW.8ef6cec8.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var ZU=Object.defineProperty,QU=Object.defineProperties;var eW=Object.getOwnPropertyDescriptors;var _L=Object.getOwnPropertySymbols;var tW=Object.prototype.hasOwnProperty,nW=Object.prototype.propertyIsEnumerable;var BL=(le,Xe,tn)=>Xe in le?ZU(le,Xe,{enumerable:!0,configurable:!0,writable:!0,value:tn}):le[Xe]=tn,BO=(le,Xe)=>{for(var tn in Xe||(Xe={}))tW.call(Xe,tn)&&BL(le,tn,Xe[tn]);if(_L)for(var tn of _L(Xe))nW.call(Xe,tn)&&BL(le,tn,Xe[tn]);return le},NB=(le,Xe)=>QU(le,eW(Xe));import{f as IO,d as FL,I as LL,r as Os,j as rW,N as aW,b0 as oW,b1 as iW,D as ML,c as xT,a as Ys,n as uW,o as id,q as Yb,e as oo,v as PL,t as Js,u as MO,w as _u,B as PO,g as go,p as $L,b as IB,F as UF}from"./runtime-core.esm-bundler.
|
|
1
|
+
var ZU=Object.defineProperty,QU=Object.defineProperties;var eW=Object.getOwnPropertyDescriptors;var _L=Object.getOwnPropertySymbols;var tW=Object.prototype.hasOwnProperty,nW=Object.prototype.propertyIsEnumerable;var BL=(le,Xe,tn)=>Xe in le?ZU(le,Xe,{enumerable:!0,configurable:!0,writable:!0,value:tn}):le[Xe]=tn,BO=(le,Xe)=>{for(var tn in Xe||(Xe={}))tW.call(Xe,tn)&&BL(le,tn,Xe[tn]);if(_L)for(var tn of _L(Xe))nW.call(Xe,tn)&&BL(le,tn,Xe[tn]);return le},NB=(le,Xe)=>QU(le,eW(Xe));import{f as IO,d as FL,I as LL,r as Os,j as rW,N as aW,b0 as oW,b1 as iW,D as ML,c as xT,a as Ys,n as uW,o as id,q as Yb,e as oo,v as PL,t as Js,u as MO,w as _u,B as PO,g as go,p as $L,b as IB,F as UF}from"./runtime-core.esm-bundler.e6808e6c.js";import{v as LB,w as NO,x as zB,y as sW,_ as cW,a as lW,z as fW}from"./index.876852bd.entry.js";import{useI18n as vW}from"./vue-i18n.540626ab.entry.js";import{e as TT}from"./use-sync.a493fd37.js";import"./pinia.10afb35e.entry.js";import"./vue.runtime.esm-bundler.f4ce1cef.js";import"./vue-router.3ef5d657.entry.js";var dW=["onActivate","onAddUndo","onBeforeAddUndo","onBeforeExecCommand","onBeforeGetContent","onBeforeRenderUI","onBeforeSetContent","onBeforePaste","onBlur","onChange","onClearUndos","onClick","onContextMenu","onCopy","onCut","onDblclick","onDeactivate","onDirty","onDrag","onDragDrop","onDragEnd","onDragGesture","onDragOver","onDrop","onExecCommand","onFocus","onFocusIn","onFocusOut","onGetContent","onHide","onInit","onKeyDown","onKeyPress","onKeyUp","onLoadContent","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onNodeChange","onObjectResizeStart","onObjectResized","onObjectSelected","onPaste","onPostProcess","onPostRender","onPreProcess","onProgressState","onRedo","onRemove","onReset","onSaveContent","onSelectionChange","onSetAttrib","onSetContent","onShow","onSubmit","onUndo","onVisualAid"],mW=function(le){return dW.map(function(Xe){return Xe.toLowerCase()}).indexOf(le.toLowerCase())!==-1},gW=function(le,Xe,tn){Object.keys(Xe).filter(mW).forEach(function(Yt){var vt=Xe[Yt];typeof vt=="function"&&(Yt==="onInit"?vt(le,tn):tn.on(Yt.substring(2),function(Xt){return vt(Xt,tn)}))})},hW=function(le,Xe,tn,Yt){var vt=le.modelEvents?le.modelEvents:null,Xt=Array.isArray(vt)?vt.join(" "):vt;IO(Yt,function(dn,Pn){tn&&typeof dn=="string"&&dn!==Pn&&dn!==tn.getContent({format:le.outputFormat})&&tn.setContent(dn)}),tn.on(Xt||"change input undo redo",function(){Xe.emit("update:modelValue",tn.getContent({format:le.outputFormat}))})},pW=function(le,Xe,tn,Yt,vt,Xt){Yt.setContent(Xt()),tn.attrs["onUpdate:modelValue"]&&hW(Xe,tn,Yt,vt),gW(le,tn.attrs,Yt)},NL=0,HL=function(le){var Xe=Date.now(),tn=Math.floor(Math.random()*1e9);return NL++,le+"_"+tn+NL+String(Xe)},bW=function(le){return le!==null&&le.tagName.toLowerCase()==="textarea"},IL=function(le){return typeof le=="undefined"||le===""?[]:Array.isArray(le)?le:le.split(" ")},yW=function(le,Xe){return IL(le).concat(IL(Xe))},wW=function(le){return le==null},zL=function(){return{listeners:[],scriptId:HL("tiny-script"),scriptLoaded:!1}},CW=function(){var le=zL(),Xe=function(vt,Xt,dn,Pn){var Rn=Xt.createElement("script");Rn.referrerPolicy="origin",Rn.type="application/javascript",Rn.id=vt,Rn.src=dn;var Ar=function(){Rn.removeEventListener("load",Ar),Pn()};Rn.addEventListener("load",Ar),Xt.head&&Xt.head.appendChild(Rn)},tn=function(vt,Xt,dn){le.scriptLoaded?dn():(le.listeners.push(dn),vt.getElementById(le.scriptId)||Xe(le.scriptId,vt,Xt,function(){le.listeners.forEach(function(Pn){return Pn()}),le.scriptLoaded=!0}))},Yt=function(){le=zL()};return{load:tn,reinitialize:Yt}},SW=CW(),xW=function(){return typeof window!="undefined"?window:global},$O=function(){var le=xW();return le&&le.tinymce?le.tinymce:null},TW={apiKey:String,cloudChannel:String,id:String,init:Object,initialValue:String,inline:Boolean,modelEvents:[String,Array],plugins:[String,Array],tagName:String,toolbar:[String,Array],modelValue:String,disabled:Boolean,tinymceScriptSrc:String,outputFormat:{type:String,validator:function(le){return le==="html"||le==="text"}}},FB=globalThis&&globalThis.__assign||function(){return FB=Object.assign||function(le){for(var Xe,tn=1,Yt=arguments.length;tn<Yt;tn++){Xe=arguments[tn];for(var vt in Xe)Object.prototype.hasOwnProperty.call(Xe,vt)&&(le[vt]=Xe[vt])}return le},FB.apply(this,arguments)},kW=function(le,Xe,tn,Yt){return le(Yt||"div",{id:Xe,ref:tn})},EW=function(le,Xe,tn){return le("textarea",{id:Xe,visibility:"hidden",ref:tn})},OW=FL({props:TW,setup:function(le,Xe){var tn=LL(le),Yt=tn.disabled,vt=tn.modelValue,Xt=Os(null),dn=null,Pn=le.id||HL("tiny-vue"),Rn=le.init&&le.init.inline||le.inline,Ar=!!Xe.attrs["onUpdate:modelValue"],_n=!0,He=le.initialValue?le.initialValue:"",zt="",pn=function(de){return Ar?function(){return vt!=null&&vt.value?vt.value:""}:function(){return de?He:zt}},We=function(){var de=pn(_n),St=FB(FB({},le.init),{readonly:le.disabled,selector:"#"+Pn,plugins:yW(le.init&&le.init.plugins,le.plugins),toolbar:le.toolbar||le.init&&le.init.toolbar,inline:Rn,setup:function(Fe){dn=Fe,Fe.on("init",function(sn){return pW(sn,le,Xe,Fe,vt,de)}),le.init&&typeof le.init.setup=="function"&&le.init.setup(Fe)}});bW(Xt.value)&&(Xt.value.style.visibility=""),$O().init(St),_n=!1};return IO(Yt,function(de){dn!==null&&dn.setMode(de?"readonly":"design")}),rW(function(){if($O()!==null)We();else if(Xt.value&&Xt.value.ownerDocument){var de=le.cloudChannel?le.cloudChannel:"5",St=le.apiKey?le.apiKey:"no-api-key",Fe=wW(le.tinymceScriptSrc)?"https://cdn.tiny.cloud/1/"+St+"/tinymce/"+de+"/tinymce.min.js":le.tinymceScriptSrc;SW.load(Xt.value.ownerDocument,Fe,We)}}),aW(function(){$O()!==null&&$O().remove(dn)}),Rn||(oW(function(){_n||We()}),iW(function(){var de;Ar||(zt=dn.getContent()),(de=$O())===null||de===void 0||de.remove(dn)})),function(){return Rn?kW(ML,Pn,Xt,le.tagName):EW(ML,Pn,Xt)}}}),AW="assets/FiraMono-Medium.33e88fa9.woff2",DW="assets/FiraMono-Medium.f2ff9941.woff",RW="assets/merriweather-regular.2661709b.woff2",_W="assets/merriweather-regular.ff8db8bc.woff";function Bu(le){return getComputedStyle(document.body).getPropertyValue(le)}function BW(le){return`
|
|
2
2
|
@font-face {
|
|
3
3
|
font-family: 'Fira Mono';
|
|
4
4
|
font-style: normal;
|
|
@@ -164,7 +164,7 @@ figure figcaption {
|
|
|
164
164
|
display: block;
|
|
165
165
|
margin-top: 0.25rem;
|
|
166
166
|
text-align: center;
|
|
167
|
-
}`}function MW(le,Xe,tn){const Yt=Os(!1),vt=Os(null),Xt=Os();IO(()=>{var He;return(He=vt.value)==null?void 0:He.transformationKey},He=>{var zt,pn;Xt.value=tn.storageAssetPresets.value.find(We=>We.key===He),Xt.value&&(vt.value.width=(zt=Xt.value.width)!=null?zt:void 0,vt.value.height=(pn=Xt.value.height)!=null?pn:void 0)});const dn={icon:"image",tooltip:LB.global.t("wysiwyg_options.image"),onAction:He=>{var zt,pn,We;if(Yt.value=!0,He.isActive()){const de=le.value.selection.getNode(),St=de.getAttribute("src"),Fe=St?new URL(St).searchParams:void 0,sn=de.getAttribute("alt"),ee=Number((Fe==null?void 0:Fe.get("width"))||void 0)||void 0,ze=Number((Fe==null?void 0:Fe.get("height"))||void 0)||void 0,Ee=(Fe==null?void 0:Fe.get("key"))||void 0;if(St===null||sn===null)return;Ee&&(Xt.value=tn.storageAssetPresets.value.find($t=>$t.key===Ee)),vt.value={imageUrl:St,alt:sn,width:Xt.value?(zt=Xt.value.width)!=null?zt:void 0:ee,height:Xt.value?(pn=Xt.value.height)!=null?pn:void 0:ze,transformationKey:Ee,previewUrl:_n(St,(We=Xe.value)!=null?We:NO())}}else vt.value=null},onSetup:He=>{const zt=pn=>{He.setActive(pn.element.tagName==="IMG")};return le.value.on("NodeChange",zt),function(){le.value.off("NodeChange",zt)}}};return{imageDrawerOpen:Yt,imageSelection:vt,closeImageDrawer:Pn,onImageSelect:Rn,saveImage:Ar,imageButton:dn};function Pn(){vt.value=null,Yt.value=!1}function Rn(He){var pn;const zt=zB()+"assets/"+He.id;vt.value={imageUrl:_n(zt,Xe.value),alt:He.title,width:He.width,height:He.height,previewUrl:_n(zt,(pn=Xe.value)!=null?pn:NO())}}function Ar(){const He=vt.value;if(He===null)return;const zt={},pn=new URL(He.imageUrl);pn.searchParams.delete("width"),pn.searchParams.delete("height"),pn.searchParams.delete("key"),tn.storageAssetTransform.value==="all"?He.transformationKey?zt.key=He.transformationKey:(zt.width=He.width,zt.height=He.height):tn.storageAssetTransform.value==="presets"&&He.transformationKey&&(zt.key=He.transformationKey);const de=`<img src="${sW(pn.toString(),zt)}" alt="${He.alt}" />`;le.value.selection.setContent(de),le.value.undoManager.add(),Pn()}function _n(He,zt){if(!He.includes(zB()+"assets/"))return He;try{const pn=new URL(He),We=new URLSearchParams(pn.search);return zt?We.set("access_token",zt):We.delete("access_token"),Array.from(We).length>0?`${pn.origin}${pn.pathname}?${We.toString()}`:`${pn.origin}${pn.pathname}`}catch{return He}}}function PW(le){const Xe=Os(!1),tn={url:null,displayText:null,title:null,newTab:!0},Yt=Os(tn),vt=Os(null),Xt=Os(null),dn={icon:"link",tooltip:LB.global.t("wysiwyg_options.link"),onAction:()=>{if(le.value.plugins.fullscreen.isFullscreen()&&le.value.execCommand("mceFullScreen"),Xe.value=!0,vt.value){le.value.selection.select(Xt.value);const _n=vt.value.getAttribute("href"),He=vt.value.getAttribute("title"),zt=vt.value.innerText,pn=vt.value.getAttribute("target");if(_n===null||zt===null)return;Yt.value={url:_n,displayText:zt,title:He||null,newTab:pn==="_blank"}}else{const _n={displayText:le.value.selection.getContent()||null};Pn(_n)}},onSetup:_n=>{const He=zt=>{let pn=zt.element;for(Xt.value=zt.element,vt.value=null;pn&&pn.id!=="tinymce";){if(pn.tagName==="A"){vt.value=pn;break}pn=pn.parentElement}_n.setActive(!!vt.value)};return le.value.on("NodeChange",He),function(){le.value.off("NodeChange",He)}}};return{linkDrawerOpen:Xe,linkSelection:Yt,closeLinkDrawer:Rn,saveLink:Ar,linkButton:dn};function Pn(_n={}){Yt.value=Object.assign({},tn,_n)}function Rn(){Pn(),Xe.value=!1}function Ar(){const _n=Yt.value;if(_n.url===null)return;const He=`<a href="${_n.url}" title="${_n.title||""}" target="${_n.newTab?"_blank":"_self"}" >${_n.displayText||_n.url}</a>`;!vt.value||Xt.value===vt.value?le.value.selection.setContent(He):Xt.value&&(Xt.value.innerHTML=_n.displayText||_n.url,vt.value.setAttribute("data-mce-href",_n.url),vt.value.setAttribute("href",_n.url),vt.value.setAttribute("title",_n.title||""),vt.value.setAttribute("target",_n.newTab?"_blank":"_self"),le.value.selection.select(vt.value),le.value.selection.setNode(vt.value)),le.value.undoManager.add(),Rn()}}function $W(le,Xe){const tn=Os(!1),Yt=Os(null),vt=Os(["video","audio"]),Xt=Os(""),dn=Os(""),Pn={icon:"embed",tooltip:LB.global.t("wysiwyg_options.media"),onAction:de=>{if(tn.value=!0,de.isActive()){if(le.value.selection.getContent()===null)return;Xt.value=le.value.selection.getContent(),dn.value=Xt.value}else Yt.value=null},onSetup:de=>{const St=Fe=>{de.setActive(Fe.element.tagName==="SPAN"&&Fe.element.classList.contains("mce-preview-object"))};return le.value.on("NodeChange",St),function(){le.value.off("NodeChange",St)}}},Rn=xT({get(){var de;return(de=Yt.value)==null?void 0:de.sourceUrl},set(de){Yt.value=NB(BO({},Yt.value),{sourceUrl:de}),Yt.value.previewUrl=We(de,Xe.value||NO())}}),Ar=xT({get(){var de;return(de=Yt.value)==null?void 0:de.width},set(de){Yt.value!==null&&(Yt.value=NB(BO({},Yt.value),{width:de}))}}),_n=xT({get(){var de;return(de=Yt.value)==null?void 0:de.height},set(de){Yt.value!==null&&(Yt.value=NB(BO({},Yt.value),{height:de}))}});return IO(Yt,de=>{if(Xt.value===""){if(de===null)return;Xt.value=`<${de.tag} width="${de.width}" height="${de.height}" controls><source src="${de.sourceUrl}" type="${de.type}" /></${de.tag}>`}else Xt.value=Xt.value.replace(/src=".*?"/g,`src="${de==null?void 0:de.sourceUrl}"`).replace(/width=".*?"/g,`width="${de==null?void 0:de.width}"`).replace(/height=".*?"/g,`height="${de==null?void 0:de.height}"`).replace(/type=".*?"/g,`type="${de==null?void 0:de.type}"`).replaceAll(/<(video|audio|iframe)/g,`<${de==null?void 0:de.tag}`).replaceAll(/<\/(video|audio|iframe)/g,`</${de==null?void 0:de.tag}`)}),IO(Xt,de=>{var St,Fe,sn,ee,ze;if(de==="")Yt.value=null;else{const Ee=(St=/<(video|audio|iframe)/g.exec(de))==null?void 0:St[1],$t=((Fe=/src="(.*?)"/g.exec(de))==null?void 0:Fe[1])||void 0,qt=Number((sn=/width="(.*?)"/g.exec(de))==null?void 0:sn[1])||void 0,pt=Number((ee=/height="(.*?)"/g.exec(de))==null?void 0:ee[1])||void 0,Bt=((ze=/type="(.*?)"/g.exec(de))==null?void 0:ze[1])||void 0;if($t===void 0)return;const Le=We($t,Xe.value||NO());Yt.value={tag:Ee==="audio"?"audio":Ee==="iframe"?"iframe":"video",sourceUrl:$t,width:qt,height:pt,type:Bt,previewUrl:Le}}}),{mediaDrawerOpen:tn,mediaSelection:Yt,closeMediaDrawer:He,openMediaTab:vt,onMediaSelect:zt,embed:Xt,saveMedia:pn,startEmbed:dn,mediaHeight:_n,mediaWidth:Ar,mediaSource:Rn,mediaButton:Pn};function He(){Xt.value="",dn.value="",Yt.value=null,tn.value=!1,vt.value=["video"]}function zt(de){const St=zB()+"assets/"+de.id,Fe=de.type.startsWith("audio")?"audio":"video";Yt.value={sourceUrl:We(St,Xe.value),width:de.width||300,height:de.height||150,tag:Fe,type:de.type,previewUrl:We(St,Xe.value||NO())}}function pn(){if(Xt.value!==""){if(dn.value!==""){const de=le.value.getContent().replace(dn.value,Xt.value);le.value.setContent(de)}else le.value.selection.setContent(Xt.value);le.value.undoManager.add(),He()}}function We(de,St){if(!de.includes(zB()+"assets/"))return de;try{const Fe=new URL(de),sn=new URLSearchParams(Fe.search);return St?sn.set("access_token",St):sn.delete("access_token"),Array.from(sn).length>0?`${Fe.origin}${Fe.pathname}?${sn.toString()}`:`${Fe.origin}${Fe.pathname}`}catch{return de}}}function NW(le){const Xe=Os(!1),tn=Os(),Yt={icon:"sourcecode",tooltip:LB.global.t("wysiwyg_options.source_code"),onAction:()=>{Xe.value=!0,tn.value=le.value.getContent()}};return{codeDrawerOpen:Xe,code:tn,closeCodeDrawer:vt,saveCode:Xt,sourceCodeButton:Yt};function vt(){Xe.value=!1}function Xt(){le.value.setContent(tn.value),le.value.undoManager.add(),vt()}}var IW={exports:{}};(function(le){(function(){var Xe=function(e){if(e===null)return"null";if(e===void 0)return"undefined";var n=typeof e;return n==="object"&&(Array.prototype.isPrototypeOf(e)||e.constructor&&e.constructor.name==="Array")?"array":n==="object"&&(String.prototype.isPrototypeOf(e)||e.constructor&&e.constructor.name==="String")?"string":n},tn=function(e){return["undefined","boolean","number","string","function","xml","null"].indexOf(e)!==-1},Yt=function(e,n){var a=Array.prototype.slice.call(e);return a.sort(n)},vt=function(e,n){return Xt(function(a,i){return e.eq(n(a),n(i))})},Xt=function(e){return{eq:e}},dn=Xt(function(e,n){return e===n}),Pn=dn,Rn=function(e){return Xt(function(n,a){if(n.length!==a.length)return!1;for(var i=n.length,s=0;s<i;s++)if(!e.eq(n[s],a[s]))return!1;return!0})},Ar=function(e,n){return vt(Rn(e),function(a){return Yt(a,n)})},_n=function(e){return Xt(function(n,a){var i=Object.keys(n),s=Object.keys(a);if(!Ar(Pn).eq(i,s))return!1;for(var f=i.length,g=0;g<f;g++){var b=i[g];if(!e.eq(n[b],a[b]))return!1}return!0})},He=Xt(function(e,n){if(e===n)return!0;var a=Xe(e),i=Xe(n);return a!==i?!1:tn(a)?e===n:a==="array"?Rn(He).eq(e,n):a==="object"?_n(He).eq(e,n):!1}),zt=function(e){var n=typeof e;return e===null?"null":n==="object"&&(Array.prototype.isPrototypeOf(e)||e.constructor&&e.constructor.name==="Array")?"array":n==="object"&&(String.prototype.isPrototypeOf(e)||e.constructor&&e.constructor.name==="String")?"string":n},pn=function(e){return function(n){return zt(n)===e}},We=function(e){return function(n){return typeof n===e}},de=function(e){return function(n){return e===n}},St=pn("string"),Fe=pn("object"),sn=pn("array"),ee=de(null),ze=We("boolean"),Ee=de(void 0),$t=function(e){return e==null},qt=function(e){return!$t(e)},pt=We("function"),Bt=We("number"),Le=function(){},Fa=function(e,n){return function(){for(var a=[],i=0;i<arguments.length;i++)a[i]=arguments[i];return e(n.apply(null,a))}},ve=function(e,n){return function(a){return e(n(a))}},Y=function(e){return function(){return e}},On=function(e){return e},wa=function(e,n){return e===n};function Rt(e){for(var n=[],a=1;a<arguments.length;a++)n[a-1]=arguments[a];return function(){for(var i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];var f=n.concat(i);return e.apply(null,f)}}var Ca=function(e){return function(n){return!e(n)}},Ir=function(e){return function(){throw new Error(e)}},_=function(e){return e()},pa=function(e){e()},yt=Y(!1),Ht=Y(!0),io=function(){return ho},ho=function(){var e=function(i){return i()},n=On,a={fold:function(i,s){return i()},isSome:yt,isNone:Ht,getOr:n,getOrThunk:e,getOrDie:function(i){throw new Error(i||"error: getOrDie called on none.")},getOrNull:Y(null),getOrUndefined:Y(void 0),or:n,orThunk:e,map:io,each:Le,bind:io,exists:yt,forall:Ht,filter:function(){return io()},toArray:function(){return[]},toString:Y("none()")};return a}(),nr=function(e){var n=Y(e),a=function(){return s},i=function(f){return f(e)},s={fold:function(f,g){return g(e)},isSome:Ht,isNone:yt,getOr:n,getOrThunk:n,getOrDie:n,getOrNull:n,getOrUndefined:n,or:a,orThunk:a,map:function(f){return nr(f(e))},each:function(f){f(e)},bind:i,exists:i,forall:i,filter:function(f){return f(e)?s:ho},toArray:function(){return[e]},toString:function(){return"some("+e+")"}};return s},va=function(e){return e==null?ho:nr(e)},J={some:nr,none:io,from:va},Ja=Array.prototype.slice,dt=Array.prototype.indexOf,Nt=Array.prototype.push,po=function(e,n){return dt.call(e,n)},$n=function(e,n){var a=po(e,n);return a===-1?J.none():J.some(a)},cn=function(e,n){return po(e,n)>-1},Gn=function(e,n){for(var a=0,i=e.length;a<i;a++){var s=e[a];if(n(s,a))return!0}return!1},Kn=function(e,n){for(var a=e.length,i=new Array(a),s=0;s<a;s++){var f=e[s];i[s]=n(f,s)}return i},xt=function(e,n){for(var a=0,i=e.length;a<i;a++){var s=e[a];n(s,a)}},hr=function(e,n){for(var a=e.length-1;a>=0;a--){var i=e[a];n(i,a)}},La=function(e,n){for(var a=[],i=[],s=0,f=e.length;s<f;s++){var g=e[s],b=n(g,s)?a:i;b.push(g)}return{pass:a,fail:i}},bn=function(e,n){for(var a=[],i=0,s=e.length;i<s;i++){var f=e[i];n(f,i)&&a.push(f)}return a},Kr=function(e,n,a){return hr(e,function(i,s){a=n(a,i,s)}),a},Qr=function(e,n,a){return xt(e,function(i,s){a=n(a,i,s)}),a},An=function(e,n,a){for(var i=0,s=e.length;i<s;i++){var f=e[i];if(n(f,i))return J.some(f);if(a(f,i))break}return J.none()},da=function(e,n){return An(e,n,yt)},Fo=function(e,n){for(var a=0,i=e.length;a<i;a++){var s=e[a];if(n(s,a))return J.some(a)}return J.none()},bi=function(e){for(var n=[],a=0,i=e.length;a<i;++a){if(!sn(e[a]))throw new Error("Arr.flatten item "+a+" was not an array, input: "+e);Nt.apply(n,e[a])}return n},oi=function(e,n){return bi(Kn(e,n))},Xo=function(e,n){for(var a=0,i=e.length;a<i;++a){var s=e[a];if(n(s,a)!==!0)return!1}return!0},eo=function(e){var n=Ja.call(e,0);return n.reverse(),n},yi=function(e,n){return bn(e,function(a){return!cn(n,a)})},bo=function(e,n){for(var a={},i=0,s=e.length;i<s;i++){var f=e[i];a[String(f)]=n(f,i)}return a},ta=function(e,n){var a=Ja.call(e,0);return a.sort(n),a},Yr=function(e,n){return n>=0&&n<e.length?J.some(e[n]):J.none()},Ha=function(e){return Yr(e,0)},ea=function(e){return Yr(e,e.length-1)},Rr=pt(Array.from)?Array.from:function(e){return Ja.call(e)},Pe=function(e,n){for(var a=0;a<e.length;a++){var i=n(e[a],a);if(i.isSome())return i}return J.none()},Ut=Object.keys,ln=Object.hasOwnProperty,Gt=function(e,n){for(var a=Ut(e),i=0,s=a.length;i<s;i++){var f=a[i],g=e[f];n(g,f)}},xr=function(e,n){return _r(e,function(a,i){return{k:i,v:n(a,i)}})},_r=function(e,n){var a={};return Gt(e,function(i,s){var f=n(i,s);a[f.k]=f.v}),a},Da=function(e){return function(n,a){e[a]=n}},yn=function(e,n,a,i){var s={};return Gt(e,function(f,g){(n(f,g)?a:i)(f,g)}),s},Tr=function(e,n){var a={},i={};return yn(e,n,Da(a),Da(i)),{t:a,f:i}},ma=function(e,n){var a={};return yn(e,n,Da(a),Le),a},ko=function(e,n){var a=[];return Gt(e,function(i,s){a.push(n(i,s))}),a},Fi=function(e){return ko(e,On)},Br=function(e,n){return ur(e,n)?J.from(e[n]):J.none()},ur=function(e,n){return ln.call(e,n)},yo=function(e,n){return ur(e,n)&&e[n]!==void 0&&e[n]!==null},ii=function(e,n,a){return a===void 0&&(a=He),_n(a).eq(e,n)},Bo=Array.isArray,wo=function(e){if(Bo(e))return e;for(var n=[],a=0,i=e.length;a<i;a++)n[a]=e[a];return n},Lo=function(e,n,a){var i,s;if(!e)return!1;if(a=a||e,e.length!==void 0){for(i=0,s=e.length;i<s;i++)if(n.call(a,e[i],i,e)===!1)return!1}else for(i in e)if(ur(e,i)&&n.call(a,e[i],i,e)===!1)return!1;return!0},Li=function(e,n){var a=[];return Lo(e,function(i,s){a.push(n(i,s,e))}),a},ui=function(e,n){var a=[];return Lo(e,function(i,s){(!n||n(i,s,e))&&a.push(i)}),a},Mo=function(e,n){if(e){for(var a=0,i=e.length;a<i;a++)if(e[a]===n)return a}return-1},Hi=function(e,n,a,i){for(var s=Ee(a)?e[0]:a,f=0;f<e.length;f++)s=n.call(i,s,e[f],f);return s},Mr=function(e,n,a){var i,s;for(i=0,s=e.length;i<s;i++)if(n.call(a,e[i],i,e))return i;return-1},si=function(e){return e[e.length-1]},Sn=function(){return Sn=Object.assign||function(n){for(var a,i=1,s=arguments.length;i<s;i++){a=arguments[i];for(var f in a)Object.prototype.hasOwnProperty.call(a,f)&&(n[f]=a[f])}return n},Sn.apply(this,arguments)};function Uu(e,n){var a={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&n.indexOf(i)<0&&(a[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,i=Object.getOwnPropertySymbols(e);s<i.length;s++)n.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(e,i[s])&&(a[i[s]]=e[i[s]]);return a}function Ho(e,n,a){if(a||arguments.length===2)for(var i=0,s=n.length,f;i<s;i++)(f||!(i in n))&&(f||(f=Array.prototype.slice.call(n,0,i)),f[i]=n[i]);return e.concat(f||Array.prototype.slice.call(n))}var _i=function(e){var n=!1,a;return function(){for(var i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];return n||(n=!0,a=e.apply(null,i)),a}},Vo=function(e,n,a,i){var s=e.isiOS()&&/ipad/i.test(a)===!0,f=e.isiOS()&&!s,g=e.isiOS()||e.isAndroid(),b=g||i("(pointer:coarse)"),C=s||!f&&g&&i("(min-device-width:768px)"),A=f||g&&!C,N=n.isSafari()&&e.isiOS()&&/safari/i.test(a)===!1,z=!A&&!C&&!N;return{isiPad:Y(s),isiPhone:Y(f),isTablet:Y(C),isPhone:Y(A),isTouch:Y(b),isAndroid:e.isAndroid,isiOS:e.isiOS,isWebView:Y(N),isDesktop:Y(z)}},Bi=function(e,n){for(var a=0;a<e.length;a++){var i=e[a];if(i.test(n))return i}},Mu=function(e,n){var a=Bi(e,n);if(!a)return{major:0,minor:0};var i=function(s){return Number(n.replace(a,"$"+s))};return te(i(1),i(2))},ci=function(e,n){var a=String(n).toLowerCase();return e.length===0?Wu():Mu(e,a)},Wu=function(){return te(0,0)},te=function(e,n){return{major:e,minor:n}},we={nu:te,detect:ci,unknown:Wu},ie=function(e,n){return Pe(n.brands,function(a){var i=a.brand.toLowerCase();return da(e,function(s){var f;return i===((f=s.brand)===null||f===void 0?void 0:f.toLowerCase())}).map(function(s){return{current:s.name,version:we.nu(parseInt(a.version,10),0)}})})},_e=function(e,n){var a=String(n).toLowerCase();return da(e,function(i){return i.search(a)})},At=function(e,n){return _e(e,n).map(function(a){var i=we.detect(a.versionRegexes,n);return{current:a.name,version:i}})},Jt=function(e,n){return _e(e,n).map(function(a){var i=we.detect(a.versionRegexes,n);return{current:a.name,version:i}})},Fn=function(e,n){return e.substring(n)},Un=function(e,n,a){return n===""||e.length>=n.length&&e.substr(a,a+n.length)===n},Dr=function(e,n){return wr(e,n)?Fn(e,n.length):e},zr=function(e,n){return e.indexOf(n)!==-1},wr=function(e,n){return Un(e,n,0)},xa=function(e){return function(n){return n.replace(e,"")}},Ta=xa(/^\s+|\s+$/g),Vi=xa(/^\s+/g),uo=xa(/\s+$/g),Yo=function(e){return e.length>0},au=function(e){return!Yo(e)},ka=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,Ra=function(e){return function(n){return zr(n,e)}},st=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:function(e){return zr(e,"edge/")&&zr(e,"chrome")&&zr(e,"safari")&&zr(e,"applewebkit")}},{name:"Chrome",brand:"Chromium",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,ka],search:function(e){return zr(e,"chrome")&&!zr(e,"chromeframe")}},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:function(e){return zr(e,"msie")||zr(e,"trident")}},{name:"Opera",versionRegexes:[ka,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:Ra("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:Ra("firefox")},{name:"Safari",versionRegexes:[ka,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:function(e){return(zr(e,"safari")||zr(e,"mobile/"))&&zr(e,"applewebkit")}}],Ka=[{name:"Windows",search:Ra("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:function(e){return zr(e,"iphone")||zr(e,"ipad")},versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:Ra("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"OSX",search:Ra("mac os x"),versionRegexes:[/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:Ra("linux"),versionRegexes:[]},{name:"Solaris",search:Ra("sunos"),versionRegexes:[]},{name:"FreeBSD",search:Ra("freebsd"),versionRegexes:[]},{name:"ChromeOS",search:Ra("cros"),versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/]}],Ui={browsers:Y(st),oses:Y(Ka)},ju="Edge",qu="Chrome",Cr="IE",fs="Opera",Wi="Firefox",Va="Safari",Gu=function(){return Jo({current:void 0,version:we.unknown()})},Jo=function(e){var n=e.current,a=e.version,i=function(s){return function(){return n===s}};return{current:n,version:a,isEdge:i(ju),isChrome:i(qu),isIE:i(Cr),isOpera:i(fs),isFirefox:i(Wi),isSafari:i(Va)}},li={unknown:Gu,nu:Jo,edge:Y(ju),chrome:Y(qu),ie:Y(Cr),opera:Y(fs),firefox:Y(Wi),safari:Y(Va)},la="Windows",Ku="iOS",q="Android",me="Linux",De="OSX",Ye="Solaris",Mt="FreeBSD",Qt="ChromeOS",hn=function(){return lr({current:void 0,version:we.unknown()})},lr=function(e){var n=e.current,a=e.version,i=function(s){return function(){return n===s}};return{current:n,version:a,isWindows:i(la),isiOS:i(Ku),isAndroid:i(q),isOSX:i(De),isLinux:i(me),isSolaris:i(Ye),isFreeBSD:i(Mt),isChromeOS:i(Qt)}},V={unknown:hn,nu:lr,windows:Y(la),ios:Y(Ku),android:Y(q),linux:Y(me),osx:Y(De),solaris:Y(Ye),freebsd:Y(Mt),chromeos:Y(Qt)},fe=function(e,n,a){var i=Ui.browsers(),s=Ui.oses(),f=n.bind(function(C){return ie(i,C)}).orThunk(function(){return At(i,e)}).fold(li.unknown,li.nu),g=Jt(s,e).fold(V.unknown,V.nu),b=Vo(g,f,e,a);return{browser:f,os:g,deviceType:b}},Te={detect:fe},Me=function(e){return window.matchMedia(e).matches},Qe=_i(function(){return Te.detect(navigator.userAgent,J.from(navigator.userAgentData),Me)}),Wt=function(){return Qe()},wn=navigator.userAgent,Pr=Wt(),rr=Pr.browser,na=Pr.os,Sa=Pr.deviceType,bu=/WebKit/.test(wn)&&!rr.isEdge(),Co="FormData"in window&&"FileReader"in window&&"URL"in window&&!!URL.createObjectURL,Cn=wn.indexOf("Windows Phone")!==-1,wt={opera:rr.isOpera(),webkit:bu,ie:rr.isIE()||rr.isEdge()?rr.version.major:!1,gecko:rr.isFirefox(),mac:na.isOSX()||na.isiOS(),iOS:Sa.isiPad()||Sa.isiPhone(),android:na.isAndroid(),contentEditable:!0,transparentSrc:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",caretAfter:!0,range:window.getSelection&&"Range"in window,documentMode:rr.isIE()?document.documentMode||7:10,fileApi:Co,ceFalse:!0,cacheSuffix:null,container:null,experimentalShadowDom:!1,canHaveCSP:!rr.isIE(),desktop:Sa.isDesktop(),windowsPhone:Cn,browser:{current:rr.current,version:rr.version,isChrome:rr.isChrome,isEdge:rr.isEdge,isFirefox:rr.isFirefox,isIE:rr.isIE,isOpera:rr.isOpera,isSafari:rr.isSafari},os:{current:na.current,version:na.version,isAndroid:na.isAndroid,isChromeOS:na.isChromeOS,isFreeBSD:na.isFreeBSD,isiOS:na.isiOS,isLinux:na.isLinux,isOSX:na.isOSX,isSolaris:na.isSolaris,isWindows:na.isWindows},deviceType:{isDesktop:Sa.isDesktop,isiPad:Sa.isiPad,isiPhone:Sa.isiPhone,isPhone:Sa.isPhone,isTablet:Sa.isTablet,isTouch:Sa.isTouch,isWebView:Sa.isWebView}},oa=/^\s*|\s*$/g,So=function(e){return e==null?"":(""+e).replace(oa,"")},Sr=function(e,n){return n?n==="array"&&Bo(e)?!0:typeof e===n:e!==void 0},As=function(e,n,a){var i;for(e=e||[],n=n||",",typeof e=="string"&&(e=e.split(n)),a=a||{},i=e.length;i--;)a[e[i]]={};return a},Xu=ur,vc=function(e,n,a){var i=this,s,f,g,b=0;e=/^((static) )?([\w.]+)(:([\w.]+))?/.exec(e);var C=e[3].match(/(^|\.)(\w+)$/i)[2],A=i.createNS(e[3].replace(/\.\w+$/,""),a);if(!A[C]){if(e[2]==="static"){A[C]=n,this.onCreate&&this.onCreate(e[2],e[3],A[C]);return}n[C]||(n[C]=function(){},b=1),A[C]=n[C],i.extend(A[C].prototype,n),e[5]&&(s=i.resolve(e[5]).prototype,f=e[5].match(/\.(\w+)$/i)[1],g=A[C],b?A[C]=function(){return s[f].apply(this,arguments)}:A[C]=function(){return this.parent=s[f],g.apply(this,arguments)},A[C].prototype[C]=A[C],i.each(s,function(N,z){A[C].prototype[z]=s[z]}),i.each(n,function(N,z){s[z]?A[C].prototype[z]=function(){return this.parent=s[z],N.apply(this,arguments)}:z!==C&&(A[C].prototype[z]=N)})),i.each(n.static,function(N,z){A[C][z]=N})}},Vr=function(e){for(var n=[],a=1;a<arguments.length;a++)n[a-1]=arguments[a];for(var i=0;i<n.length;i++){var s=n[i];for(var f in s)if(ur(s,f)){var g=s[f];g!==void 0&&(e[f]=g)}}return e},wi=function(e,n,a,i){i=i||this,e&&(a&&(e=e[a]),Lo(e,function(s,f){if(n.call(i,s,f,a)===!1)return!1;wi(s,n,a,i)}))},dc=function(e,n){var a,i;for(n=n||window,e=e.split("."),a=0;a<e.length;a++)i=e[a],n[i]||(n[i]={}),n=n[i];return n},yu=function(e,n){var a,i;for(n=n||window,e=e.split("."),a=0,i=e.length;a<i&&(n=n[e[a]],!!n);a++);return n},to=function(e,n){return!e||Sr(e,"array")?e:Li(e.split(n||","),So)},Ds=function(e){var n=wt.cacheSuffix;return n&&(e+=(e.indexOf("?")===-1?"?":"&")+n),e},je={trim:So,isArray:Bo,is:Sr,toArray:wo,makeMap:As,each:Lo,map:Li,grep:ui,inArray:Mo,hasOwn:Xu,extend:Vr,create:vc,walk:wi,createNS:dc,resolve:yu,explode:to,_addCacheSuffix:Ds},Zs=function(e,n){var a=n||document,i=a.createElement("div");if(i.innerHTML=e,!i.hasChildNodes()||i.childNodes.length>1)throw console.error("HTML does not have a single root node",e),new Error("HTML must have a single root node");return vs(i.childNodes[0])},no=function(e,n){var a=n||document,i=a.createElement(e);return vs(i)},ll=function(e,n){var a=n||document,i=a.createTextNode(e);return vs(i)},vs=function(e){if(e==null)throw new Error("Node cannot be null or undefined");return{dom:e}},M=function(e,n,a){return J.from(e.dom.elementFromPoint(n,a)).map(vs)},T={fromHtml:Zs,fromTag:no,fromText:ll,fromDom:vs,fromPoint:M},w=function(e,n){var a=[],i=function(f){return a.push(f),n(f)},s=n(e);do s=s.bind(i);while(s.isSome());return a},D=function(e,n,a){return(e.compareDocumentPosition(n)&a)!==0},L=function(e,n){return D(e,n,Node.DOCUMENT_POSITION_CONTAINED_BY)},Q=8,ke=9,tt=11,mn=1,Bn=3,Dt=function(e,n){var a=e.dom;if(a.nodeType!==mn)return!1;var i=a;if(i.matches!==void 0)return i.matches(n);if(i.msMatchesSelector!==void 0)return i.msMatchesSelector(n);if(i.webkitMatchesSelector!==void 0)return i.webkitMatchesSelector(n);if(i.mozMatchesSelector!==void 0)return i.mozMatchesSelector(n);throw new Error("Browser lacks native selectors")},fn=function(e){return e.nodeType!==mn&&e.nodeType!==ke&&e.nodeType!==tt||e.childElementCount===0},ar=function(e,n){var a=n===void 0?document:n.dom;return fn(a)?[]:Kn(a.querySelectorAll(e),T.fromDom)},tr=function(e,n){var a=n===void 0?document:n.dom;return fn(a)?J.none():J.from(a.querySelector(e)).map(T.fromDom)},jn=function(e,n){return e.dom===n.dom},Pa=function(e,n){var a=e.dom,i=n.dom;return a===i?!1:a.contains(i)},Ln=function(e,n){return L(e.dom,n.dom)},ga=function(e,n){return Wt().browser.isIE()?Ln(e,n):Pa(e,n)};typeof window!="undefined"||Function("return this;")();var ia=function(e){var n=e.dom.nodeName;return n.toLowerCase()},Ci=function(e){return e.dom.nodeType},fr=function(e){return function(n){return Ci(n)===e}},Rs=function(e){return Ci(e)===Q||ia(e)==="#comment"},ro=fr(mn),xo=fr(Bn),Ep=fr(ke),ji=fr(tt),Ig=function(e){return function(n){return ro(n)&&ia(n)===e}},Nc=function(e){return T.fromDom(e.dom.ownerDocument)},Yn=function(e){return Ep(e)?e:Nc(e)},_s=function(e){return T.fromDom(Yn(e).dom.documentElement)},Eo=function(e){return T.fromDom(Yn(e).dom.defaultView)},Oo=function(e){return J.from(e.dom.parentNode).map(T.fromDom)},Si=function(e,n){for(var a=pt(n)?n:yt,i=e.dom,s=[];i.parentNode!==null&&i.parentNode!==void 0;){var f=i.parentNode,g=T.fromDom(f);if(s.push(g),a(g)===!0)break;i=f}return s},Zo=function(e){var n=function(a){return bn(a,function(i){return!jn(e,i)})};return Oo(e).map(Pu).map(n).getOr([])},hf=function(e){return J.from(e.dom.previousSibling).map(T.fromDom)},Qs=function(e){return J.from(e.dom.nextSibling).map(T.fromDom)},ua=function(e){return eo(w(e,hf))},Xa=function(e){return w(e,Qs)},Pu=function(e){return Kn(e.dom.childNodes,T.fromDom)},fl=function(e,n){var a=e.dom.childNodes;return J.from(a[n]).map(T.fromDom)},fi=function(e){return fl(e,0)},Bs=function(e){return fl(e,e.dom.childNodes.length-1)},Op=function(e){return e.dom.childNodes.length},pf=function(e){var n=e.dom.head;if(n==null)throw new Error("Head is not available yet");return T.fromDom(n)},$a=function(e){return ji(e)&&qt(e.dom.host)},mc=pt(Element.prototype.attachShadow)&&pt(Node.prototype.getRootNode),Il=Y(mc),Yu=mc?function(e){return T.fromDom(e.dom.getRootNode())}:Yn,Po=function(e){return $a(e)?e:pf(Yn(e))},zl=function(e){var n=Yu(e);return $a(n)?J.some(n):J.none()},vl=function(e){return T.fromDom(e.dom.host)},wu=function(e){if(Il()&&qt(e.target)){var n=T.fromDom(e.target);if(ro(n)&&Ju(n)&&e.composed&&e.composedPath){var a=e.composedPath();if(a)return Ha(a)}}return J.from(e.target)},Ju=function(e){return qt(e.dom.shadowRoot)},ou=function(e,n){var a=Oo(e);a.each(function(i){i.dom.insertBefore(n.dom,e.dom)})},ov=function(e,n){var a=Qs(e);a.fold(function(){var i=Oo(e);i.each(function(s){xi(s,n)})},function(i){ou(i,n)})},gc=function(e,n){var a=fi(e);a.fold(function(){xi(e,n)},function(i){e.dom.insertBefore(n.dom,i.dom)})},xi=function(e,n){e.dom.appendChild(n.dom)},ud=function(e,n){ou(e,n),xi(n,e)},Ap=function(e,n){xt(n,function(a){ou(e,a)})},bf=function(e,n){xt(n,function(a){xi(e,a)})},yf=function(e){e.dom.textContent="",xt(Pu(e),function(n){$o(n)})},$o=function(e){var n=e.dom;n.parentNode!==null&&n.parentNode.removeChild(n)},wf=function(e){var n=Pu(e);n.length>0&&Ap(e,n),$o(e)},Cf=function(e){var n=xo(e)?e.dom.parentNode:e.dom;if(n==null||n.ownerDocument===null)return!1;var a=n.ownerDocument;return zl(T.fromDom(n)).fold(function(){return a.body.contains(n)},ve(Cf,vl))},Cu=function(e,n){var a=function(i,s){return Cu(e+i,n+s)};return{left:e,top:n,translate:a}},dl=Cu,Sf=function(e){var n=e.getBoundingClientRect();return dl(n.left,n.top)},ml=function(e,n){return e!==void 0?e:n!==void 0?n:0},so=function(e){var n=e.dom.ownerDocument,a=n.body,i=n.defaultView,s=n.documentElement;if(a===e.dom)return dl(a.offsetLeft,a.offsetTop);var f=ml(i==null?void 0:i.pageYOffset,s.scrollTop),g=ml(i==null?void 0:i.pageXOffset,s.scrollLeft),b=ml(s.clientTop,a.clientTop),C=ml(s.clientLeft,a.clientLeft);return ds(e).translate(g-C,f-b)},ds=function(e){var n=e.dom,a=n.ownerDocument,i=a.body;return i===n?dl(i.offsetLeft,i.offsetTop):Cf(e)?Sf(n):dl(0,0)},bm=function(e){var n=e!==void 0?e.dom:document,a=n.body.scrollLeft||n.documentElement.scrollLeft,i=n.body.scrollTop||n.documentElement.scrollTop;return dl(a,i)},Ms=function(e,n,a){var i=a!==void 0?a.dom:document,s=i.defaultView;s&&s.scrollTo(e,n)},ym=function(e,n){var a=Wt().browser.isSafari();a&&pt(e.dom.scrollIntoViewIfNeeded)?e.dom.scrollIntoViewIfNeeded(!1):e.dom.scrollIntoView(n)},Dp=function(e){var n=e===void 0?window:e;return Wt().browser.isFirefox()?J.none():J.from(n.visualViewport)},zg=function(e,n,a,i){return{x:e,y:n,width:a,height:i,right:e+a,bottom:n+i}},xf=function(e){var n=e===void 0?window:e,a=n.document,i=bm(T.fromDom(a));return Dp(n).fold(function(){var s=n.document.documentElement,f=s.clientWidth,g=s.clientHeight;return zg(i.left,i.top,f,g)},function(s){return zg(Math.max(s.pageLeft,i.left),Math.max(s.pageTop,i.top),s.width,s.height)})},Tf=function(e){return function(n){return!!n&&n.nodeType===e}},Fl=function(e){return!!e&&!Object.getPrototypeOf(e)},Qn=Tf(1),ec=function(e){var n=e.map(function(a){return a.toLowerCase()});return function(a){if(a&&a.nodeName){var i=a.nodeName.toLowerCase();return cn(n,i)}return!1}},Zu=function(e,n){var a=n.toLowerCase().split(" ");return function(i){if(Qn(i))for(var s=0;s<a.length;s++){var f=i.ownerDocument.defaultView.getComputedStyle(i,null),g=f?f.getPropertyValue(e):null;if(g===a[s])return!0}return!1}},Su=function(e){return function(n){return Qn(n)&&n.hasAttribute(e)}},tc=function(e,n){return function(a){return Qn(a)&&a.getAttribute(e)===n}},Uo=function(e){return Qn(e)&&e.hasAttribute("data-mce-bogus")},Ti=function(e){return Qn(e)&&e.getAttribute("data-mce-bogus")==="all"},Qo=function(e){return Qn(e)&&e.tagName==="TABLE"},Ll=function(e){return function(n){return!!(Qn(n)&&(n.contentEditable===e||n.getAttribute("data-mce-contenteditable")===e))}},iu=ec(["textarea","input"]),an=Tf(3),kf=Tf(8),Fg=Tf(9),mr=Tf(11),Na=ec(["br"]),wm=ec(["img"]),Ic=Ll("true"),ao=Ll("false"),Cm=ec(["td","th"]),ms=ec(["video","audio","object","embed"]),sd=function(e,n,a){return a===void 0&&(a=wa),e.exists(function(i){return a(i,n)})},pr=function(e){for(var n=[],a=function(s){n.push(s)},i=0;i<e.length;i++)e[i].each(a);return n},$u=function(e,n,a){return e.isSome()&&n.isSome()?J.some(a(e.getOrDie(),n.getOrDie())):J.none()},Jb=function(e,n,a,i){return e.isSome()&&n.isSome()&&a.isSome()?J.some(i(e.getOrDie(),n.getOrDie(),a.getOrDie())):J.none()},Zb=function(e,n){return e?J.some(n):J.none()},co=function(e){return e.style!==void 0&&pt(e.style.getPropertyValue)},Sm=function(e,n,a){if(St(a)||ze(a)||Bt(a))e.setAttribute(n,a+"");else throw console.error("Invalid call to Attribute.set. Key ",n,":: Value ",a,":: Element ",e),new Error("Attribute value was not simple")},O=function(e,n,a){Sm(e.dom,n,a)},I=function(e,n){var a=e.dom;Gt(n,function(i,s){Sm(a,s,i)})},U=function(e,n){var a=e.dom.getAttribute(n);return a===null?void 0:a},oe=function(e,n){return J.from(U(e,n))},Oe=function(e,n){var a=e.dom;return a&&a.hasAttribute?a.hasAttribute(n):!1},Je=function(e,n){e.dom.removeAttribute(n)},Tn=function(e){return Qr(e.dom.attributes,function(n,a){return n[a.name]=a.value,n},{})},or=function(e,n,a){if(!St(a))throw console.error("Invalid call to CSS.set. Property ",n,":: Value ",a,":: Element ",e),new Error("CSS value must be a string: "+a);co(e)&&e.style.setProperty(n,a)},Fr=function(e,n){var a=e.dom;Gt(n,function(i,s){or(a,s,i)})},br=function(e,n){var a=e.dom,i=window.getComputedStyle(a),s=i.getPropertyValue(n);return s===""&&!Cf(e)?Ua(a,n):s},Ua=function(e,n){return co(e)?e.style.getPropertyValue(n):""},uu=function(e,n){var a=e.dom,i=Ua(a,n);return J.from(i).filter(function(s){return s.length>0})},Ao=function(e){var n={},a=e.dom;if(co(a))for(var i=0;i<a.style.length;i++){var s=a.style.item(i);n[s]=a.style[s]}return n},kT=function(e){return e.dom.offsetWidth},v2=Wt().browser,d2=function(e){return da(e,ro)},ET=function(e){return v2.isFirefox()&&ia(e)==="table"?d2(Pu(e)).filter(function(n){return ia(n)==="caption"}).bind(function(n){return d2(Xa(n)).map(function(a){var i=a.dom.offsetTop,s=n.dom.offsetTop,f=n.dom.offsetHeight;return i<=s?-f:0})}).getOr(0):0},gl=function(e,n){return e.children&&cn(e.children,n)},Lg=function(e,n,a){var i=0,s=0,f=e.ownerDocument;if(a=a||e,n){if(a===e&&n.getBoundingClientRect&&br(T.fromDom(e),"position")==="static"){var g=n.getBoundingClientRect();return i=g.left+(f.documentElement.scrollLeft||e.scrollLeft)-f.documentElement.clientLeft,s=g.top+(f.documentElement.scrollTop||e.scrollTop)-f.documentElement.clientTop,{x:i,y:s}}for(var b=n;b&&b!==a&&b.nodeType&&!gl(b,a);){var C=b;i+=C.offsetLeft||0,s+=C.offsetTop||0,b=C.offsetParent}for(b=n.parentNode;b&&b!==a&&b.nodeType&&!gl(b,a);)i-=b.scrollLeft||0,s-=b.scrollTop||0,b=b.parentNode;s+=ET(T.fromDom(n))}return{x:i,y:s}},gs={},xm={exports:gs};(function(e,n,a,i){(function(s,f){typeof n=="object"&&typeof a!="undefined"?a.exports=f():typeof e=="function"&&e.amd?e(f):(s=typeof globalThis!="undefined"?globalThis:s||self,s.EphoxContactWrapper=f())})(this,function(){var s=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof TT!="undefined"?TT:typeof self!="undefined"?self:{},f={exports:{}};(function(A){(function(N){var z=setTimeout;function F(){}function K(ge,Re){return function(){ge.apply(Re,arguments)}}function G(ge){if(typeof this!="object")throw new TypeError("Promises must be constructed via new");if(typeof ge!="function")throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],Ae(ge,this)}function Z(ge,Re){for(;ge._state===3;)ge=ge._value;if(ge._state===0){ge._deferreds.push(Re);return}ge._handled=!0,G._immediateFn(function(){var qe=ge._state===1?Re.onFulfilled:Re.onRejected;if(qe===null){(ge._state===1?re:ce)(Re.promise,ge._value);return}var gt;try{gt=qe(ge._value)}catch(zn){ce(Re.promise,zn);return}re(Re.promise,gt)})}function re(ge,Re){try{if(Re===ge)throw new TypeError("A promise cannot be resolved with itself.");if(Re&&(typeof Re=="object"||typeof Re=="function")){var qe=Re.then;if(Re instanceof G){ge._state=3,ge._value=Re,se(ge);return}else if(typeof qe=="function"){Ae(K(qe,Re),ge);return}}ge._state=1,ge._value=Re,se(ge)}catch(gt){ce(ge,gt)}}function ce(ge,Re){ge._state=2,ge._value=Re,se(ge)}function se(ge){ge._state===2&&ge._deferreds.length===0&&G._immediateFn(function(){ge._handled||G._unhandledRejectionFn(ge._value)});for(var Re=0,qe=ge._deferreds.length;Re<qe;Re++)Z(ge,ge._deferreds[Re]);ge._deferreds=null}function pe(ge,Re,qe){this.onFulfilled=typeof ge=="function"?ge:null,this.onRejected=typeof Re=="function"?Re:null,this.promise=qe}function Ae(ge,Re){var qe=!1;try{ge(function(gt){qe||(qe=!0,re(Re,gt))},function(gt){qe||(qe=!0,ce(Re,gt))})}catch(gt){if(qe)return;qe=!0,ce(Re,gt)}}G.prototype.catch=function(ge){return this.then(null,ge)},G.prototype.then=function(ge,Re){var qe=new this.constructor(F);return Z(this,new pe(ge,Re,qe)),qe},G.all=function(ge){var Re=Array.prototype.slice.call(ge);return new G(function(qe,gt){if(Re.length===0)return qe([]);var zn=Re.length;function Zt(Xn,Tt){try{if(Tt&&(typeof Tt=="object"||typeof Tt=="function")){var en=Tt.then;if(typeof en=="function"){en.call(Tt,function(Ct){Zt(Xn,Ct)},gt);return}}Re[Xn]=Tt,--zn===0&&qe(Re)}catch(Ct){gt(Ct)}}for(var mt=0;mt<Re.length;mt++)Zt(mt,Re[mt])})},G.resolve=function(ge){return ge&&typeof ge=="object"&&ge.constructor===G?ge:new G(function(Re){Re(ge)})},G.reject=function(ge){return new G(function(Re,qe){qe(ge)})},G.race=function(ge){return new G(function(Re,qe){for(var gt=0,zn=ge.length;gt<zn;gt++)ge[gt].then(Re,qe)})},G._immediateFn=typeof setImmediate=="function"?function(ge){setImmediate(ge)}:function(ge){z(ge,0)},G._unhandledRejectionFn=function(Re){typeof console!="undefined"&&console&&console.warn("Possible Unhandled Promise Rejection:",Re)},G._setImmediateFn=function(Re){G._immediateFn=Re},G._setUnhandledRejectionFn=function(Re){G._unhandledRejectionFn=Re},A.exports?A.exports=G:N.Promise||(N.Promise=G)})(s)})(f);var g=f.exports,b=function(){return typeof window!="undefined"?window:Function("return this;")()}(),C={boltExport:b.Promise||g};return C})})(void 0,gs,xm);var Qb=xm.exports.boltExport,Hg=function(e){var n=J.none(),a=[],i=function(A){return Hg(function(N){s(function(z){N(A(z))})})},s=function(A){g()?C(A):a.push(A)},f=function(A){g()||(n=J.some(A),b(a),a=[])},g=function(){return n.isSome()},b=function(A){xt(A,C)},C=function(A){n.each(function(N){setTimeout(function(){A(N)},0)})};return e(f),{get:s,map:i,isReady:g}},Rp=function(e){return Hg(function(n){n(e)})},m2={nu:Hg,pure:Rp},OT=function(e){setTimeout(function(){throw e},0)},hl=function(e){var n=function(C){e().then(C,OT)},a=function(C){return hl(function(){return e().then(C)})},i=function(C){return hl(function(){return e().then(function(A){return C(A).toPromise()})})},s=function(C){return hl(function(){return e().then(function(){return C.toPromise()})})},f=function(){return m2.nu(n)},g=function(){var C=null;return hl(function(){return C===null&&(C=e()),C})},b=e;return{map:a,bind:i,anonBind:s,toLazy:f,toCached:g,toPromise:b,get:n}},Vg=function(e){return hl(function(){return new Qb(e)})},AT=function(e){return hl(function(){return Qb.resolve(e)})},e0={nu:Vg,pure:AT},DT=function(e,n){return n(function(a){var i=[],s=0,f=function(g){return function(b){i[g]=b,s++,s>=e.length&&a(i)}};e.length===0?a([]):xt(e,function(g,b){g.get(f(b))})})},RT=function(e){return DT(e,e0.nu)},Tm=function(e){var n=function(z){return Tm(e)},a=function(z){return Tm(e)},i=function(z){return Tm(z(e))},s=function(z){return Tm(e)},f=function(z){z(e)},g=function(z){return z(e)},b=function(z,F){return F(e)},C=function(z){return z(e)},A=function(z){return z(e)},N=function(){return J.some(e)};return{isValue:Ht,isError:yt,getOr:Y(e),getOrThunk:Y(e),getOrDie:Y(e),or:n,orThunk:a,fold:b,map:i,mapError:s,each:f,bind:g,exists:C,forall:A,toOptional:N}},Ug=function(e){var n=function(A){return A()},a=function(){return Ir(String(e))()},i=On,s=function(A){return A()},f=function(A){return Ug(e)},g=function(A){return Ug(A(e))},b=function(A){return Ug(e)},C=function(A,N){return A(e)};return{isValue:yt,isError:Ht,getOr:On,getOrThunk:n,getOrDie:a,or:i,orThunk:s,fold:C,map:f,mapError:g,each:Le,bind:b,exists:yt,forall:Ht,toOptional:J.none}},g2=function(e,n){return e.fold(function(){return Ug(n)},Tm)},h2={value:Tm,error:Ug,fromOption:g2},Ps=function(e){if(!sn(e))throw new Error("cases must be an array");if(e.length===0)throw new Error("there must be at least one case");var n=[],a={};return xt(e,function(i,s){var f=Ut(i);if(f.length!==1)throw new Error("one and only one name per case");var g=f[0],b=i[g];if(a[g]!==void 0)throw new Error("duplicate key detected:"+g);if(g==="cata")throw new Error("cannot have a case named cata (sorry)");if(!sn(b))throw new Error("case arguments must be an array");n.push(g),a[g]=function(){for(var C=[],A=0;A<arguments.length;A++)C[A]=arguments[A];var N=C.length;if(N!==b.length)throw new Error("Wrong number of arguments to case "+g+". Expected "+b.length+" ("+b+"), got "+N);var z=function(F){var K=Ut(F);if(n.length!==K.length)throw new Error("Wrong number of arguments to match. Expected: "+n.join(",")+`
|
|
167
|
+
}`}function MW(le,Xe,tn){const Yt=Os(!1),vt=Os(null),Xt=Os();IO(()=>{var He;return(He=vt.value)==null?void 0:He.transformationKey},He=>{var zt,pn;Xt.value=tn.storageAssetPresets.value.find(We=>We.key===He),Xt.value&&(vt.value.width=(zt=Xt.value.width)!=null?zt:void 0,vt.value.height=(pn=Xt.value.height)!=null?pn:void 0)});const dn={icon:"image",tooltip:LB.global.t("wysiwyg_options.image"),onAction:He=>{var zt,pn,We;if(Yt.value=!0,He.isActive()){const de=le.value.selection.getNode(),St=de.getAttribute("src"),Fe=St?new URL(St).searchParams:void 0,sn=de.getAttribute("alt"),ee=Number((Fe==null?void 0:Fe.get("width"))||void 0)||void 0,ze=Number((Fe==null?void 0:Fe.get("height"))||void 0)||void 0,Ee=(Fe==null?void 0:Fe.get("key"))||void 0;if(St===null||sn===null)return;Ee&&(Xt.value=tn.storageAssetPresets.value.find($t=>$t.key===Ee)),vt.value={imageUrl:St,alt:sn,width:Xt.value?(zt=Xt.value.width)!=null?zt:void 0:ee,height:Xt.value?(pn=Xt.value.height)!=null?pn:void 0:ze,transformationKey:Ee,previewUrl:_n(St,(We=Xe.value)!=null?We:NO())}}else vt.value=null},onSetup:He=>{const zt=pn=>{He.setActive(pn.element.tagName==="IMG")};return le.value.on("NodeChange",zt),function(){le.value.off("NodeChange",zt)}}};return{imageDrawerOpen:Yt,imageSelection:vt,closeImageDrawer:Pn,onImageSelect:Rn,saveImage:Ar,imageButton:dn};function Pn(){vt.value=null,Yt.value=!1}function Rn(He){var pn;const zt=zB()+"assets/"+He.id;vt.value={imageUrl:_n(zt,Xe.value),alt:He.title,width:He.width,height:He.height,previewUrl:_n(zt,(pn=Xe.value)!=null?pn:NO())}}function Ar(){le.value.fire("focus");const He=vt.value;if(He===null)return;const zt={},pn=new URL(He.imageUrl);pn.searchParams.delete("width"),pn.searchParams.delete("height"),pn.searchParams.delete("key"),tn.storageAssetTransform.value==="all"?He.transformationKey?zt.key=He.transformationKey:(zt.width=He.width,zt.height=He.height):tn.storageAssetTransform.value==="presets"&&He.transformationKey&&(zt.key=He.transformationKey);const de=`<img src="${sW(pn.toString(),zt)}" alt="${He.alt}" />`;le.value.selection.setContent(de),le.value.undoManager.add(),Pn()}function _n(He,zt){if(!He.includes(zB()+"assets/"))return He;try{const pn=new URL(He),We=new URLSearchParams(pn.search);return zt?We.set("access_token",zt):We.delete("access_token"),Array.from(We).length>0?`${pn.origin}${pn.pathname}?${We.toString()}`:`${pn.origin}${pn.pathname}`}catch{return He}}}function PW(le){const Xe=Os(!1),tn={url:null,displayText:null,title:null,newTab:!0},Yt=Os(tn),vt=Os(null),Xt=Os(null),dn={icon:"link",tooltip:LB.global.t("wysiwyg_options.link"),onAction:()=>{if(le.value.plugins.fullscreen.isFullscreen()&&le.value.execCommand("mceFullScreen"),Xe.value=!0,vt.value){le.value.selection.select(Xt.value);const _n=vt.value.getAttribute("href"),He=vt.value.getAttribute("title"),zt=vt.value.innerText,pn=vt.value.getAttribute("target");if(_n===null||zt===null)return;Yt.value={url:_n,displayText:zt,title:He||null,newTab:pn==="_blank"}}else{const _n={displayText:le.value.selection.getContent()||null};Pn(_n)}},onSetup:_n=>{const He=zt=>{let pn=zt.element;for(Xt.value=zt.element,vt.value=null;pn&&pn.id!=="tinymce";){if(pn.tagName==="A"){vt.value=pn;break}pn=pn.parentElement}_n.setActive(!!vt.value)};return le.value.on("NodeChange",He),function(){le.value.off("NodeChange",He)}}};return{linkDrawerOpen:Xe,linkSelection:Yt,closeLinkDrawer:Rn,saveLink:Ar,linkButton:dn};function Pn(_n={}){Yt.value=Object.assign({},tn,_n)}function Rn(){Pn(),Xe.value=!1}function Ar(){le.value.fire("focus");const _n=Yt.value;if(_n.url===null)return;const He=`<a href="${_n.url}" title="${_n.title||""}" target="${_n.newTab?"_blank":"_self"}" >${_n.displayText||_n.url}</a>`;!vt.value||Xt.value===vt.value?le.value.selection.setContent(He):Xt.value&&(Xt.value.innerHTML=_n.displayText||_n.url,vt.value.setAttribute("data-mce-href",_n.url),vt.value.setAttribute("href",_n.url),vt.value.setAttribute("title",_n.title||""),vt.value.setAttribute("target",_n.newTab?"_blank":"_self"),le.value.selection.select(vt.value),le.value.selection.setNode(vt.value)),le.value.undoManager.add(),Rn()}}function $W(le,Xe){const tn=Os(!1),Yt=Os(null),vt=Os(["video","audio"]),Xt=Os(""),dn=Os(""),Pn={icon:"embed",tooltip:LB.global.t("wysiwyg_options.media"),onAction:de=>{if(tn.value=!0,de.isActive()){if(le.value.selection.getContent()===null)return;Xt.value=le.value.selection.getContent(),dn.value=Xt.value}else Yt.value=null},onSetup:de=>{const St=Fe=>{de.setActive(Fe.element.tagName==="SPAN"&&Fe.element.classList.contains("mce-preview-object"))};return le.value.on("NodeChange",St),function(){le.value.off("NodeChange",St)}}},Rn=xT({get(){var de;return(de=Yt.value)==null?void 0:de.sourceUrl},set(de){Yt.value=NB(BO({},Yt.value),{sourceUrl:de}),Yt.value.previewUrl=We(de,Xe.value||NO())}}),Ar=xT({get(){var de;return(de=Yt.value)==null?void 0:de.width},set(de){Yt.value!==null&&(Yt.value=NB(BO({},Yt.value),{width:de}))}}),_n=xT({get(){var de;return(de=Yt.value)==null?void 0:de.height},set(de){Yt.value!==null&&(Yt.value=NB(BO({},Yt.value),{height:de}))}});return IO(Yt,de=>{if(Xt.value===""){if(de===null)return;Xt.value=`<${de.tag} width="${de.width}" height="${de.height}" controls><source src="${de.sourceUrl}" type="${de.type}" /></${de.tag}>`}else Xt.value=Xt.value.replace(/src=".*?"/g,`src="${de==null?void 0:de.sourceUrl}"`).replace(/width=".*?"/g,`width="${de==null?void 0:de.width}"`).replace(/height=".*?"/g,`height="${de==null?void 0:de.height}"`).replace(/type=".*?"/g,`type="${de==null?void 0:de.type}"`).replaceAll(/<(video|audio|iframe)/g,`<${de==null?void 0:de.tag}`).replaceAll(/<\/(video|audio|iframe)/g,`</${de==null?void 0:de.tag}`)}),IO(Xt,de=>{var St,Fe,sn,ee,ze;if(de==="")Yt.value=null;else{const Ee=(St=/<(video|audio|iframe)/g.exec(de))==null?void 0:St[1],$t=((Fe=/src="(.*?)"/g.exec(de))==null?void 0:Fe[1])||void 0,qt=Number((sn=/width="(.*?)"/g.exec(de))==null?void 0:sn[1])||void 0,pt=Number((ee=/height="(.*?)"/g.exec(de))==null?void 0:ee[1])||void 0,Bt=((ze=/type="(.*?)"/g.exec(de))==null?void 0:ze[1])||void 0;if($t===void 0)return;const Le=We($t,Xe.value||NO());Yt.value={tag:Ee==="audio"?"audio":Ee==="iframe"?"iframe":"video",sourceUrl:$t,width:qt,height:pt,type:Bt,previewUrl:Le}}}),{mediaDrawerOpen:tn,mediaSelection:Yt,closeMediaDrawer:He,openMediaTab:vt,onMediaSelect:zt,embed:Xt,saveMedia:pn,startEmbed:dn,mediaHeight:_n,mediaWidth:Ar,mediaSource:Rn,mediaButton:Pn};function He(){Xt.value="",dn.value="",Yt.value=null,tn.value=!1,vt.value=["video"]}function zt(de){const St=zB()+"assets/"+de.id,Fe=de.type.startsWith("audio")?"audio":"video";Yt.value={sourceUrl:We(St,Xe.value),width:de.width||300,height:de.height||150,tag:Fe,type:de.type,previewUrl:We(St,Xe.value||NO())}}function pn(){if(le.value.fire("focus"),Xt.value!==""){if(dn.value!==""){const de=le.value.getContent().replace(dn.value,Xt.value);le.value.setContent(de)}else le.value.selection.setContent(Xt.value);le.value.undoManager.add(),He()}}function We(de,St){if(!de.includes(zB()+"assets/"))return de;try{const Fe=new URL(de),sn=new URLSearchParams(Fe.search);return St?sn.set("access_token",St):sn.delete("access_token"),Array.from(sn).length>0?`${Fe.origin}${Fe.pathname}?${sn.toString()}`:`${Fe.origin}${Fe.pathname}`}catch{return de}}}function NW(le){const Xe=Os(!1),tn=Os(),Yt={icon:"sourcecode",tooltip:LB.global.t("wysiwyg_options.source_code"),onAction:()=>{Xe.value=!0,tn.value=le.value.getContent()}};return{codeDrawerOpen:Xe,code:tn,closeCodeDrawer:vt,saveCode:Xt,sourceCodeButton:Yt};function vt(){Xe.value=!1}function Xt(){le.value.fire("focus"),le.value.setContent(tn.value),le.value.undoManager.add(),vt()}}var IW={exports:{}};(function(le){(function(){var Xe=function(e){if(e===null)return"null";if(e===void 0)return"undefined";var n=typeof e;return n==="object"&&(Array.prototype.isPrototypeOf(e)||e.constructor&&e.constructor.name==="Array")?"array":n==="object"&&(String.prototype.isPrototypeOf(e)||e.constructor&&e.constructor.name==="String")?"string":n},tn=function(e){return["undefined","boolean","number","string","function","xml","null"].indexOf(e)!==-1},Yt=function(e,n){var a=Array.prototype.slice.call(e);return a.sort(n)},vt=function(e,n){return Xt(function(a,i){return e.eq(n(a),n(i))})},Xt=function(e){return{eq:e}},dn=Xt(function(e,n){return e===n}),Pn=dn,Rn=function(e){return Xt(function(n,a){if(n.length!==a.length)return!1;for(var i=n.length,s=0;s<i;s++)if(!e.eq(n[s],a[s]))return!1;return!0})},Ar=function(e,n){return vt(Rn(e),function(a){return Yt(a,n)})},_n=function(e){return Xt(function(n,a){var i=Object.keys(n),s=Object.keys(a);if(!Ar(Pn).eq(i,s))return!1;for(var f=i.length,g=0;g<f;g++){var b=i[g];if(!e.eq(n[b],a[b]))return!1}return!0})},He=Xt(function(e,n){if(e===n)return!0;var a=Xe(e),i=Xe(n);return a!==i?!1:tn(a)?e===n:a==="array"?Rn(He).eq(e,n):a==="object"?_n(He).eq(e,n):!1}),zt=function(e){var n=typeof e;return e===null?"null":n==="object"&&(Array.prototype.isPrototypeOf(e)||e.constructor&&e.constructor.name==="Array")?"array":n==="object"&&(String.prototype.isPrototypeOf(e)||e.constructor&&e.constructor.name==="String")?"string":n},pn=function(e){return function(n){return zt(n)===e}},We=function(e){return function(n){return typeof n===e}},de=function(e){return function(n){return e===n}},St=pn("string"),Fe=pn("object"),sn=pn("array"),ee=de(null),ze=We("boolean"),Ee=de(void 0),$t=function(e){return e==null},qt=function(e){return!$t(e)},pt=We("function"),Bt=We("number"),Le=function(){},Fa=function(e,n){return function(){for(var a=[],i=0;i<arguments.length;i++)a[i]=arguments[i];return e(n.apply(null,a))}},ve=function(e,n){return function(a){return e(n(a))}},Y=function(e){return function(){return e}},On=function(e){return e},wa=function(e,n){return e===n};function Rt(e){for(var n=[],a=1;a<arguments.length;a++)n[a-1]=arguments[a];return function(){for(var i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];var f=n.concat(i);return e.apply(null,f)}}var Ca=function(e){return function(n){return!e(n)}},Ir=function(e){return function(){throw new Error(e)}},_=function(e){return e()},pa=function(e){e()},yt=Y(!1),Ht=Y(!0),io=function(){return ho},ho=function(){var e=function(i){return i()},n=On,a={fold:function(i,s){return i()},isSome:yt,isNone:Ht,getOr:n,getOrThunk:e,getOrDie:function(i){throw new Error(i||"error: getOrDie called on none.")},getOrNull:Y(null),getOrUndefined:Y(void 0),or:n,orThunk:e,map:io,each:Le,bind:io,exists:yt,forall:Ht,filter:function(){return io()},toArray:function(){return[]},toString:Y("none()")};return a}(),nr=function(e){var n=Y(e),a=function(){return s},i=function(f){return f(e)},s={fold:function(f,g){return g(e)},isSome:Ht,isNone:yt,getOr:n,getOrThunk:n,getOrDie:n,getOrNull:n,getOrUndefined:n,or:a,orThunk:a,map:function(f){return nr(f(e))},each:function(f){f(e)},bind:i,exists:i,forall:i,filter:function(f){return f(e)?s:ho},toArray:function(){return[e]},toString:function(){return"some("+e+")"}};return s},va=function(e){return e==null?ho:nr(e)},J={some:nr,none:io,from:va},Ja=Array.prototype.slice,dt=Array.prototype.indexOf,Nt=Array.prototype.push,po=function(e,n){return dt.call(e,n)},$n=function(e,n){var a=po(e,n);return a===-1?J.none():J.some(a)},cn=function(e,n){return po(e,n)>-1},Gn=function(e,n){for(var a=0,i=e.length;a<i;a++){var s=e[a];if(n(s,a))return!0}return!1},Kn=function(e,n){for(var a=e.length,i=new Array(a),s=0;s<a;s++){var f=e[s];i[s]=n(f,s)}return i},xt=function(e,n){for(var a=0,i=e.length;a<i;a++){var s=e[a];n(s,a)}},hr=function(e,n){for(var a=e.length-1;a>=0;a--){var i=e[a];n(i,a)}},La=function(e,n){for(var a=[],i=[],s=0,f=e.length;s<f;s++){var g=e[s],b=n(g,s)?a:i;b.push(g)}return{pass:a,fail:i}},bn=function(e,n){for(var a=[],i=0,s=e.length;i<s;i++){var f=e[i];n(f,i)&&a.push(f)}return a},Kr=function(e,n,a){return hr(e,function(i,s){a=n(a,i,s)}),a},Qr=function(e,n,a){return xt(e,function(i,s){a=n(a,i,s)}),a},An=function(e,n,a){for(var i=0,s=e.length;i<s;i++){var f=e[i];if(n(f,i))return J.some(f);if(a(f,i))break}return J.none()},da=function(e,n){return An(e,n,yt)},Fo=function(e,n){for(var a=0,i=e.length;a<i;a++){var s=e[a];if(n(s,a))return J.some(a)}return J.none()},bi=function(e){for(var n=[],a=0,i=e.length;a<i;++a){if(!sn(e[a]))throw new Error("Arr.flatten item "+a+" was not an array, input: "+e);Nt.apply(n,e[a])}return n},oi=function(e,n){return bi(Kn(e,n))},Xo=function(e,n){for(var a=0,i=e.length;a<i;++a){var s=e[a];if(n(s,a)!==!0)return!1}return!0},eo=function(e){var n=Ja.call(e,0);return n.reverse(),n},yi=function(e,n){return bn(e,function(a){return!cn(n,a)})},bo=function(e,n){for(var a={},i=0,s=e.length;i<s;i++){var f=e[i];a[String(f)]=n(f,i)}return a},ta=function(e,n){var a=Ja.call(e,0);return a.sort(n),a},Yr=function(e,n){return n>=0&&n<e.length?J.some(e[n]):J.none()},Ha=function(e){return Yr(e,0)},ea=function(e){return Yr(e,e.length-1)},Rr=pt(Array.from)?Array.from:function(e){return Ja.call(e)},Pe=function(e,n){for(var a=0;a<e.length;a++){var i=n(e[a],a);if(i.isSome())return i}return J.none()},Ut=Object.keys,ln=Object.hasOwnProperty,Gt=function(e,n){for(var a=Ut(e),i=0,s=a.length;i<s;i++){var f=a[i],g=e[f];n(g,f)}},xr=function(e,n){return _r(e,function(a,i){return{k:i,v:n(a,i)}})},_r=function(e,n){var a={};return Gt(e,function(i,s){var f=n(i,s);a[f.k]=f.v}),a},Da=function(e){return function(n,a){e[a]=n}},yn=function(e,n,a,i){var s={};return Gt(e,function(f,g){(n(f,g)?a:i)(f,g)}),s},Tr=function(e,n){var a={},i={};return yn(e,n,Da(a),Da(i)),{t:a,f:i}},ma=function(e,n){var a={};return yn(e,n,Da(a),Le),a},ko=function(e,n){var a=[];return Gt(e,function(i,s){a.push(n(i,s))}),a},Fi=function(e){return ko(e,On)},Br=function(e,n){return ur(e,n)?J.from(e[n]):J.none()},ur=function(e,n){return ln.call(e,n)},yo=function(e,n){return ur(e,n)&&e[n]!==void 0&&e[n]!==null},ii=function(e,n,a){return a===void 0&&(a=He),_n(a).eq(e,n)},Bo=Array.isArray,wo=function(e){if(Bo(e))return e;for(var n=[],a=0,i=e.length;a<i;a++)n[a]=e[a];return n},Lo=function(e,n,a){var i,s;if(!e)return!1;if(a=a||e,e.length!==void 0){for(i=0,s=e.length;i<s;i++)if(n.call(a,e[i],i,e)===!1)return!1}else for(i in e)if(ur(e,i)&&n.call(a,e[i],i,e)===!1)return!1;return!0},Li=function(e,n){var a=[];return Lo(e,function(i,s){a.push(n(i,s,e))}),a},ui=function(e,n){var a=[];return Lo(e,function(i,s){(!n||n(i,s,e))&&a.push(i)}),a},Mo=function(e,n){if(e){for(var a=0,i=e.length;a<i;a++)if(e[a]===n)return a}return-1},Hi=function(e,n,a,i){for(var s=Ee(a)?e[0]:a,f=0;f<e.length;f++)s=n.call(i,s,e[f],f);return s},Mr=function(e,n,a){var i,s;for(i=0,s=e.length;i<s;i++)if(n.call(a,e[i],i,e))return i;return-1},si=function(e){return e[e.length-1]},Sn=function(){return Sn=Object.assign||function(n){for(var a,i=1,s=arguments.length;i<s;i++){a=arguments[i];for(var f in a)Object.prototype.hasOwnProperty.call(a,f)&&(n[f]=a[f])}return n},Sn.apply(this,arguments)};function Uu(e,n){var a={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&n.indexOf(i)<0&&(a[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,i=Object.getOwnPropertySymbols(e);s<i.length;s++)n.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(e,i[s])&&(a[i[s]]=e[i[s]]);return a}function Ho(e,n,a){if(a||arguments.length===2)for(var i=0,s=n.length,f;i<s;i++)(f||!(i in n))&&(f||(f=Array.prototype.slice.call(n,0,i)),f[i]=n[i]);return e.concat(f||Array.prototype.slice.call(n))}var _i=function(e){var n=!1,a;return function(){for(var i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];return n||(n=!0,a=e.apply(null,i)),a}},Vo=function(e,n,a,i){var s=e.isiOS()&&/ipad/i.test(a)===!0,f=e.isiOS()&&!s,g=e.isiOS()||e.isAndroid(),b=g||i("(pointer:coarse)"),C=s||!f&&g&&i("(min-device-width:768px)"),A=f||g&&!C,N=n.isSafari()&&e.isiOS()&&/safari/i.test(a)===!1,z=!A&&!C&&!N;return{isiPad:Y(s),isiPhone:Y(f),isTablet:Y(C),isPhone:Y(A),isTouch:Y(b),isAndroid:e.isAndroid,isiOS:e.isiOS,isWebView:Y(N),isDesktop:Y(z)}},Bi=function(e,n){for(var a=0;a<e.length;a++){var i=e[a];if(i.test(n))return i}},Mu=function(e,n){var a=Bi(e,n);if(!a)return{major:0,minor:0};var i=function(s){return Number(n.replace(a,"$"+s))};return te(i(1),i(2))},ci=function(e,n){var a=String(n).toLowerCase();return e.length===0?Wu():Mu(e,a)},Wu=function(){return te(0,0)},te=function(e,n){return{major:e,minor:n}},we={nu:te,detect:ci,unknown:Wu},ie=function(e,n){return Pe(n.brands,function(a){var i=a.brand.toLowerCase();return da(e,function(s){var f;return i===((f=s.brand)===null||f===void 0?void 0:f.toLowerCase())}).map(function(s){return{current:s.name,version:we.nu(parseInt(a.version,10),0)}})})},_e=function(e,n){var a=String(n).toLowerCase();return da(e,function(i){return i.search(a)})},At=function(e,n){return _e(e,n).map(function(a){var i=we.detect(a.versionRegexes,n);return{current:a.name,version:i}})},Jt=function(e,n){return _e(e,n).map(function(a){var i=we.detect(a.versionRegexes,n);return{current:a.name,version:i}})},Fn=function(e,n){return e.substring(n)},Un=function(e,n,a){return n===""||e.length>=n.length&&e.substr(a,a+n.length)===n},Dr=function(e,n){return wr(e,n)?Fn(e,n.length):e},zr=function(e,n){return e.indexOf(n)!==-1},wr=function(e,n){return Un(e,n,0)},xa=function(e){return function(n){return n.replace(e,"")}},Ta=xa(/^\s+|\s+$/g),Vi=xa(/^\s+/g),uo=xa(/\s+$/g),Yo=function(e){return e.length>0},au=function(e){return!Yo(e)},ka=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,Ra=function(e){return function(n){return zr(n,e)}},st=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:function(e){return zr(e,"edge/")&&zr(e,"chrome")&&zr(e,"safari")&&zr(e,"applewebkit")}},{name:"Chrome",brand:"Chromium",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,ka],search:function(e){return zr(e,"chrome")&&!zr(e,"chromeframe")}},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:function(e){return zr(e,"msie")||zr(e,"trident")}},{name:"Opera",versionRegexes:[ka,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:Ra("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:Ra("firefox")},{name:"Safari",versionRegexes:[ka,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:function(e){return(zr(e,"safari")||zr(e,"mobile/"))&&zr(e,"applewebkit")}}],Ka=[{name:"Windows",search:Ra("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:function(e){return zr(e,"iphone")||zr(e,"ipad")},versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:Ra("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"OSX",search:Ra("mac os x"),versionRegexes:[/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:Ra("linux"),versionRegexes:[]},{name:"Solaris",search:Ra("sunos"),versionRegexes:[]},{name:"FreeBSD",search:Ra("freebsd"),versionRegexes:[]},{name:"ChromeOS",search:Ra("cros"),versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/]}],Ui={browsers:Y(st),oses:Y(Ka)},ju="Edge",qu="Chrome",Cr="IE",fs="Opera",Wi="Firefox",Va="Safari",Gu=function(){return Jo({current:void 0,version:we.unknown()})},Jo=function(e){var n=e.current,a=e.version,i=function(s){return function(){return n===s}};return{current:n,version:a,isEdge:i(ju),isChrome:i(qu),isIE:i(Cr),isOpera:i(fs),isFirefox:i(Wi),isSafari:i(Va)}},li={unknown:Gu,nu:Jo,edge:Y(ju),chrome:Y(qu),ie:Y(Cr),opera:Y(fs),firefox:Y(Wi),safari:Y(Va)},la="Windows",Ku="iOS",q="Android",me="Linux",De="OSX",Ye="Solaris",Mt="FreeBSD",Qt="ChromeOS",hn=function(){return lr({current:void 0,version:we.unknown()})},lr=function(e){var n=e.current,a=e.version,i=function(s){return function(){return n===s}};return{current:n,version:a,isWindows:i(la),isiOS:i(Ku),isAndroid:i(q),isOSX:i(De),isLinux:i(me),isSolaris:i(Ye),isFreeBSD:i(Mt),isChromeOS:i(Qt)}},V={unknown:hn,nu:lr,windows:Y(la),ios:Y(Ku),android:Y(q),linux:Y(me),osx:Y(De),solaris:Y(Ye),freebsd:Y(Mt),chromeos:Y(Qt)},fe=function(e,n,a){var i=Ui.browsers(),s=Ui.oses(),f=n.bind(function(C){return ie(i,C)}).orThunk(function(){return At(i,e)}).fold(li.unknown,li.nu),g=Jt(s,e).fold(V.unknown,V.nu),b=Vo(g,f,e,a);return{browser:f,os:g,deviceType:b}},Te={detect:fe},Me=function(e){return window.matchMedia(e).matches},Qe=_i(function(){return Te.detect(navigator.userAgent,J.from(navigator.userAgentData),Me)}),Wt=function(){return Qe()},wn=navigator.userAgent,Pr=Wt(),rr=Pr.browser,na=Pr.os,Sa=Pr.deviceType,bu=/WebKit/.test(wn)&&!rr.isEdge(),Co="FormData"in window&&"FileReader"in window&&"URL"in window&&!!URL.createObjectURL,Cn=wn.indexOf("Windows Phone")!==-1,wt={opera:rr.isOpera(),webkit:bu,ie:rr.isIE()||rr.isEdge()?rr.version.major:!1,gecko:rr.isFirefox(),mac:na.isOSX()||na.isiOS(),iOS:Sa.isiPad()||Sa.isiPhone(),android:na.isAndroid(),contentEditable:!0,transparentSrc:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",caretAfter:!0,range:window.getSelection&&"Range"in window,documentMode:rr.isIE()?document.documentMode||7:10,fileApi:Co,ceFalse:!0,cacheSuffix:null,container:null,experimentalShadowDom:!1,canHaveCSP:!rr.isIE(),desktop:Sa.isDesktop(),windowsPhone:Cn,browser:{current:rr.current,version:rr.version,isChrome:rr.isChrome,isEdge:rr.isEdge,isFirefox:rr.isFirefox,isIE:rr.isIE,isOpera:rr.isOpera,isSafari:rr.isSafari},os:{current:na.current,version:na.version,isAndroid:na.isAndroid,isChromeOS:na.isChromeOS,isFreeBSD:na.isFreeBSD,isiOS:na.isiOS,isLinux:na.isLinux,isOSX:na.isOSX,isSolaris:na.isSolaris,isWindows:na.isWindows},deviceType:{isDesktop:Sa.isDesktop,isiPad:Sa.isiPad,isiPhone:Sa.isiPhone,isPhone:Sa.isPhone,isTablet:Sa.isTablet,isTouch:Sa.isTouch,isWebView:Sa.isWebView}},oa=/^\s*|\s*$/g,So=function(e){return e==null?"":(""+e).replace(oa,"")},Sr=function(e,n){return n?n==="array"&&Bo(e)?!0:typeof e===n:e!==void 0},As=function(e,n,a){var i;for(e=e||[],n=n||",",typeof e=="string"&&(e=e.split(n)),a=a||{},i=e.length;i--;)a[e[i]]={};return a},Xu=ur,vc=function(e,n,a){var i=this,s,f,g,b=0;e=/^((static) )?([\w.]+)(:([\w.]+))?/.exec(e);var C=e[3].match(/(^|\.)(\w+)$/i)[2],A=i.createNS(e[3].replace(/\.\w+$/,""),a);if(!A[C]){if(e[2]==="static"){A[C]=n,this.onCreate&&this.onCreate(e[2],e[3],A[C]);return}n[C]||(n[C]=function(){},b=1),A[C]=n[C],i.extend(A[C].prototype,n),e[5]&&(s=i.resolve(e[5]).prototype,f=e[5].match(/\.(\w+)$/i)[1],g=A[C],b?A[C]=function(){return s[f].apply(this,arguments)}:A[C]=function(){return this.parent=s[f],g.apply(this,arguments)},A[C].prototype[C]=A[C],i.each(s,function(N,z){A[C].prototype[z]=s[z]}),i.each(n,function(N,z){s[z]?A[C].prototype[z]=function(){return this.parent=s[z],N.apply(this,arguments)}:z!==C&&(A[C].prototype[z]=N)})),i.each(n.static,function(N,z){A[C][z]=N})}},Vr=function(e){for(var n=[],a=1;a<arguments.length;a++)n[a-1]=arguments[a];for(var i=0;i<n.length;i++){var s=n[i];for(var f in s)if(ur(s,f)){var g=s[f];g!==void 0&&(e[f]=g)}}return e},wi=function(e,n,a,i){i=i||this,e&&(a&&(e=e[a]),Lo(e,function(s,f){if(n.call(i,s,f,a)===!1)return!1;wi(s,n,a,i)}))},dc=function(e,n){var a,i;for(n=n||window,e=e.split("."),a=0;a<e.length;a++)i=e[a],n[i]||(n[i]={}),n=n[i];return n},yu=function(e,n){var a,i;for(n=n||window,e=e.split("."),a=0,i=e.length;a<i&&(n=n[e[a]],!!n);a++);return n},to=function(e,n){return!e||Sr(e,"array")?e:Li(e.split(n||","),So)},Ds=function(e){var n=wt.cacheSuffix;return n&&(e+=(e.indexOf("?")===-1?"?":"&")+n),e},je={trim:So,isArray:Bo,is:Sr,toArray:wo,makeMap:As,each:Lo,map:Li,grep:ui,inArray:Mo,hasOwn:Xu,extend:Vr,create:vc,walk:wi,createNS:dc,resolve:yu,explode:to,_addCacheSuffix:Ds},Zs=function(e,n){var a=n||document,i=a.createElement("div");if(i.innerHTML=e,!i.hasChildNodes()||i.childNodes.length>1)throw console.error("HTML does not have a single root node",e),new Error("HTML must have a single root node");return vs(i.childNodes[0])},no=function(e,n){var a=n||document,i=a.createElement(e);return vs(i)},ll=function(e,n){var a=n||document,i=a.createTextNode(e);return vs(i)},vs=function(e){if(e==null)throw new Error("Node cannot be null or undefined");return{dom:e}},M=function(e,n,a){return J.from(e.dom.elementFromPoint(n,a)).map(vs)},T={fromHtml:Zs,fromTag:no,fromText:ll,fromDom:vs,fromPoint:M},w=function(e,n){var a=[],i=function(f){return a.push(f),n(f)},s=n(e);do s=s.bind(i);while(s.isSome());return a},D=function(e,n,a){return(e.compareDocumentPosition(n)&a)!==0},L=function(e,n){return D(e,n,Node.DOCUMENT_POSITION_CONTAINED_BY)},Q=8,ke=9,tt=11,mn=1,Bn=3,Dt=function(e,n){var a=e.dom;if(a.nodeType!==mn)return!1;var i=a;if(i.matches!==void 0)return i.matches(n);if(i.msMatchesSelector!==void 0)return i.msMatchesSelector(n);if(i.webkitMatchesSelector!==void 0)return i.webkitMatchesSelector(n);if(i.mozMatchesSelector!==void 0)return i.mozMatchesSelector(n);throw new Error("Browser lacks native selectors")},fn=function(e){return e.nodeType!==mn&&e.nodeType!==ke&&e.nodeType!==tt||e.childElementCount===0},ar=function(e,n){var a=n===void 0?document:n.dom;return fn(a)?[]:Kn(a.querySelectorAll(e),T.fromDom)},tr=function(e,n){var a=n===void 0?document:n.dom;return fn(a)?J.none():J.from(a.querySelector(e)).map(T.fromDom)},jn=function(e,n){return e.dom===n.dom},Pa=function(e,n){var a=e.dom,i=n.dom;return a===i?!1:a.contains(i)},Ln=function(e,n){return L(e.dom,n.dom)},ga=function(e,n){return Wt().browser.isIE()?Ln(e,n):Pa(e,n)};typeof window!="undefined"||Function("return this;")();var ia=function(e){var n=e.dom.nodeName;return n.toLowerCase()},Ci=function(e){return e.dom.nodeType},fr=function(e){return function(n){return Ci(n)===e}},Rs=function(e){return Ci(e)===Q||ia(e)==="#comment"},ro=fr(mn),xo=fr(Bn),Ep=fr(ke),ji=fr(tt),Ig=function(e){return function(n){return ro(n)&&ia(n)===e}},Nc=function(e){return T.fromDom(e.dom.ownerDocument)},Yn=function(e){return Ep(e)?e:Nc(e)},_s=function(e){return T.fromDom(Yn(e).dom.documentElement)},Eo=function(e){return T.fromDom(Yn(e).dom.defaultView)},Oo=function(e){return J.from(e.dom.parentNode).map(T.fromDom)},Si=function(e,n){for(var a=pt(n)?n:yt,i=e.dom,s=[];i.parentNode!==null&&i.parentNode!==void 0;){var f=i.parentNode,g=T.fromDom(f);if(s.push(g),a(g)===!0)break;i=f}return s},Zo=function(e){var n=function(a){return bn(a,function(i){return!jn(e,i)})};return Oo(e).map(Pu).map(n).getOr([])},hf=function(e){return J.from(e.dom.previousSibling).map(T.fromDom)},Qs=function(e){return J.from(e.dom.nextSibling).map(T.fromDom)},ua=function(e){return eo(w(e,hf))},Xa=function(e){return w(e,Qs)},Pu=function(e){return Kn(e.dom.childNodes,T.fromDom)},fl=function(e,n){var a=e.dom.childNodes;return J.from(a[n]).map(T.fromDom)},fi=function(e){return fl(e,0)},Bs=function(e){return fl(e,e.dom.childNodes.length-1)},Op=function(e){return e.dom.childNodes.length},pf=function(e){var n=e.dom.head;if(n==null)throw new Error("Head is not available yet");return T.fromDom(n)},$a=function(e){return ji(e)&&qt(e.dom.host)},mc=pt(Element.prototype.attachShadow)&&pt(Node.prototype.getRootNode),Il=Y(mc),Yu=mc?function(e){return T.fromDom(e.dom.getRootNode())}:Yn,Po=function(e){return $a(e)?e:pf(Yn(e))},zl=function(e){var n=Yu(e);return $a(n)?J.some(n):J.none()},vl=function(e){return T.fromDom(e.dom.host)},wu=function(e){if(Il()&&qt(e.target)){var n=T.fromDom(e.target);if(ro(n)&&Ju(n)&&e.composed&&e.composedPath){var a=e.composedPath();if(a)return Ha(a)}}return J.from(e.target)},Ju=function(e){return qt(e.dom.shadowRoot)},ou=function(e,n){var a=Oo(e);a.each(function(i){i.dom.insertBefore(n.dom,e.dom)})},ov=function(e,n){var a=Qs(e);a.fold(function(){var i=Oo(e);i.each(function(s){xi(s,n)})},function(i){ou(i,n)})},gc=function(e,n){var a=fi(e);a.fold(function(){xi(e,n)},function(i){e.dom.insertBefore(n.dom,i.dom)})},xi=function(e,n){e.dom.appendChild(n.dom)},ud=function(e,n){ou(e,n),xi(n,e)},Ap=function(e,n){xt(n,function(a){ou(e,a)})},bf=function(e,n){xt(n,function(a){xi(e,a)})},yf=function(e){e.dom.textContent="",xt(Pu(e),function(n){$o(n)})},$o=function(e){var n=e.dom;n.parentNode!==null&&n.parentNode.removeChild(n)},wf=function(e){var n=Pu(e);n.length>0&&Ap(e,n),$o(e)},Cf=function(e){var n=xo(e)?e.dom.parentNode:e.dom;if(n==null||n.ownerDocument===null)return!1;var a=n.ownerDocument;return zl(T.fromDom(n)).fold(function(){return a.body.contains(n)},ve(Cf,vl))},Cu=function(e,n){var a=function(i,s){return Cu(e+i,n+s)};return{left:e,top:n,translate:a}},dl=Cu,Sf=function(e){var n=e.getBoundingClientRect();return dl(n.left,n.top)},ml=function(e,n){return e!==void 0?e:n!==void 0?n:0},so=function(e){var n=e.dom.ownerDocument,a=n.body,i=n.defaultView,s=n.documentElement;if(a===e.dom)return dl(a.offsetLeft,a.offsetTop);var f=ml(i==null?void 0:i.pageYOffset,s.scrollTop),g=ml(i==null?void 0:i.pageXOffset,s.scrollLeft),b=ml(s.clientTop,a.clientTop),C=ml(s.clientLeft,a.clientLeft);return ds(e).translate(g-C,f-b)},ds=function(e){var n=e.dom,a=n.ownerDocument,i=a.body;return i===n?dl(i.offsetLeft,i.offsetTop):Cf(e)?Sf(n):dl(0,0)},bm=function(e){var n=e!==void 0?e.dom:document,a=n.body.scrollLeft||n.documentElement.scrollLeft,i=n.body.scrollTop||n.documentElement.scrollTop;return dl(a,i)},Ms=function(e,n,a){var i=a!==void 0?a.dom:document,s=i.defaultView;s&&s.scrollTo(e,n)},ym=function(e,n){var a=Wt().browser.isSafari();a&&pt(e.dom.scrollIntoViewIfNeeded)?e.dom.scrollIntoViewIfNeeded(!1):e.dom.scrollIntoView(n)},Dp=function(e){var n=e===void 0?window:e;return Wt().browser.isFirefox()?J.none():J.from(n.visualViewport)},zg=function(e,n,a,i){return{x:e,y:n,width:a,height:i,right:e+a,bottom:n+i}},xf=function(e){var n=e===void 0?window:e,a=n.document,i=bm(T.fromDom(a));return Dp(n).fold(function(){var s=n.document.documentElement,f=s.clientWidth,g=s.clientHeight;return zg(i.left,i.top,f,g)},function(s){return zg(Math.max(s.pageLeft,i.left),Math.max(s.pageTop,i.top),s.width,s.height)})},Tf=function(e){return function(n){return!!n&&n.nodeType===e}},Fl=function(e){return!!e&&!Object.getPrototypeOf(e)},Qn=Tf(1),ec=function(e){var n=e.map(function(a){return a.toLowerCase()});return function(a){if(a&&a.nodeName){var i=a.nodeName.toLowerCase();return cn(n,i)}return!1}},Zu=function(e,n){var a=n.toLowerCase().split(" ");return function(i){if(Qn(i))for(var s=0;s<a.length;s++){var f=i.ownerDocument.defaultView.getComputedStyle(i,null),g=f?f.getPropertyValue(e):null;if(g===a[s])return!0}return!1}},Su=function(e){return function(n){return Qn(n)&&n.hasAttribute(e)}},tc=function(e,n){return function(a){return Qn(a)&&a.getAttribute(e)===n}},Uo=function(e){return Qn(e)&&e.hasAttribute("data-mce-bogus")},Ti=function(e){return Qn(e)&&e.getAttribute("data-mce-bogus")==="all"},Qo=function(e){return Qn(e)&&e.tagName==="TABLE"},Ll=function(e){return function(n){return!!(Qn(n)&&(n.contentEditable===e||n.getAttribute("data-mce-contenteditable")===e))}},iu=ec(["textarea","input"]),an=Tf(3),kf=Tf(8),Fg=Tf(9),mr=Tf(11),Na=ec(["br"]),wm=ec(["img"]),Ic=Ll("true"),ao=Ll("false"),Cm=ec(["td","th"]),ms=ec(["video","audio","object","embed"]),sd=function(e,n,a){return a===void 0&&(a=wa),e.exists(function(i){return a(i,n)})},pr=function(e){for(var n=[],a=function(s){n.push(s)},i=0;i<e.length;i++)e[i].each(a);return n},$u=function(e,n,a){return e.isSome()&&n.isSome()?J.some(a(e.getOrDie(),n.getOrDie())):J.none()},Jb=function(e,n,a,i){return e.isSome()&&n.isSome()&&a.isSome()?J.some(i(e.getOrDie(),n.getOrDie(),a.getOrDie())):J.none()},Zb=function(e,n){return e?J.some(n):J.none()},co=function(e){return e.style!==void 0&&pt(e.style.getPropertyValue)},Sm=function(e,n,a){if(St(a)||ze(a)||Bt(a))e.setAttribute(n,a+"");else throw console.error("Invalid call to Attribute.set. Key ",n,":: Value ",a,":: Element ",e),new Error("Attribute value was not simple")},O=function(e,n,a){Sm(e.dom,n,a)},I=function(e,n){var a=e.dom;Gt(n,function(i,s){Sm(a,s,i)})},U=function(e,n){var a=e.dom.getAttribute(n);return a===null?void 0:a},oe=function(e,n){return J.from(U(e,n))},Oe=function(e,n){var a=e.dom;return a&&a.hasAttribute?a.hasAttribute(n):!1},Je=function(e,n){e.dom.removeAttribute(n)},Tn=function(e){return Qr(e.dom.attributes,function(n,a){return n[a.name]=a.value,n},{})},or=function(e,n,a){if(!St(a))throw console.error("Invalid call to CSS.set. Property ",n,":: Value ",a,":: Element ",e),new Error("CSS value must be a string: "+a);co(e)&&e.style.setProperty(n,a)},Fr=function(e,n){var a=e.dom;Gt(n,function(i,s){or(a,s,i)})},br=function(e,n){var a=e.dom,i=window.getComputedStyle(a),s=i.getPropertyValue(n);return s===""&&!Cf(e)?Ua(a,n):s},Ua=function(e,n){return co(e)?e.style.getPropertyValue(n):""},uu=function(e,n){var a=e.dom,i=Ua(a,n);return J.from(i).filter(function(s){return s.length>0})},Ao=function(e){var n={},a=e.dom;if(co(a))for(var i=0;i<a.style.length;i++){var s=a.style.item(i);n[s]=a.style[s]}return n},kT=function(e){return e.dom.offsetWidth},v2=Wt().browser,d2=function(e){return da(e,ro)},ET=function(e){return v2.isFirefox()&&ia(e)==="table"?d2(Pu(e)).filter(function(n){return ia(n)==="caption"}).bind(function(n){return d2(Xa(n)).map(function(a){var i=a.dom.offsetTop,s=n.dom.offsetTop,f=n.dom.offsetHeight;return i<=s?-f:0})}).getOr(0):0},gl=function(e,n){return e.children&&cn(e.children,n)},Lg=function(e,n,a){var i=0,s=0,f=e.ownerDocument;if(a=a||e,n){if(a===e&&n.getBoundingClientRect&&br(T.fromDom(e),"position")==="static"){var g=n.getBoundingClientRect();return i=g.left+(f.documentElement.scrollLeft||e.scrollLeft)-f.documentElement.clientLeft,s=g.top+(f.documentElement.scrollTop||e.scrollTop)-f.documentElement.clientTop,{x:i,y:s}}for(var b=n;b&&b!==a&&b.nodeType&&!gl(b,a);){var C=b;i+=C.offsetLeft||0,s+=C.offsetTop||0,b=C.offsetParent}for(b=n.parentNode;b&&b!==a&&b.nodeType&&!gl(b,a);)i-=b.scrollLeft||0,s-=b.scrollTop||0,b=b.parentNode;s+=ET(T.fromDom(n))}return{x:i,y:s}},gs={},xm={exports:gs};(function(e,n,a,i){(function(s,f){typeof n=="object"&&typeof a!="undefined"?a.exports=f():typeof e=="function"&&e.amd?e(f):(s=typeof globalThis!="undefined"?globalThis:s||self,s.EphoxContactWrapper=f())})(this,function(){var s=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof TT!="undefined"?TT:typeof self!="undefined"?self:{},f={exports:{}};(function(A){(function(N){var z=setTimeout;function F(){}function K(ge,Re){return function(){ge.apply(Re,arguments)}}function G(ge){if(typeof this!="object")throw new TypeError("Promises must be constructed via new");if(typeof ge!="function")throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],Ae(ge,this)}function Z(ge,Re){for(;ge._state===3;)ge=ge._value;if(ge._state===0){ge._deferreds.push(Re);return}ge._handled=!0,G._immediateFn(function(){var qe=ge._state===1?Re.onFulfilled:Re.onRejected;if(qe===null){(ge._state===1?re:ce)(Re.promise,ge._value);return}var gt;try{gt=qe(ge._value)}catch(zn){ce(Re.promise,zn);return}re(Re.promise,gt)})}function re(ge,Re){try{if(Re===ge)throw new TypeError("A promise cannot be resolved with itself.");if(Re&&(typeof Re=="object"||typeof Re=="function")){var qe=Re.then;if(Re instanceof G){ge._state=3,ge._value=Re,se(ge);return}else if(typeof qe=="function"){Ae(K(qe,Re),ge);return}}ge._state=1,ge._value=Re,se(ge)}catch(gt){ce(ge,gt)}}function ce(ge,Re){ge._state=2,ge._value=Re,se(ge)}function se(ge){ge._state===2&&ge._deferreds.length===0&&G._immediateFn(function(){ge._handled||G._unhandledRejectionFn(ge._value)});for(var Re=0,qe=ge._deferreds.length;Re<qe;Re++)Z(ge,ge._deferreds[Re]);ge._deferreds=null}function pe(ge,Re,qe){this.onFulfilled=typeof ge=="function"?ge:null,this.onRejected=typeof Re=="function"?Re:null,this.promise=qe}function Ae(ge,Re){var qe=!1;try{ge(function(gt){qe||(qe=!0,re(Re,gt))},function(gt){qe||(qe=!0,ce(Re,gt))})}catch(gt){if(qe)return;qe=!0,ce(Re,gt)}}G.prototype.catch=function(ge){return this.then(null,ge)},G.prototype.then=function(ge,Re){var qe=new this.constructor(F);return Z(this,new pe(ge,Re,qe)),qe},G.all=function(ge){var Re=Array.prototype.slice.call(ge);return new G(function(qe,gt){if(Re.length===0)return qe([]);var zn=Re.length;function Zt(Xn,Tt){try{if(Tt&&(typeof Tt=="object"||typeof Tt=="function")){var en=Tt.then;if(typeof en=="function"){en.call(Tt,function(Ct){Zt(Xn,Ct)},gt);return}}Re[Xn]=Tt,--zn===0&&qe(Re)}catch(Ct){gt(Ct)}}for(var mt=0;mt<Re.length;mt++)Zt(mt,Re[mt])})},G.resolve=function(ge){return ge&&typeof ge=="object"&&ge.constructor===G?ge:new G(function(Re){Re(ge)})},G.reject=function(ge){return new G(function(Re,qe){qe(ge)})},G.race=function(ge){return new G(function(Re,qe){for(var gt=0,zn=ge.length;gt<zn;gt++)ge[gt].then(Re,qe)})},G._immediateFn=typeof setImmediate=="function"?function(ge){setImmediate(ge)}:function(ge){z(ge,0)},G._unhandledRejectionFn=function(Re){typeof console!="undefined"&&console&&console.warn("Possible Unhandled Promise Rejection:",Re)},G._setImmediateFn=function(Re){G._immediateFn=Re},G._setUnhandledRejectionFn=function(Re){G._unhandledRejectionFn=Re},A.exports?A.exports=G:N.Promise||(N.Promise=G)})(s)})(f);var g=f.exports,b=function(){return typeof window!="undefined"?window:Function("return this;")()}(),C={boltExport:b.Promise||g};return C})})(void 0,gs,xm);var Qb=xm.exports.boltExport,Hg=function(e){var n=J.none(),a=[],i=function(A){return Hg(function(N){s(function(z){N(A(z))})})},s=function(A){g()?C(A):a.push(A)},f=function(A){g()||(n=J.some(A),b(a),a=[])},g=function(){return n.isSome()},b=function(A){xt(A,C)},C=function(A){n.each(function(N){setTimeout(function(){A(N)},0)})};return e(f),{get:s,map:i,isReady:g}},Rp=function(e){return Hg(function(n){n(e)})},m2={nu:Hg,pure:Rp},OT=function(e){setTimeout(function(){throw e},0)},hl=function(e){var n=function(C){e().then(C,OT)},a=function(C){return hl(function(){return e().then(C)})},i=function(C){return hl(function(){return e().then(function(A){return C(A).toPromise()})})},s=function(C){return hl(function(){return e().then(function(){return C.toPromise()})})},f=function(){return m2.nu(n)},g=function(){var C=null;return hl(function(){return C===null&&(C=e()),C})},b=e;return{map:a,bind:i,anonBind:s,toLazy:f,toCached:g,toPromise:b,get:n}},Vg=function(e){return hl(function(){return new Qb(e)})},AT=function(e){return hl(function(){return Qb.resolve(e)})},e0={nu:Vg,pure:AT},DT=function(e,n){return n(function(a){var i=[],s=0,f=function(g){return function(b){i[g]=b,s++,s>=e.length&&a(i)}};e.length===0?a([]):xt(e,function(g,b){g.get(f(b))})})},RT=function(e){return DT(e,e0.nu)},Tm=function(e){var n=function(z){return Tm(e)},a=function(z){return Tm(e)},i=function(z){return Tm(z(e))},s=function(z){return Tm(e)},f=function(z){z(e)},g=function(z){return z(e)},b=function(z,F){return F(e)},C=function(z){return z(e)},A=function(z){return z(e)},N=function(){return J.some(e)};return{isValue:Ht,isError:yt,getOr:Y(e),getOrThunk:Y(e),getOrDie:Y(e),or:n,orThunk:a,fold:b,map:i,mapError:s,each:f,bind:g,exists:C,forall:A,toOptional:N}},Ug=function(e){var n=function(A){return A()},a=function(){return Ir(String(e))()},i=On,s=function(A){return A()},f=function(A){return Ug(e)},g=function(A){return Ug(A(e))},b=function(A){return Ug(e)},C=function(A,N){return A(e)};return{isValue:yt,isError:Ht,getOr:On,getOrThunk:n,getOrDie:a,or:i,orThunk:s,fold:C,map:f,mapError:g,each:Le,bind:b,exists:yt,forall:Ht,toOptional:J.none}},g2=function(e,n){return e.fold(function(){return Ug(n)},Tm)},h2={value:Tm,error:Ug,fromOption:g2},Ps=function(e){if(!sn(e))throw new Error("cases must be an array");if(e.length===0)throw new Error("there must be at least one case");var n=[],a={};return xt(e,function(i,s){var f=Ut(i);if(f.length!==1)throw new Error("one and only one name per case");var g=f[0],b=i[g];if(a[g]!==void 0)throw new Error("duplicate key detected:"+g);if(g==="cata")throw new Error("cannot have a case named cata (sorry)");if(!sn(b))throw new Error("case arguments must be an array");n.push(g),a[g]=function(){for(var C=[],A=0;A<arguments.length;A++)C[A]=arguments[A];var N=C.length;if(N!==b.length)throw new Error("Wrong number of arguments to case "+g+". Expected "+b.length+" ("+b+"), got "+N);var z=function(F){var K=Ut(F);if(n.length!==K.length)throw new Error("Wrong number of arguments to match. Expected: "+n.join(",")+`
|
|
168
168
|
Actual: `+K.join(","));var G=Xo(n,function(Z){return cn(K,Z)});if(!G)throw new Error("Not all branches were specified when using match. Specified: "+K.join(", ")+`
|
|
169
169
|
Required: `+n.join(", "));return F[g].apply(null,C)};return{fold:function(){for(var F=[],K=0;K<arguments.length;K++)F[K]=arguments[K];if(F.length!==e.length)throw new Error("Wrong number of arguments to fold. Expected "+e.length+", got "+F.length);var G=F[s];return G.apply(null,C)},match:z,log:function(F){console.log(F,{constructors:n,constructor:g,params:C})}}}}),a},Dn={generate:Ps};Dn.generate([{bothErrors:["error1","error2"]},{firstError:["error1","value2"]},{secondError:["value1","error2"]},{bothValues:["value1","value2"]}]);var Ef=function(e){return e.fold(On,On)};function Wg(e,n,a,i,s){return e(a,i)?J.some(a):pt(s)&&s(a)?J.none():n(a,i,s)}var iv=function(e,n,a){for(var i=e.dom,s=pt(a)?a:yt;i.parentNode;){i=i.parentNode;var f=T.fromDom(i);if(n(f))return J.some(f);if(s(f))break}return J.none()},km=function(e,n,a){var i=function(s,f){return f(s)};return Wg(i,iv,e,n,a)},t0=function(e,n){var a=e.dom;return a.parentNode?zc(T.fromDom(a.parentNode),function(i){return!jn(e,i)&&n(i)}):J.none()},zc=function(e,n){var a=function(s){return n(T.fromDom(s))},i=da(e.dom.childNodes,a);return i.map(T.fromDom)},cd=function(e,n,a){return iv(e,function(i){return Dt(i,n)},a)},Em=function(e,n){return tr(n,e)},Wo=function(e,n,a){var i=function(s,f){return Dt(s,f)};return Wg(i,cd,e,n,a)},qi=window.Promise?window.Promise:Qb,jg,Hl=function(e,n){for(var a=window.requestAnimationFrame,i=["ms","moz","webkit"],s=function(g){window.setTimeout(g,0)},f=0;f<i.length&&!a;f++)a=window[i[f]+"RequestAnimationFrame"];a||(a=s),a(e,n)},qg=function(e,n){return typeof n!="number"&&(n=0),setTimeout(e,n)},_p=function(e,n){return typeof n!="number"&&(n=1),setInterval(e,n)},Bp=function(e){return clearTimeout(e)},_T=function(e){return clearInterval(e)},Om=function(e,n){var a,i=function(){for(var s=[],f=0;f<arguments.length;f++)s[f]=arguments[f];clearTimeout(a),a=qg(function(){e.apply(this,s)},n)};return i.stop=function(){clearTimeout(a)},i},xu={requestAnimationFrame:function(e,n){if(jg){jg.then(e);return}jg=new qi(function(a){n||(n=document.body),Hl(a,n)}).then(e)},setTimeout:qg,setInterval:_p,setEditorTimeout:function(e,n,a){return qg(function(){e.removed||n()},a)},setEditorInterval:function(e,n,a){var i=_p(function(){e.removed?clearInterval(i):n()},a);return i},debounce:Om,throttle:Om,clearInterval:_T,clearTimeout:Bp},p2=function(e,n){n===void 0&&(n={});var a=0,i={},s=T.fromDom(e),f=Yn(s),g=n.maxLoadTime||5e3,b=function(re){n.referrerPolicy=re},C=function(re){xi(Po(s),re)},A=function(re){var ce=Po(s);Em(ce,"#"+re).each($o)},N=function(re){return Br(i,re).getOrThunk(function(){return{id:"mce-u"+a++,passed:[],failed:[],count:0}})},z=function(re,ce,se){var pe,Ae=je._addCacheSuffix(re),ge=N(Ae);i[Ae]=ge,ge.count++;var Re=function(Tt,en){for(var Ct=Tt.length;Ct--;)Tt[Ct]();ge.status=en,ge.passed=[],ge.failed=[],pe&&(pe.onload=null,pe.onerror=null,pe=null)},qe=function(){return Re(ge.passed,2)},gt=function(){return Re(ge.failed,3)},zn=function(Tt,en){Tt()||(Date.now()-Xn<g?xu.setTimeout(en):gt())},Zt=function(){zn(function(){for(var Tt=e.styleSheets,en=Tt.length;en--;){var Ct=Tt[en],Ft=Ct.ownerNode;if(Ft&&Ft.id===pe.id)return qe(),!0}return!1},Zt)};if(ce&&ge.passed.push(ce),se&&ge.failed.push(se),ge.status!==1){if(ge.status===2){qe();return}if(ge.status===3){gt();return}ge.status=1;var mt=T.fromTag("link",f.dom);I(mt,{rel:"stylesheet",type:"text/css",id:ge.id});var Xn=Date.now();n.contentCssCors&&O(mt,"crossOrigin","anonymous"),n.referrerPolicy&&O(mt,"referrerpolicy",n.referrerPolicy),pe=mt.dom,pe.onload=Zt,pe.onerror=gt,C(mt),O(mt,"href",Ae)}},F=function(re){return e0.nu(function(ce){z(re,Fa(ce,Y(h2.value(re))),Fa(ce,Y(h2.error(re))))})},K=function(re,ce,se){RT(Kn(re,F)).get(function(pe){var Ae=La(pe,function(ge){return ge.isValue()});Ae.fail.length>0?se(Ae.fail.map(Ef)):ce(Ae.pass.map(Ef))})},G=function(re){var ce=je._addCacheSuffix(re);Br(i,ce).each(function(se){var pe=--se.count;pe===0&&(delete i[ce],A(se.id))})},Z=function(re){xt(re,function(ce){G(ce)})};return{load:z,loadAll:K,unload:G,unloadAll:Z,_setReferrerPolicy:b}},To=function(){var e=new WeakMap,n=function(a,i){var s=Yu(a),f=s.dom;return J.from(e.get(f)).getOrThunk(function(){var g=p2(f,i);return e.set(f,g),g})};return{forElement:n}},Fc=To(),ba=function(){function e(n,a){this.node=n,this.rootNode=a,this.current=this.current.bind(this),this.next=this.next.bind(this),this.prev=this.prev.bind(this),this.prev2=this.prev2.bind(this)}return e.prototype.current=function(){return this.node},e.prototype.next=function(n){return this.node=this.findSibling(this.node,"firstChild","nextSibling",n),this.node},e.prototype.prev=function(n){return this.node=this.findSibling(this.node,"lastChild","previousSibling",n),this.node},e.prototype.prev2=function(n){return this.node=this.findPreviousNode(this.node,"lastChild","previousSibling",n),this.node},e.prototype.findSibling=function(n,a,i,s){var f,g;if(n){if(!s&&n[a])return n[a];if(n!==this.rootNode){if(f=n[i],f)return f;for(g=n.parentNode;g&&g!==this.rootNode;g=g.parentNode)if(f=g[i],f)return f}}},e.prototype.findPreviousNode=function(n,a,i,s){var f,g,b;if(n){if(f=n[i],this.rootNode&&f===this.rootNode)return;if(f){if(!s){for(b=f[a];b;b=b[a])if(!b[a])return b}return f}if(g=n.parentNode,g&&g!==this.rootNode)return g}},e}(),uv=["article","aside","details","div","dt","figcaption","footer","form","fieldset","header","hgroup","html","main","nav","section","summary","body","p","dl","multicol","dd","figure","address","center","blockquote","h1","h2","h3","h4","h5","h6","listing","xmp","pre","plaintext","menu","dir","ul","ol","li","hr","table","tbody","thead","tfoot","th","tr","td","caption"],hc=["td","th"],BT=["thead","tbody","tfoot"],ki=["h1","h2","h3","h4","h5","h6","p","div","address","pre","form","blockquote","center","dir","fieldset","header","footer","article","section","hgroup","aside","nav","figure"],Qu=["h1","h2","h3","h4","h5","h6"],b2=["li","dd","dt"],rt=["ul","ol","dl"],hs=["pre","script","textarea","style"],Of=function(e){var n;return function(a){return n=n||bo(e,Ht),ur(n,ia(a))}},er=Of(Qu),nc=Of(uv),MT=function(e){return ia(e)==="table"},Nu=function(e){return ro(e)&&!nc(e)},Am=function(e){return ro(e)&&ia(e)==="br"},Vl=Of(ki),Lc=Of(rt),Tu=Of(b2),sa=Of(BT),pl=Of(hc),ld=Of(hs),ja=function(e,n,a){return cd(e,n,a).isSome()},sv="\uFEFF",$s="\xA0",Ns=function(e){return e===sv},PT=function(e){return e.replace(/\uFEFF/g,"")},Se=sv,es=Ns,bl=PT,Dm=Qn,rc=an,Ia=function(e){return rc(e)&&(e=e.parentNode),Dm(e)&&e.hasAttribute("data-mce-caret")},qa=function(e){return rc(e)&&es(e.data)},ps=function(e){return Ia(e)||qa(e)},Af=function(e){return e.firstChild!==e.lastChild||!Na(e.firstChild)},n0=function(e,n){var a=e.ownerDocument,i=a.createTextNode(Se),s=e.parentNode;if(n){var f=e.previousSibling;if(rc(f)){if(ps(f))return f;if(Kg(f))return f.splitText(f.data.length-1)}s.insertBefore(i,e)}else{var f=e.nextSibling;if(rc(f)){if(ps(f))return f;if(Gg(f))return f.splitText(1),f}e.nextSibling?s.insertBefore(i,e.nextSibling):s.appendChild(i)}return i},In=function(e){var n=e.container();return an(n)?n.data.charAt(e.offset())===Se||e.isAtStart()&&qa(n.previousSibling):!1},Mp=function(e){var n=e.container();return an(n)?n.data.charAt(e.offset()-1)===Se||e.isAtEnd()&&qa(n.nextSibling):!1},ac=function(){var e=document.createElement("br");return e.setAttribute("data-mce-bogus","1"),e},y2=function(e,n,a){var i=n.ownerDocument,s=i.createElement(e);s.setAttribute("data-mce-caret",a?"before":"after"),s.setAttribute("data-mce-bogus","all"),s.appendChild(ac());var f=n.parentNode;return a?f.insertBefore(s,n):n.nextSibling?f.insertBefore(s,n.nextSibling):f.appendChild(s),s},Gg=function(e){return rc(e)&&e.data[0]===Se},Kg=function(e){return rc(e)&&e.data[e.data.length-1]===Se},r0=function(e){var n=e.getElementsByTagName("br"),a=n[n.length-1];Uo(a)&&a.parentNode.removeChild(a)},a0=function(e){return e&&e.hasAttribute("data-mce-caret")?(r0(e),e.removeAttribute("data-mce-caret"),e.removeAttribute("data-mce-bogus"),e.removeAttribute("style"),e.removeAttribute("_moz_abspos"),e):null},Ul=function(e){return Ia(e.startContainer)},Df=Ic,$T=ao,o0=Na,NT=an,w2=ec(["script","style","textarea"]),Xg=ec(["img","input","textarea","hr","iframe","video","audio","object","embed"]),Rm=ec(["table"]),C2=ps,Wl=function(e){return C2(e)?!1:NT(e)?!w2(e.parentNode):Xg(e)||o0(e)||Rm(e)||i0(e)},_m=function(e){return Qn(e)&&e.getAttribute("unselectable")==="true"},i0=function(e){return _m(e)===!1&&$T(e)},S2=function(e,n){for(e=e.parentNode;e&&e!==n;e=e.parentNode){if(i0(e))return!1;if(Df(e))return!0}return!0},IT=function(e){return i0(e)?Qr(Rr(e.getElementsByTagName("*")),function(n,a){return n||Df(a)},!1)!==!0:!1},zT=function(e){return Xg(e)||IT(e)},vi=function(e,n){return Wl(e)&&S2(e,n)},jl=/^[ \t\r\n]*$/,Hc=function(e){return jl.test(e)},cv=function(e,n){var a=T.fromDom(n),i=T.fromDom(e);return ja(i,"pre,code",Rt(jn,a))},x2=function(e,n){return an(e)&&Hc(e.data)&&cv(e,n)===!1},Vc=function(e){return Qn(e)&&e.nodeName==="A"&&!e.hasAttribute("href")&&(e.hasAttribute("name")||e.hasAttribute("id"))},fd=function(e,n){return Wl(e)&&x2(e,n)===!1||Vc(e)||u0(e)},u0=Su("data-mce-bookmark"),s0=Su("data-mce-bogus"),Rf=tc("data-mce-bogus","all"),pc=function(e,n){var a=0;if(fd(e,e))return!1;var i=e.firstChild;if(!i)return!0;var s=new ba(i,e);do{if(n){if(Rf(i)){i=s.next(!0);continue}if(s0(i)){i=s.next();continue}}if(Na(i)){a++,i=s.next();continue}if(fd(i,e))return!1;i=s.next()}while(i);return a<=1},su=function(e,n){return n===void 0&&(n=!0),pc(e.dom,n)},Pp=function(e){return e.nodeName.toLowerCase()==="span"},c0=function(e,n){return qt(e)&&(fd(e,n)||Nu(T.fromDom(e)))},vd=function(e,n){var a=new ba(e,n).prev(!1),i=new ba(e,n).next(!1),s=Ee(a)||c0(a,n),f=Ee(i)||c0(i,n);return s&&f},Bm=function(e){return Pp(e)&&e.getAttribute("data-mce-type")==="bookmark"},Mm=function(e,n){return an(e)&&e.data.length>0&&vd(e,n)},FT=function(e){return Qn(e)?e.childNodes.length>0:!1},Pm=function(e){return mr(e)||Fg(e)},l0=function(e,n,a){var i=a||n;if(Qn(n)&&Bm(n))return n;for(var s=n.childNodes,f=s.length-1;f>=0;f--)l0(e,s[f],i);if(Qn(n)){var g=n.childNodes;g.length===1&&Bm(g[0])&&n.parentNode.insertBefore(g[0],n)}return!Pm(n)&&!fd(n,i)&&!FT(n)&&!Mm(n,i)&&e.remove(n),n},LT=je.makeMap,Do=/[&<>\"\u0060\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,$p=/[<>&\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,lv=/[<>&\"\']/g,f0=/&#([a-z0-9]+);?|&([a-z0-9]+);/gi,v0={128:"\u20AC",130:"\u201A",131:"\u0192",132:"\u201E",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02C6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017D",145:"\u2018",146:"\u2019",147:"\u201C",148:"\u201D",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02DC",153:"\u2122",154:"\u0161",155:"\u203A",156:"\u0153",158:"\u017E",159:"\u0178"},bc={'"':""","'":"'","<":"<",">":">","&":"&","`":"`"},oc={"<":"<",">":">","&":"&",""":'"',"'":"'"},dd=function(e){var n=T.fromTag("div").dom;return n.innerHTML=e,n.textContent||n.innerText||e},fv=function(e,n){var a,i,s,f={};if(e){for(e=e.split(","),n=n||10,a=0;a<e.length;a+=2)i=String.fromCharCode(parseInt(e[a],n)),bc[i]||(s="&"+e[a+1]+";",f[i]=s,f[s]=i);return f}},Np=fv("50,nbsp,51,iexcl,52,cent,53,pound,54,curren,55,yen,56,brvbar,57,sect,58,uml,59,copy,5a,ordf,5b,laquo,5c,not,5d,shy,5e,reg,5f,macr,5g,deg,5h,plusmn,5i,sup2,5j,sup3,5k,acute,5l,micro,5m,para,5n,middot,5o,cedil,5p,sup1,5q,ordm,5r,raquo,5s,frac14,5t,frac12,5u,frac34,5v,iquest,60,Agrave,61,Aacute,62,Acirc,63,Atilde,64,Auml,65,Aring,66,AElig,67,Ccedil,68,Egrave,69,Eacute,6a,Ecirc,6b,Euml,6c,Igrave,6d,Iacute,6e,Icirc,6f,Iuml,6g,ETH,6h,Ntilde,6i,Ograve,6j,Oacute,6k,Ocirc,6l,Otilde,6m,Ouml,6n,times,6o,Oslash,6p,Ugrave,6q,Uacute,6r,Ucirc,6s,Uuml,6t,Yacute,6u,THORN,6v,szlig,70,agrave,71,aacute,72,acirc,73,atilde,74,auml,75,aring,76,aelig,77,ccedil,78,egrave,79,eacute,7a,ecirc,7b,euml,7c,igrave,7d,iacute,7e,icirc,7f,iuml,7g,eth,7h,ntilde,7i,ograve,7j,oacute,7k,ocirc,7l,otilde,7m,ouml,7n,divide,7o,oslash,7p,ugrave,7q,uacute,7r,ucirc,7s,uuml,7t,yacute,7u,thorn,7v,yuml,ci,fnof,sh,Alpha,si,Beta,sj,Gamma,sk,Delta,sl,Epsilon,sm,Zeta,sn,Eta,so,Theta,sp,Iota,sq,Kappa,sr,Lambda,ss,Mu,st,Nu,su,Xi,sv,Omicron,t0,Pi,t1,Rho,t3,Sigma,t4,Tau,t5,Upsilon,t6,Phi,t7,Chi,t8,Psi,t9,Omega,th,alpha,ti,beta,tj,gamma,tk,delta,tl,epsilon,tm,zeta,tn,eta,to,theta,tp,iota,tq,kappa,tr,lambda,ts,mu,tt,nu,tu,xi,tv,omicron,u0,pi,u1,rho,u2,sigmaf,u3,sigma,u4,tau,u5,upsilon,u6,phi,u7,chi,u8,psi,u9,omega,uh,thetasym,ui,upsih,um,piv,812,bull,816,hellip,81i,prime,81j,Prime,81u,oline,824,frasl,88o,weierp,88h,image,88s,real,892,trade,89l,alefsym,8cg,larr,8ch,uarr,8ci,rarr,8cj,darr,8ck,harr,8dl,crarr,8eg,lArr,8eh,uArr,8ei,rArr,8ej,dArr,8ek,hArr,8g0,forall,8g2,part,8g3,exist,8g5,empty,8g7,nabla,8g8,isin,8g9,notin,8gb,ni,8gf,prod,8gh,sum,8gi,minus,8gn,lowast,8gq,radic,8gt,prop,8gu,infin,8h0,ang,8h7,and,8h8,or,8h9,cap,8ha,cup,8hb,int,8hk,there4,8hs,sim,8i5,cong,8i8,asymp,8j0,ne,8j1,equiv,8j4,le,8j5,ge,8k2,sub,8k3,sup,8k4,nsub,8k6,sube,8k7,supe,8kl,oplus,8kn,otimes,8l5,perp,8m5,sdot,8o8,lceil,8o9,rceil,8oa,lfloor,8ob,rfloor,8p9,lang,8pa,rang,9ea,loz,9j0,spades,9j3,clubs,9j5,hearts,9j6,diams,ai,OElig,aj,oelig,b0,Scaron,b1,scaron,bo,Yuml,m6,circ,ms,tilde,802,ensp,803,emsp,809,thinsp,80c,zwnj,80d,zwj,80e,lrm,80f,rlm,80j,ndash,80k,mdash,80o,lsquo,80p,rsquo,80q,sbquo,80s,ldquo,80t,rdquo,80u,bdquo,810,dagger,811,Dagger,81g,permil,81p,lsaquo,81q,rsaquo,85c,euro",32),Yg=function(e,n){return e.replace(n?Do:$p,function(a){return bc[a]||a})},d0=function(e){return(""+e).replace(lv,function(n){return bc[n]||n})},md=function(e,n){return e.replace(n?Do:$p,function(a){return a.length>1?"&#"+((a.charCodeAt(0)-55296)*1024+(a.charCodeAt(1)-56320)+65536)+";":bc[a]||"&#"+a.charCodeAt(0)+";"})},Ip=function(e,n,a){return a=a||Np,e.replace(n?Do:$p,function(i){return bc[i]||a[i]||i})},HT=function(e,n){var a=fv(n)||Np,i=function(g,b){return g.replace(b?Do:$p,function(C){return bc[C]!==void 0?bc[C]:a[C]!==void 0?a[C]:C.length>1?"&#"+((C.charCodeAt(0)-55296)*1024+(C.charCodeAt(1)-56320)+65536)+";":"&#"+C.charCodeAt(0)+";"})},s=function(g,b){return Ip(g,b,a)},f=LT(e.replace(/\+/g,","));return f.named&&f.numeric?i:f.named?n?s:Ip:f.numeric?md:Yg},m0=function(e){return e.replace(f0,function(n,a){return a?(a.charAt(0).toLowerCase()==="x"?a=parseInt(a.substr(1),16):a=parseInt(a,10),a>65535?(a-=65536,String.fromCharCode(55296+(a>>10),56320+(a&1023))):v0[a]||String.fromCharCode(a)):oc[n]||Np[n]||dd(n)})},ic={encodeRaw:Yg,encodeAllRaw:d0,encodeNumeric:md,encodeNamed:Ip,getEncodeFunc:HT,decode:m0},Is={},$m={},Uc=je.makeMap,Iu=je.each,zp=je.extend,_f=je.explode,T2=je.inArray,cu=function(e,n){return e=je.trim(e),e?e.split(n||" "):[]},k2=function(e){var n={},a,i,s,f,g,b,C=function(N,z,F){var K,G,Z,re=function(se,pe){var Ae={},ge,Re;for(ge=0,Re=se.length;ge<Re;ge++)Ae[se[ge]]=pe||{};return Ae};F=F||[],z=z||"",typeof F=="string"&&(F=cu(F));var ce=cu(N);for(K=ce.length;K--;)G=cu([a,z].join(" ")),Z={attributes:re(G),attributesOrder:G,children:re(F,$m)},n[ce[K]]=Z},A=function(N,z){var F,K,G,Z,re=cu(N);F=re.length;for(var ce=cu(z);F--;)for(K=n[re[F]],G=0,Z=ce.length;G<Z;G++)K.attributes[ce[G]]={},K.attributesOrder.push(ce[G])};return Is[e]?Is[e]:(a="id accesskey class dir lang style tabindex title role",i="address blockquote div dl fieldset form h1 h2 h3 h4 h5 h6 hr menu ol p pre table ul",s="a abbr b bdo br button cite code del dfn em embed i iframe img input ins kbd label map noscript object q s samp script select small span strong sub sup textarea u var #text #comment",e!=="html4"&&(a+=" contenteditable contextmenu draggable dropzone hidden spellcheck translate",i+=" article aside details dialog figure main header footer hgroup section nav",s+=" audio canvas command datalist mark meter output picture progress time wbr video ruby bdi keygen"),e!=="html5-strict"&&(a+=" xml:lang",b="acronym applet basefont big font strike tt",s=[s,b].join(" "),Iu(cu(b),function(N){C(N,"",s)}),g="center dir isindex noframes",i=[i,g].join(" "),f=[i,s].join(" "),Iu(cu(g),function(N){C(N,"",f)})),f=f||[i,s].join(" "),C("html","manifest","head body"),C("head","","base command link meta noscript script style title"),C("title hr noscript br"),C("base","href target"),C("link","href rel media hreflang type sizes hreflang"),C("meta","name http-equiv content charset"),C("style","media type scoped"),C("script","src async defer type charset"),C("body","onafterprint onbeforeprint onbeforeunload onblur onerror onfocus onhashchange onload onmessage onoffline ononline onpagehide onpageshow onpopstate onresize onscroll onstorage onunload",f),C("address dt dd div caption","",f),C("h1 h2 h3 h4 h5 h6 pre p abbr code var samp kbd sub sup i b u bdo span legend em strong small s cite dfn","",s),C("blockquote","cite",f),C("ol","reversed start type","li"),C("ul","","li"),C("li","value",f),C("dl","","dt dd"),C("a","href target rel media hreflang type",s),C("q","cite",s),C("ins del","cite datetime",f),C("img","src sizes srcset alt usemap ismap width height"),C("iframe","src name width height",f),C("embed","src type width height"),C("object","data type typemustmatch name usemap form width height",[f,"param"].join(" ")),C("param","name value"),C("map","name",[f,"area"].join(" ")),C("area","alt coords shape href target rel media hreflang type"),C("table","border","caption colgroup thead tfoot tbody tr"+(e==="html4"?" col":"")),C("colgroup","span","col"),C("col","span"),C("tbody thead tfoot","","tr"),C("tr","","td th"),C("td","colspan rowspan headers",f),C("th","colspan rowspan headers scope abbr",f),C("form","accept-charset action autocomplete enctype method name novalidate target",f),C("fieldset","disabled form name",[f,"legend"].join(" ")),C("label","form for",s),C("input","accept alt autocomplete checked dirname disabled form formaction formenctype formmethod formnovalidate formtarget height list max maxlength min multiple name pattern readonly required size src step type value width"),C("button","disabled form formaction formenctype formmethod formnovalidate formtarget name type value",e==="html4"?f:s),C("select","disabled form multiple name required size","option optgroup"),C("optgroup","disabled label","option"),C("option","disabled label selected value"),C("textarea","cols dirname disabled form maxlength name readonly required rows wrap"),C("menu","type label",[f,"li"].join(" ")),C("noscript","",f),e!=="html4"&&(C("wbr"),C("ruby","",[s,"rt rp"].join(" ")),C("figcaption","",f),C("mark rt rp summary bdi","",s),C("canvas","width height",f),C("video","src crossorigin poster preload autoplay mediagroup loop muted controls width height buffered",[f,"track source"].join(" ")),C("audio","src crossorigin preload autoplay mediagroup loop muted controls buffered volume",[f,"track source"].join(" ")),C("picture","","img source"),C("source","src srcset type media sizes"),C("track","kind src srclang label default"),C("datalist","",[s,"option"].join(" ")),C("article section nav aside main header footer","",f),C("hgroup","","h1 h2 h3 h4 h5 h6"),C("figure","",[f,"figcaption"].join(" ")),C("time","datetime",s),C("dialog","open",f),C("command","type label icon disabled checked radiogroup command"),C("output","for form name",s),C("progress","value max",s),C("meter","value min max low high optimum",s),C("details","open",[f,"summary"].join(" ")),C("keygen","autofocus challenge disabled form keytype name")),e!=="html5-strict"&&(A("script","language xml:space"),A("style","xml:space"),A("object","declare classid code codebase codetype archive standby align border hspace vspace"),A("embed","align name hspace vspace"),A("param","valuetype type"),A("a","charset name rev shape coords"),A("br","clear"),A("applet","codebase archive code object alt name width height align hspace vspace"),A("img","name longdesc align border hspace vspace"),A("iframe","longdesc frameborder marginwidth marginheight scrolling align"),A("font basefont","size color face"),A("input","usemap align"),A("select"),A("textarea"),A("h1 h2 h3 h4 h5 h6 div p legend caption","align"),A("ul","type compact"),A("li","type"),A("ol dl menu dir","compact"),A("pre","width xml:space"),A("hr","align noshade size width"),A("isindex","prompt"),A("table","summary width frame rules cellspacing cellpadding align bgcolor"),A("col","width align char charoff valign"),A("colgroup","width align char charoff valign"),A("thead","align char charoff valign"),A("tr","align char charoff valign bgcolor"),A("th","axis align char charoff valign nowrap bgcolor width height"),A("form","accept"),A("td","abbr axis scope align char charoff valign nowrap bgcolor width height"),A("tfoot","align char charoff valign"),A("tbody","align char charoff valign"),A("area","nohref"),A("body","background bgcolor text link vlink alink")),e!=="html4"&&(A("input button select textarea","autofocus"),A("input textarea","placeholder"),A("a","download"),A("link script img","crossorigin"),A("img","loading"),A("iframe","sandbox seamless allowfullscreen loading")),Iu(cu("a form meter progress dfn"),function(N){n[N]&&delete n[N].children[N]}),delete n.caption.children.table,delete n.script,Is[e]=n,n)},Jg=function(e,n){var a;return e&&(a={},typeof e=="string"&&(e={"*":e}),Iu(e,function(i,s){a[s]=a[s.toUpperCase()]=n==="map"?Uc(i,/[, ]/):_f(i,/[, ]/)})),a},$r=function(e){var n={},a={},i=[],s={},f={},g=function(ft,$e,ht){var Ne=e[ft];return Ne?Ne=Uc(Ne,/[, ]/,Uc(Ne.toUpperCase(),/[, ]/)):(Ne=Is[ft],Ne||(Ne=Uc($e," ",Uc($e.toUpperCase()," ")),Ne=zp(Ne,ht),Is[ft]=Ne)),Ne};e=e||{};var b=k2(e.schema);e.verify_html===!1&&(e.valid_elements="*[*]");var C=Jg(e.valid_styles),A=Jg(e.invalid_styles,"map"),N=Jg(e.valid_classes,"map"),z=g("whitespace_elements","pre script noscript style textarea video audio iframe object code"),F=g("self_closing_elements","colgroup dd dt li option p td tfoot th thead tr"),K=g("short_ended_elements","area base basefont br col frame hr img input isindex link meta param embed source wbr track"),G=g("boolean_attributes","checked compact declare defer disabled ismap multiple nohref noresize noshade nowrap readonly selected autoplay loop controls"),Z="td th iframe video audio object script code",re=g("non_empty_elements",Z+" pre",K),ce=g("move_caret_before_on_enter_elements",Z+" table",K),se=g("text_block_elements","h1 h2 h3 h4 h5 h6 p div address pre form blockquote center dir fieldset header footer article section hgroup aside main nav figure"),pe=g("block_elements","hr table tbody thead tfoot th tr td li ol ul caption dl dt dd noscript menu isindex option datalist select optgroup figcaption details summary",se),Ae=g("text_inline_elements","span strong b em i font strike u var cite dfn code mark q sup sub samp");Iu((e.special||"script noscript iframe noframes noembed title style textarea xmp").split(" "),function(ft){f[ft]=new RegExp("</"+ft+"[^>]*>","gi")});var ge=function(ft){return new RegExp("^"+ft.replace(/([?+*])/g,".$1")+"$")},Re=function(ft){var $e,ht,Ne,gn,Pt,qn,Nr,vo,xs,Xs,Pl,Ts,ks,zi,pm,Ru,$l,nd,Ro=/^([#+\-])?([^\[!\/]+)(?:\/([^\[!]+))?(?:(!?)\[([^\]]+)])?$/,Ya=/^([!\-])?(\w+[\\:]:\w+|[^=:<]+)?(?:([=:<])(.*))?$/,Ri=/[*?+]/;if(ft){var df=cu(ft,",");for(n["@"]&&(Ru=n["@"].attributes,$l=n["@"].attributesOrder),$e=0,ht=df.length;$e<ht;$e++)if(Pt=Ro.exec(df[$e]),Pt){if(zi=Pt[1],xs=Pt[2],pm=Pt[3],vo=Pt[5],Ts={},ks=[],qn={attributes:Ts,attributesOrder:ks},zi==="#"&&(qn.paddEmpty=!0),zi==="-"&&(qn.removeEmpty=!0),Pt[4]==="!"&&(qn.removeEmptyAttrs=!0),Ru&&(Gt(Ru,function(rd,mf){Ts[mf]=rd}),ks.push.apply(ks,$l)),vo){for(vo=cu(vo,"|"),Ne=0,gn=vo.length;Ne<gn;Ne++)if(Pt=Ya.exec(vo[Ne]),Pt){if(Nr={},Pl=Pt[1],Xs=Pt[2].replace(/[\\:]:/g,":"),zi=Pt[3],nd=Pt[4],Pl==="!"&&(qn.attributesRequired=qn.attributesRequired||[],qn.attributesRequired.push(Xs),Nr.required=!0),Pl==="-"){delete Ts[Xs],ks.splice(T2(ks,Xs),1);continue}zi&&(zi==="="&&(qn.attributesDefault=qn.attributesDefault||[],qn.attributesDefault.push({name:Xs,value:nd}),Nr.defaultValue=nd),zi===":"&&(qn.attributesForced=qn.attributesForced||[],qn.attributesForced.push({name:Xs,value:nd}),Nr.forcedValue=nd),zi==="<"&&(Nr.validValues=Uc(nd,"?"))),Ri.test(Xs)?(qn.attributePatterns=qn.attributePatterns||[],Nr.pattern=ge(Xs),qn.attributePatterns.push(Nr)):(Ts[Xs]||ks.push(Xs),Ts[Xs]=Nr)}}!Ru&&xs==="@"&&(Ru=Ts,$l=ks),pm&&(qn.outputName=xs,n[pm]=qn),Ri.test(xs)?(qn.pattern=ge(xs),i.push(qn)):n[xs]=qn}}},qe=function(ft){n={},i=[],Re(ft),Iu(b,function($e,ht){a[ht]=$e.children})},gt=function(ft){var $e=/^(~)?(.+)$/;ft&&(Is.text_block_elements=Is.block_elements=null,Iu(cu(ft,","),function(ht){var Ne=$e.exec(ht),gn=Ne[1]==="~",Pt=gn?"span":"div",qn=Ne[2];if(a[qn]=a[Pt],s[qn]=Pt,gn||(pe[qn.toUpperCase()]={},pe[qn]={}),!n[qn]){var Nr=n[Pt];Nr=zp({},Nr),delete Nr.removeEmptyAttrs,delete Nr.removeEmpty,n[qn]=Nr}Iu(a,function(vo,xs){vo[Pt]&&(a[xs]=vo=zp({},a[xs]),vo[qn]=vo[Pt])})}))},zn=function(ft){var $e=/^([+\-]?)([A-Za-z0-9_\-.\u00b7\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u037d\u037f-\u1fff\u200c-\u200d\u203f-\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]+)\[([^\]]+)]$/;Is[e.schema]=null,ft&&Iu(cu(ft,","),function(ht){var Ne=$e.exec(ht),gn,Pt;Ne&&(Pt=Ne[1],Pt?gn=a[Ne[2]]:gn=a[Ne[2]]={"#comment":{}},gn=a[Ne[2]],Iu(cu(Ne[3],"|"),function(qn){Pt==="-"?delete gn[qn]:gn[qn]={}}))})},Zt=function(ft){var $e=n[ft],ht;if($e)return $e;for(ht=i.length;ht--;)if($e=i[ht],$e.pattern.test(ft))return $e};e.valid_elements?qe(e.valid_elements):(Iu(b,function(ft,$e){n[$e]={attributes:ft.attributes,attributesOrder:ft.attributesOrder},a[$e]=ft.children}),e.schema!=="html5"&&Iu(cu("strong/b em/i"),function(ft){var $e=cu(ft,"/");n[$e[1]].outputName=$e[0]}),Iu(cu("ol ul sub sup blockquote span font a table tbody strong em b i"),function(ft){n[ft]&&(n[ft].removeEmpty=!0)}),Iu(cu("p h1 h2 h3 h4 h5 h6 th td pre div address caption li"),function(ft){n[ft].paddEmpty=!0}),Iu(cu("span"),function(ft){n[ft].removeEmptyAttrs=!0})),gt(e.custom_elements),zn(e.valid_children),Re(e.extended_valid_elements),zn("+ol[ul|ol],+ul[ul|ol]"),Iu({dd:"dl",dt:"dl",li:"ul ol",td:"tr",th:"tr",tr:"tbody thead tfoot",tbody:"table",thead:"table",tfoot:"table",legend:"fieldset",area:"map",param:"video audio object"},function(ft,$e){n[$e]&&(n[$e].parentsRequired=cu(ft))}),e.invalid_elements&&Iu(_f(e.invalid_elements),function(ft){n[ft]&&delete n[ft]}),Zt("span")||Re("span[!data-mce-type|*]");var mt=Y(C),Xn=Y(A),Tt=Y(N),en=Y(G),Ct=Y(pe),Ft=Y(se),rn=Y(Ae),lt=Y(K),un=Y(F),cr=Y(re),Oa=Y(ce),Xr=Y(z),hi=Y(f),Ko=function(ft,$e){var ht=a[ft.toLowerCase()];return!!(ht&&ht[$e.toLowerCase()])},fc=function(ft,$e){var ht,Ne,gn=Zt(ft);if(gn)if($e){if(gn.attributes[$e])return!0;if(ht=gn.attributePatterns,ht){for(Ne=ht.length;Ne--;)if(ht[Ne].pattern.test(ft))return!0}}else return!0;return!1},$c=Y(s);return{children:a,elements:n,getValidStyles:mt,getValidClasses:Tt,getBlockElements:Ct,getInvalidStyles:Xn,getShortEndedElements:lt,getTextBlockElements:Ft,getTextInlineElements:rn,getBoolAttrs:en,getElementRule:Zt,getSelfClosingElements:un,getNonEmptyElements:cr,getMoveCaretBeforeOnEnterElements:Oa,getWhiteSpaceElements:Xr,getSpecialElements:hi,isValidChild:Ko,isValid:fc,getCustomElements:$c,addValidElements:Re,setValidElements:qe,addCustomElements:gt,addValidChildren:zn}},Hn=function(e,n,a,i){var s=function(f){return f=parseInt(f,10).toString(16),f.length>1?f:"0"+f};return"#"+s(n)+s(a)+s(i)},Bf=function(e,n){var a=this,i=/rgb\s*\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*\)/gi,s=/(?:url(?:(?:\(\s*\"([^\"]+)\"\s*\))|(?:\(\s*\'([^\']+)\'\s*\))|(?:\(\s*([^)\s]+)\s*\))))|(?:\'([^\']+)\')|(?:\"([^\"]+)\")/gi,f=/\s*([^:]+):\s*([^;]+);?/g,g=/\s+$/,b,C={},A,N,z=sv;e=e||{},n&&(A=n.getValidStyles(),N=n.getInvalidStyles());var F=(`\\" \\' \\; \\: ; : `+z).split(" ");for(b=0;b<F.length;b++)C[F[b]]=z+b,C[z+b]=F[b];return{toHex:function(K){return K.replace(i,Hn)},parse:function(K){var G={},Z,re,ce,se,pe=e.url_converter,Ae=e.url_converter_scope||a,ge=function(Tt,en,Ct){var Ft=G[Tt+"-top"+en];if(!!Ft){var rn=G[Tt+"-right"+en];if(!!rn){var lt=G[Tt+"-bottom"+en];if(!!lt){var un=G[Tt+"-left"+en];if(!!un){var cr=[Ft,rn,lt,un];for(b=cr.length-1;b--&&cr[b]===cr[b+1];);b>-1&&Ct||(G[Tt+en]=b===-1?cr[0]:cr.join(" "),delete G[Tt+"-top"+en],delete G[Tt+"-right"+en],delete G[Tt+"-bottom"+en],delete G[Tt+"-left"+en])}}}}},Re=function(Tt){var en=G[Tt],Ct;if(!!en){for(en=en.split(" "),Ct=en.length;Ct--;)if(en[Ct]!==en[0])return!1;return G[Tt]=en[0],!0}},qe=function(Tt,en,Ct,Ft){!Re(en)||!Re(Ct)||!Re(Ft)||(G[Tt]=G[en]+" "+G[Ct]+" "+G[Ft],delete G[en],delete G[Ct],delete G[Ft])},gt=function(Tt){return se=!0,C[Tt]},zn=function(Tt,en){return se&&(Tt=Tt.replace(/\uFEFF[0-9]/g,function(Ct){return C[Ct]})),en||(Tt=Tt.replace(/\\([\'\";:])/g,"$1")),Tt},Zt=function(Tt){return String.fromCharCode(parseInt(Tt.slice(1),16))},mt=function(Tt){return Tt.replace(/\\[0-9a-f]+/gi,Zt)},Xn=function(Tt,en,Ct,Ft,rn,lt){if(rn=rn||lt,rn)return rn=zn(rn),"'"+rn.replace(/\'/g,"\\'")+"'";if(en=zn(en||Ct||Ft),!e.allow_script_urls){var un=en.replace(/[\s\r\n]+/g,"");if(/(java|vb)script:/i.test(un)||!e.allow_svg_data_urls&&/^data:image\/svg/i.test(un))return""}return pe&&(en=pe.call(Ae,en,"style")),"url('"+en.replace(/\'/g,"\\'")+"')"};if(K){for(K=K.replace(/[\u0000-\u001F]/g,""),K=K.replace(/\\[\"\';:\uFEFF]/g,gt).replace(/\"[^\"]+\"|\'[^\']+\'/g,function(Tt){return Tt.replace(/[;:]/g,gt)});Z=f.exec(K);)if(f.lastIndex=Z.index+Z[0].length,re=Z[1].replace(g,"").toLowerCase(),ce=Z[2].replace(g,""),re&&ce){if(re=mt(re),ce=mt(ce),re.indexOf(z)!==-1||re.indexOf('"')!==-1||!e.allow_script_urls&&(re==="behavior"||/expression\s*\(|\/\*|\*\//.test(ce)))continue;re==="font-weight"&&ce==="700"?ce="bold":(re==="color"||re==="background-color")&&(ce=ce.toLowerCase()),ce=ce.replace(i,Hn),ce=ce.replace(s,Xn),G[re]=se?zn(ce,!0):ce}ge("border","",!0),ge("border","-width"),ge("border","-color"),ge("border","-style"),ge("padding",""),ge("margin",""),qe("border","border-width","border-style","border-color"),G.border==="medium none"&&delete G.border,G["border-image"]==="none"&&delete G["border-image"]}return G},serialize:function(K,G){var Z="",re=function(se){var pe,Ae=A[se];if(Ae)for(var ge=0,Re=Ae.length;ge<Re;ge++)se=Ae[ge],pe=K[se],pe&&(Z+=(Z.length>0?" ":"")+se+": "+pe+";")},ce=function(se,pe){var Ae=N["*"];return Ae&&Ae[se]?!1:(Ae=N[pe],!(Ae&&Ae[se]))};return G&&A?(re("*"),re(G)):Gt(K,function(se,pe){se&&(!N||ce(pe,G))&&(Z+=(Z.length>0?" ":"")+pe+": "+se+";")}),Z}}},g0={keyLocation:!0,layerX:!0,layerY:!0,returnValue:!0,webkitMovementX:!0,webkitMovementY:!0,keyIdentifier:!0,mozPressure:!0},Wc=function(e){return e instanceof Event||pt(e.initEvent)},E2=function(e){return e.isDefaultPrevented===Ht||e.isDefaultPrevented===yt},Ga=function(e){return $t(e.preventDefault)||Wc(e)},h0=function(e,n){var a=n!=null?n:{};for(var i in e)ur(g0,i)||(a[i]=e[i]);return qt(a.composedPath)&&(a.composedPath=function(){return e.composedPath()}),a},Zg=function(e,n,a,i){var s,f=h0(n,i);return f.type=e,$t(f.target)&&(f.target=(s=f.srcElement)!==null&&s!==void 0?s:a),Ga(n)&&(f.preventDefault=function(){f.defaultPrevented=!0,f.isDefaultPrevented=Ht,pt(n.preventDefault)?n.preventDefault():Wc(n)&&(n.returnValue=!1)},f.stopPropagation=function(){f.cancelBubble=!0,f.isPropagationStopped=Ht,pt(n.stopPropagation)?n.stopPropagation():Wc(n)&&(n.cancelBubble=!0)},f.stopImmediatePropagation=function(){f.isImmediatePropagationStopped=Ht,f.stopPropagation()},E2(f)||(f.isDefaultPrevented=f.defaultPrevented===!0?Ht:yt,f.isPropagationStopped=f.cancelBubble===!0?Ht:yt,f.isImmediatePropagationStopped=yt)),f},Fp="mce-data-",it=/^(?:mouse|contextmenu)|click/,Qg=function(e,n,a,i){e.addEventListener?e.addEventListener(n,a,i||!1):e.attachEvent&&e.attachEvent("on"+n,a)},Nm=function(e,n,a,i){e.removeEventListener?e.removeEventListener(n,a,i||!1):e.detachEvent&&e.detachEvent("on"+n,a)},Im=function(e){return qt(e)&&it.test(e.type)},gd=function(e,n){var a=Zg(e.type,e,document,n);if(Im(e)&&Ee(e.pageX)&&!Ee(e.clientX)){var i=a.target.ownerDocument||document,s=i.documentElement,f=i.body,g=a;g.pageX=e.clientX+(s&&s.scrollLeft||f&&f.scrollLeft||0)-(s&&s.clientLeft||f&&f.clientLeft||0),g.pageY=e.clientY+(s&&s.scrollTop||f&&f.scrollTop||0)-(s&&s.clientTop||f&&f.clientTop||0)}return Ee(a.metaKey)&&(a.metaKey=!1),a},hd=function(e,n,a){var i=e.document,s={type:"ready"};if(a.domLoaded){n(s);return}var f=function(){return i.readyState==="complete"||i.readyState==="interactive"&&i.body},g=function(){Nm(e,"DOMContentLoaded",g),Nm(e,"load",g),a.domLoaded||(a.domLoaded=!0,n(s)),e=null};f()?g():Qg(e,"DOMContentLoaded",g),a.domLoaded||Qg(e,"load",g)},vv=function(){function e(){this.domLoaded=!1,this.events={},this.count=1,this.expando=Fp+(+new Date).toString(32),this.hasMouseEnterLeave="onmouseenter"in document.documentElement,this.hasFocusIn="onfocusin"in document.documentElement,this.count=1}return e.prototype.bind=function(n,a,i,s){var f=this,g,b,C,A,N,z,F,K=window,G=function(re){f.executeHandlers(gd(re||K.event),g)};if(!(!n||n.nodeType===3||n.nodeType===8)){n[f.expando]?g=n[f.expando]:(g=f.count++,n[f.expando]=g,f.events[g]={}),s=s||n;var Z=a.split(" ");for(C=Z.length;C--;){if(A=Z[C],z=G,N=F=!1,A==="DOMContentLoaded"&&(A="ready"),f.domLoaded&&A==="ready"&&n.readyState==="complete"){i.call(s,gd({type:A}));continue}f.hasMouseEnterLeave||(N=f.mouseEnterLeave[A],N&&(z=function(re){var ce=re.currentTarget,se=re.relatedTarget;if(se&&ce.contains)se=ce.contains(se);else for(;se&&se!==ce;)se=se.parentNode;se||(re=gd(re||K.event),re.type=re.type==="mouseout"?"mouseleave":"mouseenter",re.target=ce,f.executeHandlers(re,g))})),!f.hasFocusIn&&(A==="focusin"||A==="focusout")&&(F=!0,N=A==="focusin"?"focus":"blur",z=function(re){re=gd(re||K.event),re.type=re.type==="focus"?"focusin":"focusout",f.executeHandlers(re,g)}),b=f.events[g][A],b?A==="ready"&&f.domLoaded?i(gd({type:A})):b.push({func:i,scope:s}):(f.events[g][A]=b=[{func:i,scope:s}],b.fakeName=N,b.capture=F,b.nativeHandler=z,A==="ready"?hd(n,z,f):Qg(n,N||A,z,F))}return n=b=null,i}},e.prototype.unbind=function(n,a,i){var s,f,g,b,C;if(!n||n.nodeType===3||n.nodeType===8)return this;var A=n[this.expando];if(A){if(C=this.events[A],a){var N=a.split(" ");for(f=N.length;f--;)if(b=N[f],s=C[b],s){if(i){for(g=s.length;g--;)if(s[g].func===i){var z=s.nativeHandler,F=s.fakeName,K=s.capture;s=s.slice(0,g).concat(s.slice(g+1)),s.nativeHandler=z,s.fakeName=F,s.capture=K,C[b]=s}}(!i||s.length===0)&&(delete C[b],Nm(n,s.fakeName||b,s.nativeHandler,s.capture))}}else Gt(C,function(G,Z){Nm(n,G.fakeName||Z,G.nativeHandler,G.capture)}),C={};for(b in C)if(ur(C,b))return this;delete this.events[A];try{delete n[this.expando]}catch{n[this.expando]=null}}return this},e.prototype.fire=function(n,a,i){var s;if(!n||n.nodeType===3||n.nodeType===8)return this;var f=gd({type:a,target:n},i);do s=n[this.expando],s&&this.executeHandlers(f,s),n=n.parentNode||n.ownerDocument||n.defaultView||n.parentWindow;while(n&&!f.isPropagationStopped());return this},e.prototype.clean=function(n){var a,i;if(!n||n.nodeType===3||n.nodeType===8)return this;if(n[this.expando]&&this.unbind(n),n.getElementsByTagName||(n=n.document),n&&n.getElementsByTagName)for(this.unbind(n),i=n.getElementsByTagName("*"),a=i.length;a--;)n=i[a],n[this.expando]&&this.unbind(n);return this},e.prototype.destroy=function(){this.events={}},e.prototype.cancel=function(n){return n&&(n.preventDefault(),n.stopImmediatePropagation()),!1},e.prototype.executeHandlers=function(n,a){var i=this.events[a],s=i&&i[n.type];if(s)for(var f=0,g=s.length;f<g;f++){var b=s[f];if(b&&b.func.call(b.scope,n)===!1&&n.preventDefault(),n.isImmediatePropagationStopped())return}},e.Event=new e,e}(),jo,Za,Mf,lo,zs,p0,jc,Lp,bs,yl,Pf,Gi,Hp,ku,Ki,zm,VT,eh,di="sizzle"+-new Date,on=window.document,yc=0,UT=0,O2=S0(),Fm=S0(),A2=S0(),th=function(e,n){return e===n&&(yl=!0),0},ql="undefined",pd=1<<31,b0={}.hasOwnProperty,wl=[],WT=wl.pop,bd=wl.push,Gl=wl.push,dv=wl.slice,yd=wl.indexOf||function(e){for(var n=0,a=this.length;n<a;n++)if(this[n]===e)return n;return-1},D2="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ei="[\\x20\\t\\r\\n\\f]",mv="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",wd="\\["+ei+"*("+mv+")(?:"+ei+"*([*^$|!~]?=)"+ei+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+mv+"))|)"+ei+"*\\]",Fs=":("+mv+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+wd+")*)|.*)\\)|)",Xi=new RegExp("^"+ei+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ei+"+$","g"),jT=new RegExp("^"+ei+"*,"+ei+"*"),qT=new RegExp("^"+ei+"*([>+~]|"+ei+")"+ei+"*"),GT=new RegExp("="+ei+`*([^\\]'"]*?)`+ei+"*\\]","g"),R2=new RegExp(Fs),qc=new RegExp("^"+mv+"$"),Vp={ID:new RegExp("^#("+mv+")"),CLASS:new RegExp("^\\.("+mv+")"),TAG:new RegExp("^("+mv+"|[*])"),ATTR:new RegExp("^"+wd),PSEUDO:new RegExp("^"+Fs),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ei+"*(even|odd|(([+-]|)(\\d*)n|)"+ei+"*(?:([+-]|)"+ei+"*(\\d+)|))"+ei+"*\\)|)","i"),bool:new RegExp("^(?:"+D2+")$","i"),needsContext:new RegExp("^"+ei+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ei+"*((?:-\\d)?\\d*)"+ei+"*\\)|)(?=[^-]|$)","i")},Lm=/^(?:input|select|textarea|button)$/i,KT=/^h\d$/i,y0=/^[^{]+\{\s*\[native \w/,_2=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,w0=/[+~]/,C0=/'|\\/g,gv=new RegExp("\\\\([\\da-f]{1,6}"+ei+"?|("+ei+")|.)","ig"),hv=function(e,n,a){var i="0x"+n-65536;return i!==i||a?n:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,i&1023|56320)};try{Gl.apply(wl=dv.call(on.childNodes),on.childNodes),wl[on.childNodes.length].nodeType}catch{Gl={apply:wl.length?function(n,a){bd.apply(n,dv.call(a))}:function(n,a){for(var i=n.length,s=0;n[i++]=a[s++];);n.length=i-1}}}var Wa=function(e,n,a,i){var s,f,g,b,C,A,N,z,F,K;if((n?n.ownerDocument||n:on)!==Gi&&Pf(n),n=n||Gi,a=a||[],!e||typeof e!="string")return a;if((b=n.nodeType)!==1&&b!==9)return[];if(ku&&!i){if(s=_2.exec(e))if(g=s[1]){if(b===9)if(f=n.getElementById(g),f&&f.parentNode){if(f.id===g)return a.push(f),a}else return a;else if(n.ownerDocument&&(f=n.ownerDocument.getElementById(g))&&eh(n,f)&&f.id===g)return a.push(f),a}else{if(s[2])return Gl.apply(a,n.getElementsByTagName(e)),a;if((g=s[3])&&jo.getElementsByClassName)return Gl.apply(a,n.getElementsByClassName(g)),a}if(jo.qsa&&(!Ki||!Ki.test(e))){if(z=N=di,F=n,K=b===9&&e,b===1&&n.nodeName.toLowerCase()!=="object"){for(A=zs(e),(N=n.getAttribute("id"))?z=N.replace(C0,"\\$&"):n.setAttribute("id",z),z="[id='"+z+"'] ",C=A.length;C--;)A[C]=z+nh(A[C]);F=w0.test(e)&&Gc(n.parentNode)||n,K=A.join(",")}if(K)try{return Gl.apply(a,F.querySelectorAll(K)),a}catch{}finally{N||n.removeAttribute("id")}}}return jc(e.replace(Xi,"$1"),n,a,i)};function S0(){var e=[];function n(a,i){return e.push(a+" ")>Za.cacheLength&&delete n[e.shift()],n[a+" "]=i}return n}function wc(e){return e[di]=!0,e}function x0(e,n){var a=n&&e,i=a&&e.nodeType===1&&n.nodeType===1&&(~n.sourceIndex||pd)-(~e.sourceIndex||pd);if(i)return i;if(a){for(;a=a.nextSibling;)if(a===n)return-1}return e?1:-1}function XT(e){return function(n){var a=n.nodeName.toLowerCase();return a==="input"&&n.type===e}}function YT(e){return function(n){var a=n.nodeName.toLowerCase();return(a==="input"||a==="button")&&n.type===e}}function ts(e){return wc(function(n){return n=+n,wc(function(a,i){for(var s,f=e([],a.length,n),g=f.length;g--;)a[s=f[g]]&&(a[s]=!(i[s]=a[s]))})})}function Gc(e){return e&&typeof e.getElementsByTagName!==ql&&e}jo=Wa.support={},lo=Wa.isXML=function(e){var n=e&&(e.ownerDocument||e).documentElement;return n?n.nodeName!=="HTML":!1},Pf=Wa.setDocument=function(e){var n,a=e?e.ownerDocument||e:on,i=a.defaultView;function s(f){try{return f.top}catch{}return null}return a===Gi||a.nodeType!==9||!a.documentElement?Gi:(Gi=a,Hp=a.documentElement,ku=!lo(a),i&&i!==s(i)&&(i.addEventListener?i.addEventListener("unload",function(){Pf()},!1):i.attachEvent&&i.attachEvent("onunload",function(){Pf()})),jo.attributes=!0,jo.getElementsByTagName=!0,jo.getElementsByClassName=y0.test(a.getElementsByClassName),jo.getById=!0,Za.find.ID=function(f,g){if(typeof g.getElementById!==ql&&ku){var b=g.getElementById(f);return b&&b.parentNode?[b]:[]}},Za.filter.ID=function(f){var g=f.replace(gv,hv);return function(b){return b.getAttribute("id")===g}},Za.find.TAG=jo.getElementsByTagName?function(f,g){if(typeof g.getElementsByTagName!==ql)return g.getElementsByTagName(f)}:function(f,g){var b,C=[],A=0,N=g.getElementsByTagName(f);if(f==="*"){for(;b=N[A++];)b.nodeType===1&&C.push(b);return C}return N},Za.find.CLASS=jo.getElementsByClassName&&function(f,g){if(ku)return g.getElementsByClassName(f)},zm=[],Ki=[],jo.disconnectedMatch=!0,Ki=Ki.length&&new RegExp(Ki.join("|")),zm=zm.length&&new RegExp(zm.join("|")),n=y0.test(Hp.compareDocumentPosition),eh=n||y0.test(Hp.contains)?function(f,g){var b=f.nodeType===9?f.documentElement:f,C=g&&g.parentNode;return f===C||!!(C&&C.nodeType===1&&(b.contains?b.contains(C):f.compareDocumentPosition&&f.compareDocumentPosition(C)&16))}:function(f,g){if(g){for(;g=g.parentNode;)if(g===f)return!0}return!1},th=n?function(f,g){if(f===g)return yl=!0,0;var b=!f.compareDocumentPosition-!g.compareDocumentPosition;return b||(b=(f.ownerDocument||f)===(g.ownerDocument||g)?f.compareDocumentPosition(g):1,b&1||!jo.sortDetached&&g.compareDocumentPosition(f)===b?f===a||f.ownerDocument===on&&eh(on,f)?-1:g===a||g.ownerDocument===on&&eh(on,g)?1:bs?yd.call(bs,f)-yd.call(bs,g):0:b&4?-1:1)}:function(f,g){if(f===g)return yl=!0,0;var b,C=0,A=f.parentNode,N=g.parentNode,z=[f],F=[g];if(!A||!N)return f===a?-1:g===a?1:A?-1:N?1:bs?yd.call(bs,f)-yd.call(bs,g):0;if(A===N)return x0(f,g);for(b=f;b=b.parentNode;)z.unshift(b);for(b=g;b=b.parentNode;)F.unshift(b);for(;z[C]===F[C];)C++;return C?x0(z[C],F[C]):z[C]===on?-1:F[C]===on?1:0},a)},Wa.matches=function(e,n){return Wa(e,null,null,n)},Wa.matchesSelector=function(e,n){if((e.ownerDocument||e)!==Gi&&Pf(e),n=n.replace(GT,"='$1']"),jo.matchesSelector&&ku&&(!zm||!zm.test(n))&&(!Ki||!Ki.test(n)))try{var a=VT.call(e,n);if(a||jo.disconnectedMatch||e.document&&e.document.nodeType!==11)return a}catch{}return Wa(n,Gi,null,[e]).length>0},Wa.contains=function(e,n){return(e.ownerDocument||e)!==Gi&&Pf(e),eh(e,n)},Wa.attr=function(e,n){(e.ownerDocument||e)!==Gi&&Pf(e);var a=Za.attrHandle[n.toLowerCase()],i=a&&b0.call(Za.attrHandle,n.toLowerCase())?a(e,n,!ku):void 0;return i!==void 0?i:jo.attributes||!ku?e.getAttribute(n):(i=e.getAttributeNode(n))&&i.specified?i.value:null},Wa.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},Wa.uniqueSort=function(e){var n,a=[],i=0,s=0;if(yl=!jo.detectDuplicates,bs=!jo.sortStable&&e.slice(0),e.sort(th),yl){for(;n=e[s++];)n===e[s]&&(i=a.push(s));for(;i--;)e.splice(a[i],1)}return bs=null,e},Mf=Wa.getText=function(e){var n,a="",i=0,s=e.nodeType;if(s){if(s===1||s===9||s===11){if(typeof e.textContent=="string")return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)a+=Mf(e)}else if(s===3||s===4)return e.nodeValue}else for(;n=e[i++];)a+=Mf(n);return a},Za=Wa.selectors={cacheLength:50,createPseudo:wc,match:Vp,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(gv,hv),e[3]=(e[3]||e[4]||e[5]||"").replace(gv,hv),e[2]==="~="&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),e[1].slice(0,3)==="nth"?(e[3]||Wa.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*(e[3]==="even"||e[3]==="odd")),e[5]=+(e[7]+e[8]||e[3]==="odd")):e[3]&&Wa.error(e[0]),e},PSEUDO:function(e){var n,a=!e[6]&&e[2];return Vp.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":a&&R2.test(a)&&(n=zs(a,!0))&&(n=a.indexOf(")",a.length-n)-a.length)&&(e[0]=e[0].slice(0,n),e[2]=a.slice(0,n)),e.slice(0,3))}},filter:{TAG:function(e){var n=e.replace(gv,hv).toLowerCase();return e==="*"?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===n}},CLASS:function(e){var n=O2[e+" "];return n||(n=new RegExp("(^|"+ei+")"+e+"("+ei+"|$)"))&&O2(e,function(a){return n.test(typeof a.className=="string"&&a.className||typeof a.getAttribute!==ql&&a.getAttribute("class")||"")})},ATTR:function(e,n,a){return function(i){var s=Wa.attr(i,e);return s==null?n==="!=":n?(s+="",n==="="?s===a:n==="!="?s!==a:n==="^="?a&&s.indexOf(a)===0:n==="*="?a&&s.indexOf(a)>-1:n==="$="?a&&s.slice(-a.length)===a:n==="~="?(" "+s+" ").indexOf(a)>-1:n==="|="?s===a||s.slice(0,a.length+1)===a+"-":!1):!0}},CHILD:function(e,n,a,i,s){var f=e.slice(0,3)!=="nth",g=e.slice(-4)!=="last",b=n==="of-type";return i===1&&s===0?function(C){return!!C.parentNode}:function(C,A,N){var z,F,K,G,Z,re,ce=f!==g?"nextSibling":"previousSibling",se=C.parentNode,pe=b&&C.nodeName.toLowerCase(),Ae=!N&&!b;if(se){if(f){for(;ce;){for(K=C;K=K[ce];)if(b?K.nodeName.toLowerCase()===pe:K.nodeType===1)return!1;re=ce=e==="only"&&!re&&"nextSibling"}return!0}if(re=[g?se.firstChild:se.lastChild],g&&Ae){for(F=se[di]||(se[di]={}),z=F[e]||[],Z=z[0]===yc&&z[1],G=z[0]===yc&&z[2],K=Z&&se.childNodes[Z];K=++Z&&K&&K[ce]||(G=Z=0)||re.pop();)if(K.nodeType===1&&++G&&K===C){F[e]=[yc,Z,G];break}}else if(Ae&&(z=(C[di]||(C[di]={}))[e])&&z[0]===yc)G=z[1];else for(;(K=++Z&&K&&K[ce]||(G=Z=0)||re.pop())&&!((b?K.nodeName.toLowerCase()===pe:K.nodeType===1)&&++G&&(Ae&&((K[di]||(K[di]={}))[e]=[yc,G]),K===C)););return G-=s,G===i||G%i===0&&G/i>=0}}},PSEUDO:function(e,n){var a,i=Za.pseudos[e]||Za.setFilters[e.toLowerCase()]||Wa.error("unsupported pseudo: "+e);return i[di]?i(n):i.length>1?(a=[e,e,"",n],Za.setFilters.hasOwnProperty(e.toLowerCase())?wc(function(s,f){for(var g,b=i(s,n),C=b.length;C--;)g=yd.call(s,b[C]),s[g]=!(f[g]=b[C])}):function(s){return i(s,0,a)}):i}},pseudos:{not:wc(function(e){var n=[],a=[],i=p0(e.replace(Xi,"$1"));return i[di]?wc(function(s,f,g,b){for(var C,A=i(s,null,b,[]),N=s.length;N--;)(C=A[N])&&(s[N]=!(f[N]=C))}):function(s,f,g){return n[0]=s,i(n,null,g,a),n[0]=null,!a.pop()}}),has:wc(function(e){return function(n){return Wa(e,n).length>0}}),contains:wc(function(e){return e=e.replace(gv,hv),function(n){return(n.textContent||n.innerText||Mf(n)).indexOf(e)>-1}}),lang:wc(function(e){return qc.test(e||"")||Wa.error("unsupported lang: "+e),e=e.replace(gv,hv).toLowerCase(),function(n){var a;do if(a=ku?n.lang:n.getAttribute("xml:lang")||n.getAttribute("lang"))return a=a.toLowerCase(),a===e||a.indexOf(e+"-")===0;while((n=n.parentNode)&&n.nodeType===1);return!1}}),target:function(e){var n=window.location&&window.location.hash;return n&&n.slice(1)===e.id},root:function(e){return e===Hp},focus:function(e){return e===Gi.activeElement&&(!Gi.hasFocus||Gi.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var n=e.nodeName.toLowerCase();return n==="input"&&!!e.checked||n==="option"&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!Za.pseudos.empty(e)},header:function(e){return KT.test(e.nodeName)},input:function(e){return Lm.test(e.nodeName)},button:function(e){var n=e.nodeName.toLowerCase();return n==="input"&&e.type==="button"||n==="button"},text:function(e){var n;return e.nodeName.toLowerCase()==="input"&&e.type==="text"&&((n=e.getAttribute("type"))==null||n.toLowerCase()==="text")},first:ts(function(){return[0]}),last:ts(function(e,n){return[n-1]}),eq:ts(function(e,n,a){return[a<0?a+n:a]}),even:ts(function(e,n){for(var a=0;a<n;a+=2)e.push(a);return e}),odd:ts(function(e,n){for(var a=1;a<n;a+=2)e.push(a);return e}),lt:ts(function(e,n,a){for(var i=a<0?a+n:a;--i>=0;)e.push(i);return e}),gt:ts(function(e,n,a){for(var i=a<0?a+n:a;++i<n;)e.push(i);return e})}},Za.pseudos.nth=Za.pseudos.eq,xt(["radio","checkbox","file","password","image"],function(e){Za.pseudos[e]=XT(e)}),xt(["submit","reset"],function(e){Za.pseudos[e]=YT(e)});function T0(){}T0.prototype=Za.filters=Za.pseudos,Za.setFilters=new T0,zs=Wa.tokenize=function(e,n){var a,i,s,f,g,b,C,A=Fm[e+" "];if(A)return n?0:A.slice(0);for(g=e,b=[],C=Za.preFilter;g;){(!a||(i=jT.exec(g)))&&(i&&(g=g.slice(i[0].length)||g),b.push(s=[])),a=!1,(i=qT.exec(g))&&(a=i.shift(),s.push({value:a,type:i[0].replace(Xi," ")}),g=g.slice(a.length));for(f in Za.filter)!Za.filter.hasOwnProperty(f)||(i=Vp[f].exec(g))&&(!C[f]||(i=C[f](i)))&&(a=i.shift(),s.push({value:a,type:f,matches:i}),g=g.slice(a.length));if(!a)break}return n?g.length:g?Wa.error(e):Fm(e,b).slice(0)};function nh(e){for(var n=0,a=e.length,i="";n<a;n++)i+=e[n].value;return i}function Hm(e,n,a){var i=n.dir,s=a&&i==="parentNode",f=UT++;return n.first?function(g,b,C){for(;g=g[i];)if(g.nodeType===1||s)return e(g,b,C)}:function(g,b,C){var A,N,z=[yc,f];if(C){for(;g=g[i];)if((g.nodeType===1||s)&&e(g,b,C))return!0}else for(;g=g[i];)if(g.nodeType===1||s){if(N=g[di]||(g[di]={}),(A=N[i])&&A[0]===yc&&A[1]===f)return z[2]=A[2];if(N[i]=z,z[2]=e(g,b,C))return!0}}}function k0(e){return e.length>1?function(n,a,i){for(var s=e.length;s--;)if(!e[s](n,a,i))return!1;return!0}:e[0]}function B2(e,n,a){for(var i=0,s=n.length;i<s;i++)Wa(e,n[i],a);return a}function pv(e,n,a,i,s){for(var f,g=[],b=0,C=e.length,A=n!=null;b<C;b++)(f=e[b])&&(!a||a(f,i,s))&&(g.push(f),A&&n.push(b));return g}function E0(e,n,a,i,s,f){return i&&!i[di]&&(i=E0(i)),s&&!s[di]&&(s=E0(s,f)),wc(function(g,b,C,A){var N,z,F,K=[],G=[],Z=b.length,re=g||B2(n||"*",C.nodeType?[C]:C,[]),ce=e&&(g||!n)?pv(re,K,e,C,A):re,se=a?s||(g?e:Z||i)?[]:b:ce;if(a&&a(ce,se,C,A),i)for(N=pv(se,G),i(N,[],C,A),z=N.length;z--;)(F=N[z])&&(se[G[z]]=!(ce[G[z]]=F));if(g){if(s||e){if(s){for(N=[],z=se.length;z--;)(F=se[z])&&N.push(ce[z]=F);s(null,se=[],N,A)}for(z=se.length;z--;)(F=se[z])&&(N=s?yd.call(g,F):K[z])>-1&&(g[N]=!(b[N]=F))}}else se=pv(se===b?se.splice(Z,se.length):se),s?s(null,b,se,A):Gl.apply(b,se)})}function O0(e){for(var n,a,i,s=e.length,f=Za.relative[e[0].type],g=f||Za.relative[" "],b=f?1:0,C=Hm(function(z){return z===n},g,!0),A=Hm(function(z){return yd.call(n,z)>-1},g,!0),N=[function(z,F,K){var G=!f&&(K||F!==Lp)||((n=F).nodeType?C(z,F,K):A(z,F,K));return n=null,G}];b<s;b++)if(a=Za.relative[e[b].type])N=[Hm(k0(N),a)];else{if(a=Za.filter[e[b].type].apply(null,e[b].matches),a[di]){for(i=++b;i<s&&!Za.relative[e[i].type];i++);return E0(b>1&&k0(N),b>1&&nh(e.slice(0,b-1).concat({value:e[b-2].type===" "?"*":""})).replace(Xi,"$1"),a,b<i&&O0(e.slice(b,i)),i<s&&O0(e=e.slice(i)),i<s&&nh(e))}N.push(a)}return k0(N)}function Up(e,n){var a=n.length>0,i=e.length>0,s=function(f,g,b,C,A){var N,z,F,K=0,G="0",Z=f&&[],re=[],ce=Lp,se=f||i&&Za.find.TAG("*",A),pe=yc+=ce==null?1:Math.random()||.1,Ae=se.length;for(A&&(Lp=g!==Gi&&g);G!==Ae&&(N=se[G])!=null;G++){if(i&&N){for(z=0;F=e[z++];)if(F(N,g,b)){C.push(N);break}A&&(yc=pe)}a&&((N=!F&&N)&&K--,f&&Z.push(N))}if(K+=G,a&&G!==K){for(z=0;F=n[z++];)F(Z,re,g,b);if(f){if(K>0)for(;G--;)Z[G]||re[G]||(re[G]=WT.call(C));re=pv(re)}Gl.apply(C,re),A&&!f&&re.length>0&&K+n.length>1&&Wa.uniqueSort(C)}return A&&(yc=pe,Lp=ce),Z};return a?wc(s):s}p0=Wa.compile=function(e,n){var a,i=[],s=[],f=A2[e+" "];if(!f){for(n||(n=zs(e)),a=n.length;a--;)f=O0(n[a]),f[di]?i.push(f):s.push(f);f=A2(e,Up(s,i)),f.selector=e}return f},jc=Wa.select=function(e,n,a,i){var s,f,g,b,C,A=typeof e=="function"&&e,N=!i&&zs(e=A.selector||e);if(a=a||[],N.length===1){if(f=N[0]=N[0].slice(0),f.length>2&&(g=f[0]).type==="ID"&&jo.getById&&n.nodeType===9&&ku&&Za.relative[f[1].type]){if(n=(Za.find.ID(g.matches[0].replace(gv,hv),n)||[])[0],n)A&&(n=n.parentNode);else return a;e=e.slice(f.shift().value.length)}for(s=Vp.needsContext.test(e)?0:f.length;s--&&(g=f[s],!Za.relative[b=g.type]);)if((C=Za.find[b])&&(i=C(g.matches[0].replace(gv,hv),w0.test(f[0].type)&&Gc(n.parentNode)||n))){if(f.splice(s,1),e=i.length&&nh(f),!e)return Gl.apply(a,i),a;break}}return(A||p0(e,N))(i,n,!ku,a,w0.test(e)&&Gc(n.parentNode)||n),a},jo.sortStable=di.split("").sort(th).join("")===di,jo.detectDuplicates=!!yl,Pf(),jo.sortDetached=!0;var Wp=document,Cd=Array.prototype.push,M2=Array.prototype.slice,Yi=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,Cl=vv.Event,mi=je.makeMap("children,contents,next,prev"),ns=function(e){return typeof e!="undefined"},$f=function(e){return typeof e=="string"},Kl=function(e){return e&&e===e.window},A0=function(e,n){n=n||Wp;var a=n.createElement("div"),i=n.createDocumentFragment();a.innerHTML=e;for(var s;s=a.firstChild;)i.appendChild(s);return i},Ls=function(e,n,a,i){var s;if($f(n))n=A0(n,ti(e[0]));else if(n.length&&!n.nodeType){if(n=vr.makeArray(n),i)for(s=n.length-1;s>=0;s--)Ls(e,n[s],a,i);else for(s=0;s<n.length;s++)Ls(e,n[s],a,i);return e}if(n.nodeType)for(s=e.length;s--;)a.call(e[s],n);return e},Vm=function(e,n){return e&&n&&(" "+e.className+" ").indexOf(" "+n+" ")!==-1},P2=function(e,n,a){var i,s;return n=vr(n)[0],e.each(function(){var f=this;(!a||i!==f.parentNode)&&(i=f.parentNode,s=n.cloneNode(!1),f.parentNode.insertBefore(s,f)),s.appendChild(f)}),e},JT=je.makeMap("fillOpacity fontWeight lineHeight opacity orphans widows zIndex zoom"," "),ZT=je.makeMap("checked compact declare defer disabled ismap multiple nohref noshade nowrap readonly selected"," "),QT={for:"htmlFor",class:"className",readonly:"readOnly"},ek={float:"cssFloat"},D0={},jp={},uc=function(e,n){return new vr.fn.init(e,n)},$2=function(e,n){var a;if(n.indexOf)return n.indexOf(e);for(a=n.length;a--;)if(n[a]===e)return a;return-1},bv=/^\s*|\s*$/g,rh=function(e){return e==null?"":(""+e).replace(bv,"")},Sl=function(e,n){var a,i,s,f;if(e)if(a=e.length,a===void 0){for(i in e)if(e.hasOwnProperty(i)&&(f=e[i],n.call(f,i,f)===!1))break}else for(s=0;s<a&&(f=e[s],n.call(f,s,f)!==!1);s++);return e},Cc=function(e,n){var a=[];return Sl(e,function(i,s){n(s,i)&&a.push(s)}),a},ti=function(e){return e?e.nodeType===9?e:e.ownerDocument:Wp};uc.fn=uc.prototype={constructor:uc,selector:"",context:null,length:0,init:function(e,n){var a=this,i,s;if(!e)return a;if(e.nodeType)return a.context=a[0]=e,a.length=1,a;if(n&&n.nodeType)a.context=n;else{if(n)return vr(e).attr(n);a.context=n=document}if($f(e))if(a.selector=e,e.charAt(0)==="<"&&e.charAt(e.length-1)===">"&&e.length>=3?i=[null,e,null]:i=Yi.exec(e),i)if(i[1])for(s=A0(e,ti(n)).firstChild;s;)Cd.call(a,s),s=s.nextSibling;else{if(s=ti(n).getElementById(i[2]),!s)return a;if(s.id!==i[2])return a.find(e);a.length=1,a[0]=s}else return vr(n).find(e);else this.add(e,!1);return a},toArray:function(){return je.toArray(this)},add:function(e,n){var a=this,i,s;if($f(e))return a.add(vr(e));if(n!==!1)for(i=vr.unique(a.toArray().concat(vr.makeArray(e))),a.length=i.length,s=0;s<i.length;s++)a[s]=i[s];else Cd.apply(a,vr.makeArray(e));return a},attr:function(e,n){var a=this,i;if(typeof e=="object")Sl(e,function(s,f){a.attr(s,f)});else if(ns(n))this.each(function(){var s;if(this.nodeType===1){if(s=D0[e],s&&s.set){s.set(this,n);return}n===null?this.removeAttribute(e,2):this.setAttribute(e,n,2)}});else{if(a[0]&&a[0].nodeType===1){if(i=D0[e],i&&i.get)return i.get(a[0],e);if(ZT[e])return a.prop(e)?e:void 0;n=a[0].getAttribute(e,2),n===null&&(n=void 0)}return n}return a},removeAttr:function(e){return this.attr(e,null)},prop:function(e,n){var a=this;if(e=QT[e]||e,typeof e=="object")Sl(e,function(i,s){a.prop(i,s)});else if(ns(n))this.each(function(){this.nodeType===1&&(this[e]=n)});else return a[0]&&a[0].nodeType&&e in a[0]?a[0][e]:n;return a},css:function(e,n){var a=this,i,s,f=function(b){return b.replace(/-(\D)/g,function(C,A){return A.toUpperCase()})},g=function(b){return b.replace(/[A-Z]/g,function(C){return"-"+C})};if(typeof e=="object")Sl(e,function(b,C){a.css(b,C)});else if(ns(n))e=f(e),typeof n=="number"&&!JT[e]&&(n=n.toString()+"px"),a.each(function(){var b=this.style;if(s=jp[e],s&&s.set){s.set(this,n);return}try{this.style[ek[e]||e]=n}catch{}(n===null||n==="")&&(b.removeProperty?b.removeProperty(g(e)):b.removeAttribute(e))});else{if(i=a[0],s=jp[e],s&&s.get)return s.get(i);if(i.ownerDocument.defaultView)try{return i.ownerDocument.defaultView.getComputedStyle(i,null).getPropertyValue(g(e))}catch{return}else return i.currentStyle?i.currentStyle[f(e)]:""}return a},remove:function(){for(var e=this,n,a=this.length;a--;)n=e[a],Cl.clean(n),n.parentNode&&n.parentNode.removeChild(n);return this},empty:function(){for(var e=this,n,a=this.length;a--;)for(n=e[a];n.firstChild;)n.removeChild(n.firstChild);return this},html:function(e){var n=this,a;if(ns(e)){a=n.length;try{for(;a--;)n[a].innerHTML=e}catch{vr(n[a]).empty().append(e)}return n}return n[0]?n[0].innerHTML:""},text:function(e){var n=this,a;if(ns(e)){for(a=n.length;a--;)"innerText"in n[a]?n[a].innerText=e:n[0].textContent=e;return n}return n[0]?n[0].innerText||n[0].textContent:""},append:function(){return Ls(this,arguments,function(e){(this.nodeType===1||this.host&&this.host.nodeType===1)&&this.appendChild(e)})},prepend:function(){return Ls(this,arguments,function(e){(this.nodeType===1||this.host&&this.host.nodeType===1)&&this.insertBefore(e,this.firstChild)},!0)},before:function(){var e=this;return e[0]&&e[0].parentNode?Ls(e,arguments,function(n){this.parentNode.insertBefore(n,this)}):e},after:function(){var e=this;return e[0]&&e[0].parentNode?Ls(e,arguments,function(n){this.parentNode.insertBefore(n,this.nextSibling)},!0):e},appendTo:function(e){return vr(e).append(this),this},prependTo:function(e){return vr(e).prepend(this),this},replaceWith:function(e){return this.before(e).remove()},wrap:function(e){return P2(this,e)},wrapAll:function(e){return P2(this,e,!0)},wrapInner:function(e){return this.each(function(){vr(this).contents().wrapAll(e)}),this},unwrap:function(){return this.parent().each(function(){vr(this).replaceWith(this.childNodes)})},clone:function(){var e=[];return this.each(function(){e.push(this.cloneNode(!0))}),vr(e)},addClass:function(e){return this.toggleClass(e,!0)},removeClass:function(e){return this.toggleClass(e,!1)},toggleClass:function(e,n){var a=this;return typeof e!="string"||(e.indexOf(" ")!==-1?Sl(e.split(" "),function(){a.toggleClass(this,n)}):a.each(function(i,s){var f=Vm(s,e);if(f!==n){var g=s.className;f?s.className=rh((" "+g+" ").replace(" "+e+" "," ")):s.className+=g?" "+e:e}})),a},hasClass:function(e){return Vm(this[0],e)},each:function(e){return Sl(this,e)},on:function(e,n){return this.each(function(){Cl.bind(this,e,n)})},off:function(e,n){return this.each(function(){Cl.unbind(this,e,n)})},trigger:function(e){return this.each(function(){typeof e=="object"?Cl.fire(this,e.type,e):Cl.fire(this,e)})},show:function(){return this.css("display","")},hide:function(){return this.css("display","none")},slice:function(){return vr(M2.apply(this,arguments))},eq:function(e){return e===-1?this.slice(e):this.slice(e,+e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},find:function(e){var n,a,i=[];for(n=0,a=this.length;n<a;n++)vr.find(e,this[n],i);return vr(i)},filter:function(e){return vr(typeof e=="function"?Cc(this.toArray(),function(n,a){return e(a,n)}):vr.filter(e,this.toArray()))},closest:function(e){var n=[];return e instanceof vr&&(e=e[0]),this.each(function(a,i){for(;i;){if(typeof e=="string"&&vr(i).is(e)){n.push(i);break}else if(i===e){n.push(i);break}i=i.parentNode}}),vr(n)},offset:function(e){var n,a,i,s=0,f=0,g;return e?this.css(e):(n=this[0],n&&(a=n.ownerDocument,i=a.documentElement,n.getBoundingClientRect&&(g=n.getBoundingClientRect(),s=g.left+(i.scrollLeft||a.body.scrollLeft)-i.clientLeft,f=g.top+(i.scrollTop||a.body.scrollTop)-i.clientTop)),{left:s,top:f})},push:Cd,sort:Array.prototype.sort,splice:Array.prototype.splice},je.extend(uc,{extend:je.extend,makeArray:function(e){return Kl(e)||e.nodeType?[e]:je.toArray(e)},inArray:$2,isArray:je.isArray,each:Sl,trim:rh,grep:Cc,find:Wa,expr:Wa.selectors,unique:Wa.uniqueSort,text:Wa.getText,contains:Wa.contains,filter:function(e,n,a){var i=n.length;for(a&&(e=":not("+e+")");i--;)n[i].nodeType!==1&&n.splice(i,1);return n.length===1?n=vr.find.matchesSelector(n[0],e)?[n[0]]:[]:n=vr.find.matches(e,n),n}});var sc=function(e,n,a){var i=[],s=e[n];for(typeof a!="string"&&a instanceof vr&&(a=a[0]);s&&s.nodeType!==9&&!(a!==void 0&&(s===a||typeof a=="string"&&vr(s).is(a)));)s.nodeType===1&&i.push(s),s=s[n];return i},yv=function(e,n,a,i){var s=[];for(i instanceof vr&&(i=i[0]);e;e=e[n])if(!(a&&e.nodeType!==a)){if(i!==void 0&&(e===i||typeof i=="string"&&vr(e).is(i)))break;s.push(e)}return s},R0=function(e,n,a){for(e=e[n];e;e=e[n])if(e.nodeType===a)return e;return null};Sl({parent:function(e){var n=e.parentNode;return n&&n.nodeType!==11?n:null},parents:function(e){return sc(e,"parentNode")},next:function(e){return R0(e,"nextSibling",1)},prev:function(e){return R0(e,"previousSibling",1)},children:function(e){return yv(e.firstChild,"nextSibling",1)},contents:function(e){return je.toArray((e.nodeName==="iframe"?e.contentDocument||e.contentWindow.document:e).childNodes)}},function(e,n){uc.fn[e]=function(a){var i=this,s=[];i.each(function(){var g=n.call(s,this,a,s);g&&(vr.isArray(g)?s.push.apply(s,g):s.push(g))}),this.length>1&&(mi[e]||(s=vr.unique(s)),e.indexOf("parents")===0&&(s=s.reverse()));var f=vr(s);return a?f.filter(a):f}}),Sl({parentsUntil:function(e,n){return sc(e,"parentNode",n)},nextUntil:function(e,n){return yv(e,"nextSibling",1,n).slice(1)},prevUntil:function(e,n){return yv(e,"previousSibling",1,n).slice(1)}},function(e,n){uc.fn[e]=function(a,i){var s=this,f=[];s.each(function(){var b=n.call(f,this,a,f);b&&(vr.isArray(b)?f.push.apply(f,b):f.push(b))}),this.length>1&&(f=vr.unique(f),(e.indexOf("parents")===0||e==="prevUntil")&&(f=f.reverse()));var g=vr(f);return i?g.filter(i):g}}),uc.fn.is=function(e){return!!e&&this.filter(e).length>0},uc.fn.init.prototype=uc.fn,uc.overrideDefaults=function(e){var n,a=function(i,s){return n=n||e(),arguments.length===0&&(i=n.element),s||(s=n.context),new a.fn.init(i,s)};return vr.extend(a,this),a},uc.attrHooks=D0,uc.cssHooks=jp;var vr=uc,ah=je.each,tk=je.grep,qp=wt.ie,Gp=/^([a-z0-9],?)+$/i,nk=function(e,n,a){var i=n.keep_values,s={set:function(g,b,C){n.url_converter&&b!==null&&(b=n.url_converter.call(n.url_converter_scope||a(),b,C,g[0])),g.attr("data-mce-"+C,b).attr(C,b)},get:function(g,b){return g.attr("data-mce-"+b)||g.attr(b)}},f={style:{set:function(g,b){if(b!==null&&typeof b=="object"){g.css(b);return}i&&g.attr("data-mce-style",b),b!==null&&typeof b=="string"?(g.removeAttr("style"),g.css(e.parse(b))):g.attr("style",b)},get:function(g){var b=g.attr("data-mce-style")||g.attr("style");return b=e.serialize(e.parse(b),g[0].nodeName),b}}};return i&&(f.href=f.src=s),f},gi=function(e,n){var a=n.attr("style"),i=e.serialize(e.parse(a),n[0].nodeName);i||(i=null),n.attr("data-mce-style",i)},zu=function(e,n){var a=0,i,s;if(e)for(i=e.nodeType,e=e.previousSibling;e;e=e.previousSibling)s=e.nodeType,!(n&&s===3&&(s===i||!e.nodeValue.length))&&(a++,i=s);return a},Qa=function(e,n){n===void 0&&(n={});var a={},i=window,s={},f=0,g=!0,b=!0,C=Fc.forElement(T.fromDom(e),{contentCssCors:n.contentCssCors,referrerPolicy:n.referrerPolicy}),A=[],N=n.schema?n.schema:$r({}),z=Bf({url_converter:n.url_converter,url_converter_scope:n.url_converter_scope},n.schema),F=n.ownEvents?new vv:vv.Event,K=N.getBlockElements(),G=vr.overrideDefaults(function(){return{context:e,element:Tp.getRoot()}}),Z=function(be){if(typeof be=="string")return!!K[be];if(be){var Ie=be.nodeType;if(Ie)return!!(Ie===1&&K[be.nodeName])}return!1},re=function(be){return be&&e&&St(be)?e.getElementById(be):be},ce=function(be){return G(typeof be=="string"?re(be):be)},se=function(be,Ie,kt){var It,dr,fa=ce(be);return fa.length&&(It=TO[Ie],It&&It.get?dr=It.get(fa,Ie):dr=fa.attr(Ie)),typeof dr=="undefined"&&(dr=kt||""),dr},pe=function(be){var Ie=re(be);return Ie?Ie.attributes:[]},Ae=function(be,Ie,kt){kt===""&&(kt=null);var It=ce(be),dr=It.attr(Ie);if(!!It.length){var fa=TO[Ie];fa&&fa.set?fa.set(It,kt,Ie):It.attr(Ie,kt),dr!==kt&&n.onSetAttrib&&n.onSetAttrib({attrElm:It,attrName:Ie,attrValue:kt})}},ge=function(be,Ie){if(!qp||be.nodeType!==1||Ie)return be.cloneNode(Ie);var kt=e.createElement(be.nodeName);return ah(pe(be),function(It){Ae(kt,It.nodeName,se(be,It.nodeName))}),kt},Re=function(){return n.root_element||e.body},qe=function(be){var Ie=xf(be);return{x:Ie.x,y:Ie.y,w:Ie.width,h:Ie.height}},gt=function(be,Ie){return Lg(e.body,re(be),Ie)},zn=function(be,Ie,kt){var It=St(Ie)?ce(be).css(Ie,kt):ce(be).css(Ie);n.update_styles&&gi(z,It)},Zt=function(be,Ie){var kt=ce(be).css(Ie);n.update_styles&&gi(z,kt)},mt=function(be,Ie,kt){var It=ce(be);return kt?It.css(Ie):(Ie=Ie.replace(/-(\D)/g,function(dr,fa){return fa.toUpperCase()}),Ie==="float"&&(Ie=wt.browser.isIE()?"styleFloat":"cssFloat"),It[0]&&It[0].style?It[0].style[Ie]:void 0)},Xn=function(be){var Ie,kt;return be=re(be),Ie=mt(be,"width"),kt=mt(be,"height"),Ie.indexOf("px")===-1&&(Ie=0),kt.indexOf("px")===-1&&(kt=0),{w:parseInt(Ie,10)||be.offsetWidth||be.clientWidth,h:parseInt(kt,10)||be.offsetHeight||be.clientHeight}},Tt=function(be){be=re(be);var Ie=gt(be),kt=Xn(be);return{x:Ie.x,y:Ie.y,w:kt.w,h:kt.h}},en=function(be,Ie){var kt;if(!be)return!1;if(!Array.isArray(be)){if(Ie==="*")return be.nodeType===1;if(Gp.test(Ie)){var It=Ie.toLowerCase().split(/,/),dr=be.nodeName.toLowerCase();for(kt=It.length-1;kt>=0;kt--)if(It[kt]===dr)return!0;return!1}if(be.nodeType&&be.nodeType!==1)return!1}var fa=Array.isArray(be)?be:[be];return Wa(Ie,fa[0].ownerDocument||fa[0],null,fa).length>0},Ct=function(be,Ie,kt,It){var dr=[],fa,mo=re(be);for(It=It===void 0,kt=kt||(Re().nodeName!=="BODY"?Re().parentNode:null),je.is(Ie,"string")&&(fa=Ie,Ie==="*"?Ie=function(Ng){return Ng.nodeType===1}:Ie=function(Ng){return en(Ng,fa)});mo&&!(mo===kt||$t(mo.nodeType)||Fg(mo)||mr(mo));){if(!Ie||typeof Ie=="function"&&Ie(mo))if(It)dr.push(mo);else return[mo];mo=mo.parentNode}return It?dr:null},Ft=function(be,Ie,kt){var It=Ct(be,Ie,kt,!1);return It&&It.length>0?It[0]:null},rn=function(be,Ie,kt){var It=Ie;if(be){for(typeof Ie=="string"&&(It=function(dr){return en(dr,Ie)}),be=be[kt];be;be=be[kt])if(typeof It=="function"&&It(be))return be}return null},lt=function(be,Ie){return rn(be,Ie,"nextSibling")},un=function(be,Ie){return rn(be,Ie,"previousSibling")},cr=function(be,Ie){return Wa(be,re(Ie)||n.root_element||e,[])},Oa=function(be,Ie,kt){var It,dr=typeof be=="string"?re(be):be;if(!dr)return!1;if(je.isArray(dr)&&(dr.length||dr.length===0))return It=[],ah(dr,function(mo,Ng){mo&&It.push(Ie.call(kt,typeof mo=="string"?re(mo):mo,Ng))}),It;var fa=kt||this;return Ie.call(fa,dr)},Xr=function(be,Ie){ce(be).each(function(kt,It){ah(Ie,function(dr,fa){Ae(It,fa,dr)})})},hi=function(be,Ie){var kt=ce(be);qp?kt.each(function(It,dr){if(dr.canHaveHTML!==!1){for(;dr.firstChild;)dr.removeChild(dr.firstChild);try{dr.innerHTML="<br>"+Ie,dr.removeChild(dr.firstChild)}catch{vr("<div></div>").html("<br>"+Ie).contents().slice(1).appendTo(dr)}return Ie}}):kt.html(Ie)},Ko=function(be,Ie,kt,It,dr){return Oa(be,function(fa){var mo=typeof Ie=="string"?e.createElement(Ie):Ie;return Xr(mo,kt),It&&(typeof It!="string"&&It.nodeType?mo.appendChild(It):typeof It=="string"&&hi(mo,It)),dr?mo:fa.appendChild(mo)})},fc=function(be,Ie,kt){return Ko(e.createElement(be),be,Ie,kt,!0)},$c=ic.decode,ft=ic.encodeAllRaw,$e=function(be,Ie,kt){var It="",dr;It+="<"+be;for(dr in Ie)yo(Ie,dr)&&(It+=" "+dr+'="'+ft(Ie[dr])+'"');return typeof kt!="undefined"?It+">"+kt+"</"+be+">":It+" />"},ht=function(be){var Ie,kt=e.createElement("div"),It=e.createDocumentFragment();for(It.appendChild(kt),be&&(kt.innerHTML=be);Ie=kt.firstChild;)It.appendChild(Ie);return It.removeChild(kt),It},Ne=function(be,Ie){var kt=ce(be);return Ie?kt.each(function(){for(var It;It=this.firstChild;)It.nodeType===3&&It.data.length===0?this.removeChild(It):this.parentNode.insertBefore(It,this)}).remove():kt.remove(),kt.length>1?kt.toArray():kt[0]},gn=function(be){return Oa(be,function(Ie){var kt,It=Ie.attributes;for(kt=It.length-1;kt>=0;kt--)Ie.removeAttributeNode(It.item(kt))})},Pt=function(be){return z.parse(be)},qn=function(be,Ie){return z.serialize(be,Ie)},Nr=function(be){var Ie,kt;if(Tp!==Qa.DOM&&e===document){if(a[be])return;a[be]=!0}kt=e.getElementById("mceDefaultStyles"),kt||(kt=e.createElement("style"),kt.id="mceDefaultStyles",kt.type="text/css",Ie=e.getElementsByTagName("head")[0],Ie.firstChild?Ie.insertBefore(kt,Ie.firstChild):Ie.appendChild(kt)),kt.styleSheet?kt.styleSheet.cssText+=be:kt.appendChild(e.createTextNode(be))},vo=function(be){be||(be=""),xt(be.split(","),function(Ie){s[Ie]=!0,C.load(Ie,Le)})},xs=function(be,Ie,kt){ce(be).toggleClass(Ie,kt).each(function(){this.className===""&&vr(this).attr("class",null)})},Xs=function(be,Ie){ce(be).addClass(Ie)},Pl=function(be,Ie){xs(be,Ie,!1)},Ts=function(be,Ie){return ce(be).hasClass(Ie)},ks=function(be){ce(be).show()},zi=function(be){ce(be).hide()},pm=function(be){return ce(be).css("display")==="none"},Ru=function(be){return(be||"mce_")+f++},$l=function(be){var Ie=typeof be=="string"?re(be):be;return Qn(Ie)?Ie.outerHTML:vr("<div></div>").append(vr(Ie).clone()).html()},nd=function(be,Ie){ce(be).each(function(){try{if("outerHTML"in this){this.outerHTML=Ie;return}}catch{}Ne(vr(this).html(Ie),!0)})},Ro=function(be,Ie){var kt=re(Ie);return Oa(be,function(It){var dr=kt.parentNode,fa=kt.nextSibling;return fa?dr.insertBefore(It,fa):dr.appendChild(It),It})},Ya=function(be,Ie,kt){return Oa(Ie,function(It){return je.is(It,"array")&&(be=be.cloneNode(!0)),kt&&ah(tk(It.childNodes),function(dr){be.appendChild(dr)}),It.parentNode.replaceChild(be,It)})},Ri=function(be,Ie){var kt;return be.nodeName!==Ie.toUpperCase()&&(kt=fc(Ie),ah(pe(be),function(It){Ae(kt,It.nodeName,se(be,It.nodeName))}),Ya(kt,be,!0)),kt||be},df=function(be,Ie){for(var kt=be,It;kt;){for(It=Ie;It&&kt!==It;)It=It.parentNode;if(kt===It)break;kt=kt.parentNode}return!kt&&be.ownerDocument?be.ownerDocument.documentElement:kt},rd=function(be){return z.toHex(je.trim(be))},mf=function(be){if(Qn(be)){var Ie=be.nodeName.toLowerCase()==="a"&&!se(be,"href")&&se(be,"id");if(se(be,"name")||se(be,"data-mce-bookmark")||Ie)return!0}return!1},tv=function(be,Ie){var kt,It,dr=0;if(mf(be))return!1;if(be=be.firstChild,be){var fa=new ba(be,be.parentNode),mo=N?N.getWhiteSpaceElements():{};Ie=Ie||(N?N.getNonEmptyElements():null);do{if(kt=be.nodeType,Qn(be)){var Ng=be.getAttribute("data-mce-bogus");if(Ng){be=fa.next(Ng==="all");continue}if(It=be.nodeName.toLowerCase(),Ie&&Ie[It]){if(It==="br"){dr++,be=fa.next();continue}return!1}if(mf(be))return!1}if(kt===8||kt===3&&!Hc(be.nodeValue)||kt===3&&be.parentNode&&mo[be.parentNode.nodeName]&&Hc(be.nodeValue))return!1;be=fa.next()}while(be)}return dr<=1},u2=function(){return e.createRange()},Jz=function(be,Ie,kt){var It=u2(),dr,fa,mo;if(be&&Ie)return It.setStart(be.parentNode,zu(be)),It.setEnd(Ie.parentNode,zu(Ie)),dr=It.extractContents(),It=u2(),It.setStart(Ie.parentNode,zu(Ie)+1),It.setEnd(be.parentNode,zu(be)+1),fa=It.extractContents(),mo=be.parentNode,mo.insertBefore(l0(Tp,dr),be),kt?mo.insertBefore(kt,be):mo.insertBefore(Ie,be),mo.insertBefore(l0(Tp,fa),be),Ne(be),kt||Ie},gB=function(be,Ie,kt,It){if(je.isArray(be)){for(var dr=be.length,fa=[];dr--;)fa[dr]=gB(be[dr],Ie,kt,It);return fa}n.collect&&(be===e||be===i)&&A.push([be,Ie,kt,It]);var mo=F.bind(be,Ie,kt,It||Tp);return mo},s2=function(be,Ie,kt){if(je.isArray(be)){for(var It=be.length,dr=[];It--;)dr[It]=s2(be[It],Ie,kt);return dr}else{if(A.length>0&&(be===e||be===i))for(var It=A.length;It--;){var fa=A[It];be===fa[0]&&(!Ie||Ie===fa[1])&&(!kt||kt===fa[2])&&F.unbind(fa[0],fa[1],fa[2])}return F.unbind(be,Ie,kt)}},hB=function(be,Ie,kt){return F.fire(be,Ie,kt)},xO=function(be){if(be&&Qn(be)){var Ie=be.getAttribute("data-mce-contenteditable");return Ie&&Ie!=="inherit"?Ie:be.contentEditable!=="inherit"?be.contentEditable:null}else return null},Zz=function(be){for(var Ie=Re(),kt=null;be&&be!==Ie&&(kt=xO(be),kt===null);be=be.parentNode);return kt},pB=function(){if(A.length>0)for(var be=A.length;be--;){var Ie=A[be];F.unbind(Ie[0],Ie[1],Ie[2])}Gt(s,function(kt,It){C.unload(It),delete s[It]}),Wa.setDocument&&Wa.setDocument()},Qz=function(be,Ie){if(qp){for(;be;){if(Ie===be)return!0;be=be.parentNode}return!1}else return be===Ie||Ie.contains(be)},eF=function(be){return"startContainer: "+be.startContainer.nodeName+", startOffset: "+be.startOffset+", endContainer: "+be.endContainer.nodeName+", endOffset: "+be.endOffset},Tp={doc:e,settings:n,win:i,files:s,stdMode:g,boxModel:b,styleSheetLoader:C,boundEvents:A,styles:z,schema:N,events:F,isBlock:Z,$:G,$$:ce,root:null,clone:ge,getRoot:Re,getViewPort:qe,getRect:Tt,getSize:Xn,getParent:Ft,getParents:Ct,get:re,getNext:lt,getPrev:un,select:cr,is:en,add:Ko,create:fc,createHTML:$e,createFragment:ht,remove:Ne,setStyle:zn,getStyle:mt,setStyles:Zt,removeAllAttribs:gn,setAttrib:Ae,setAttribs:Xr,getAttrib:se,getPos:gt,parseStyle:Pt,serializeStyle:qn,addStyle:Nr,loadCSS:vo,addClass:Xs,removeClass:Pl,hasClass:Ts,toggleClass:xs,show:ks,hide:zi,isHidden:pm,uniqueId:Ru,setHTML:hi,getOuterHTML:$l,setOuterHTML:nd,decode:$c,encode:ft,insertAfter:Ro,replace:Ya,rename:Ri,findCommonAncestor:df,toHex:rd,run:Oa,getAttribs:pe,isEmpty:tv,createRng:u2,nodeIndex:zu,split:Jz,bind:gB,unbind:s2,fire:hB,getContentEditable:xO,getContentEditableParent:Zz,destroy:pB,isChildOf:Qz,dumpRng:eF},TO=nk(z,n,Y(Tp));return Tp};Qa.DOM=Qa(document),Qa.nodeIndex=zu;var N2=Qa.DOM,_0=je.each,Sd=je.grep,I2=0,xd=1,Um=2,z2=3,Xl=function(){function e(n){n===void 0&&(n={}),this.states={},this.queue=[],this.scriptLoadedCallbacks={},this.queueLoadedCallbacks=[],this.loading=0,this.settings=n}return e.prototype._setReferrerPolicy=function(n){this.settings.referrerPolicy=n},e.prototype.loadScript=function(n,a,i){var s=N2,f,g=function(){s.remove(A),f&&(f.onerror=f.onload=f=null)},b=function(){g(),a()},C=function(){g(),pt(i)?i():typeof console!="undefined"&&console.log&&console.log("Failed to load script: "+n)},A=s.uniqueId();f=document.createElement("script"),f.id=A,f.type="text/javascript",f.src=je._addCacheSuffix(n),this.settings.referrerPolicy&&s.setAttrib(f,"referrerpolicy",this.settings.referrerPolicy),f.onload=b,f.onerror=C,(document.getElementsByTagName("head")[0]||document.body).appendChild(f)},e.prototype.isDone=function(n){return this.states[n]===Um},e.prototype.markDone=function(n){this.states[n]=Um},e.prototype.add=function(n,a,i,s){var f=this.states[n];this.queue.push(n),f===void 0&&(this.states[n]=I2),a&&(this.scriptLoadedCallbacks[n]||(this.scriptLoadedCallbacks[n]=[]),this.scriptLoadedCallbacks[n].push({success:a,failure:s,scope:i||this}))},e.prototype.load=function(n,a,i,s){return this.add(n,a,i,s)},e.prototype.remove=function(n){delete this.states[n],delete this.scriptLoadedCallbacks[n]},e.prototype.loadQueue=function(n,a,i){this.loadScripts(this.queue,n,a,i)},e.prototype.loadScripts=function(n,a,i,s){var f=this,g=[],b=function(A,N){_0(f.scriptLoadedCallbacks[N],function(z){pt(z[A])&&z[A].call(z.scope)}),f.scriptLoadedCallbacks[N]=void 0};f.queueLoadedCallbacks.push({success:a,failure:s,scope:i||this});var C=function(){var A=Sd(n);if(n.length=0,_0(A,function(z){if(f.states[z]===Um){b("success",z);return}if(f.states[z]===z2){b("failure",z);return}f.states[z]!==xd&&(f.states[z]=xd,f.loading++,f.loadScript(z,function(){f.states[z]=Um,f.loading--,b("success",z),C()},function(){f.states[z]=z2,f.loading--,g.push(z),b("failure",z),C()}))}),!f.loading){var N=f.queueLoadedCallbacks.slice(0);f.queueLoadedCallbacks.length=0,_0(N,function(z){g.length===0?pt(z.success)&&z.success.call(z.scope):pt(z.failure)&&z.failure.call(z.scope,g)})}};C()},e.ScriptLoader=new e,e}(),rs=function(e){var n=e,a=function(){return n},i=function(s){n=s};return{get:a,set:i}},rk=function(e){return Fe(e)&&ur(e,"raw")},ak=function(e){return sn(e)&&e.length>1},Td={},B0=rs("en"),wv=function(){return Br(Td,B0.get())},kd=function(){return xr(Td,function(e){return Sn({},e)})},M0=function(e){e&&B0.set(e)},ok=function(){return B0.get()},ik=function(e,n){var a=Td[e];a||(Td[e]=a={}),Gt(n,function(i,s){a[s.toLowerCase()]=i})},Ed=function(e){var n=wv().getOr({}),a=function(C){return pt(C)?Object.prototype.toString.call(C):i(C)?"":""+C},i=function(C){return C===""||C===null||C===void 0},s=function(C){var A=a(C);return Br(n,A.toLowerCase()).map(a).getOr(A)},f=function(C){return C.replace(/{context:\w+}$/,"")};if(i(e))return"";if(rk(e))return a(e.raw);if(ak(e)){var g=e.slice(1),b=s(e[0]).replace(/\{([0-9]+)\}/g,function(C,A){return ur(g,A)?a(g[A]):C});return f(b)}return f(s(e))},Od=function(){return wv().bind(function(e){return Br(e,"_dir")}).exists(function(e){return e==="rtl"})},Kp=function(e){return ur(Td,e)},Er={getData:kd,setCode:M0,getCode:ok,add:ik,translate:Ed,isRtl:Od,hasCode:Kp},za=function(){var e=[],n={},a={},i=[],s=function(Z,re){var ce=bn(i,function(se){return se.name===Z&&se.state===re});xt(ce,function(se){return se.callback()})},f=function(Z){if(a[Z])return a[Z].instance},g=function(Z){var re;return a[Z]&&(re=a[Z].dependencies),re||[]},b=function(Z,re){za.languageLoad!==!1&&G(Z,function(){var ce=Er.getCode(),se=","+(re||"")+",";!ce||re&&se.indexOf(","+ce+",")===-1||Xl.ScriptLoader.add(n[Z]+"/langs/"+ce+".js")},"loaded")},C=function(Z,re,ce){var se=re;return e.push(se),a[Z]={instance:se,dependencies:ce},s(Z,"added"),se},A=function(Z){delete n[Z],delete a[Z]},N=function(Z,re){return typeof re=="object"?re:typeof Z=="string"?{prefix:"",resource:re,suffix:""}:{prefix:Z.prefix,resource:re,suffix:Z.suffix}},z=function(Z,re){var ce=n[Z];xt(re,function(se){Xl.ScriptLoader.add(ce+"/"+se)})},F=function(Z,re,ce,se){var pe=g(Z);xt(pe,function(Ae){var ge=N(re,Ae);K(ge.resource,ge,void 0,void 0)}),ce&&(se?ce.call(se):ce.call(Xl))},K=function(Z,re,ce,se,pe){if(!n[Z]){var Ae=typeof re=="string"?re:re.prefix+re.resource+re.suffix;Ae.indexOf("/")!==0&&Ae.indexOf("://")===-1&&(Ae=za.baseURL+"/"+Ae),n[Z]=Ae.substring(0,Ae.lastIndexOf("/"));var ge=function(){s(Z,"loaded"),F(Z,re,ce,se)};a[Z]?ge():Xl.ScriptLoader.add(Ae,ge,se,pe)}},G=function(Z,re,ce){ce===void 0&&(ce="added"),ur(a,Z)&&ce==="added"||ur(n,Z)&&ce==="loaded"?re():i.push({name:Z,state:ce,callback:re})};return{items:e,urls:n,lookup:a,_listeners:i,get:f,dependencies:g,requireLangPack:b,add:C,remove:A,createUrl:N,addComponents:z,load:K,waitFor:G}};za.languageLoad=!0,za.baseURL="",za.PluginManager=za(),za.ThemeManager=za();var Ad=function(e){var n=rs(J.none()),a=function(){return n.get().each(e)},i=function(){a(),n.set(J.none())},s=function(){return n.get().isSome()},f=function(){return n.get()},g=function(b){a(),n.set(J.some(b))};return{clear:i,isSet:s,get:f,set:g}},Cv=function(){var e=Ad(Le),n=function(a){return e.get().each(a)};return Sn(Sn({},e),{on:n})},_a=function(e,n){var a=null,i=function(){ee(a)||(clearTimeout(a),a=null)},s=function(){for(var f=[],g=0;g<arguments.length;g++)f[g]=arguments[g];ee(a)&&(a=setTimeout(function(){a=null,e.apply(null,f)},n))};return{cancel:i,throttle:s}},Xp=function(e,n){var a=null,i=function(){ee(a)||(clearTimeout(a),a=null)},s=function(){for(var f=[],g=0;g<arguments.length;g++)f[g]=arguments[g];i(),a=setTimeout(function(){a=null,e.apply(null,f)},n)};return{cancel:i,throttle:s}},Yp=function(e,n){var a=U(e,n);return a===void 0||a===""?[]:a.split(" ")},Ji=function(e,n,a){var i=Yp(e,n),s=i.concat([a]);return O(e,n,s.join(" ")),!0},Sv=function(e,n,a){var i=bn(Yp(e,n),function(s){return s!==a});return i.length>0?O(e,n,i.join(" ")):Je(e,n),!1},Jp=function(e){return e.dom.classList!==void 0},uk=function(e){return Yp(e,"class")},sk=function(e,n){return Ji(e,"class",n)},Zp=function(e,n){return Sv(e,"class",n)},Wm=function(e,n){Jp(e)?e.dom.classList.add(n):sk(e,n)},P0=function(e){var n=Jp(e)?e.dom.classList:uk(e);n.length===0&&Je(e,"class")},Qp=function(e,n){if(Jp(e)){var a=e.dom.classList;a.remove(n)}else Zp(e,n);P0(e)},jm=function(e,n){return Jp(e)&&e.dom.classList.contains(n)},e1=function(e,n){var a=[];return xt(Pu(e),function(i){n(i)&&(a=a.concat([i])),a=a.concat(e1(i,n))}),a},ys=function(e,n){return ar(n,e)},Dd=Y("mce-annotation"),Yl=Y("data-mce-annotation"),ws=Y("data-mce-annotation-uid"),F2=function(e,n){var a=e.selection.getRng(),i=T.fromDom(a.startContainer),s=T.fromDom(e.getBody()),f=n.fold(function(){return"."+Dd()},function(A){return"["+Yl()+'="'+A+'"]'}),g=fl(i,a.startOffset).getOr(i),b=Wo(g,f,function(A){return jn(A,s)}),C=function(A,N){return Oe(A,N)?J.some(U(A,N)):J.none()};return b.bind(function(A){return C(A,""+ws()).bind(function(N){return C(A,""+Yl()).map(function(z){var F=$0(e,N);return{uid:N,name:z,elements:F}})})})},lu=function(e){return ro(e)&&jm(e,Dd())},$0=function(e,n){var a=T.fromDom(e.getBody());return ys(a,"["+ws()+'="'+n+'"]')},Nf=function(e,n){var a=T.fromDom(e.getBody()),i=ys(a,"["+Yl()+'="'+n+'"]'),s={};return xt(i,function(f){var g=U(f,ws()),b=Br(s,g).getOr([]);s[g]=b.concat([f])}),s},N0=function(e,n){var a=rs({}),i=function(){return{listeners:[],previous:Cv()}},s=function(N,z){f(N,function(F){return z(F),F})},f=function(N,z){var F=a.get(),K=Br(F,N).getOrThunk(i),G=z(K);F[N]=G,a.set(F)},g=function(N,z,F){s(N,function(K){xt(K.listeners,function(G){return G(!0,N,{uid:z,nodes:Kn(F,function(Z){return Z.dom})})})})},b=function(N){s(N,function(z){xt(z.listeners,function(F){return F(!1,N)})})},C=Xp(function(){var N=a.get(),z=ta(Ut(N));xt(z,function(F){f(F,function(K){var G=K.previous.get();return F2(e,J.some(F)).fold(function(){G.isSome()&&(b(F),K.previous.clear())},function(Z){var re=Z.uid,ce=Z.name,se=Z.elements;sd(G,re)||(g(ce,re,se),K.previous.set(re))}),{previous:K.previous,listeners:K.listeners}})})},30);e.on("remove",function(){C.cancel()}),e.on("NodeChange",function(){C.throttle()});var A=function(N,z){f(N,function(F){return{previous:F.previous,listeners:F.listeners.concat([z])}})};return{addListener:A}},I0=function(e,n){var a=function(i){return J.from(i.attr(Yl())).bind(n.lookup)};e.on("init",function(){e.serializer.addNodeFilter("span",function(i){xt(i,function(s){a(s).each(function(f){f.persistent===!1&&s.unwrap()})})})})},L2=function(){var e={},n=function(i,s){e[i]={name:i,settings:s}},a=function(i){return Br(e,i).map(function(s){return s.settings})};return{register:n,lookup:a}},t1=0,qm=function(e){var n=new Date,a=n.getTime(),i=Math.floor(Math.random()*1e9);return t1++,e+"_"+i+t1+String(a)},z0=function(e,n){xt(n,function(a){Wm(e,a)})},ck=function(e,n){var a=n||document,i=a.createElement("div");return i.innerHTML=e,Pu(T.fromDom(i))},lk=function(e){return Kn(e,T.fromDom)},Eu=function(e){return e.dom.innerHTML},Ei=function(e,n){var a=Nc(e),i=a.dom,s=T.fromDom(i.createDocumentFragment()),f=ck(n,i);bf(s,f),yf(e),xi(e,s)},Fu=function(e,n){return T.fromDom(e.dom.cloneNode(n))},Zi=function(e){return Fu(e,!1)},Cs=function(e){return Fu(e,!0)},fu=function(e,n,a){a===void 0&&(a=yt);var i=new ba(e,n),s=function(f){var g;do g=i[f]();while(g&&!an(g)&&!a(g));return J.from(g).filter(an)};return{current:function(){return J.from(i.current()).filter(an)},next:function(){return s("next")},prev:function(){return s("prev")},prev2:function(){return s("prev2")}}},n1=function(e,n){var a=n||function(g){return e.isBlock(g)||Na(g)||ao(g)},i=function(g,b,C,A){if(an(g)){var N=A(g,b,g.data);if(N!==-1)return J.some({container:g,offset:N})}return C().bind(function(z){return i(z.container,z.offset,C,A)})},s=function(g,b,C,A){var N=fu(g,A,a);return i(g,b,function(){return N.prev().map(function(z){return{container:z,offset:z.length}})},C).getOrNull()},f=function(g,b,C,A){var N=fu(g,A,a);return i(g,b,function(){return N.next().map(function(z){return{container:z,offset:0}})},C).getOrNull()};return{backwards:s,forwards:f}},xv=Math.round,Tv=function(e){return e?{left:xv(e.left),top:xv(e.top),bottom:xv(e.bottom),right:xv(e.right),width:xv(e.width),height:xv(e.height)}:{left:0,top:0,bottom:0,right:0,width:0,height:0}},F0=function(e,n){return e=Tv(e),n||(e.left=e.left+e.width),e.right=e.left,e.width=0,e},H2=function(e,n){return e.left===n.left&&e.top===n.top&&e.bottom===n.bottom&&e.right===n.right},r1=function(e,n,a){return e>=0&&e<=Math.min(n.height,a.height)/2},If=function(e,n){var a=Math.min(n.height/2,e.height/2);return e.bottom-a<n.top?!0:e.top>n.bottom?!1:r1(n.top-e.bottom,e,n)},kv=function(e,n){return e.top>n.bottom?!0:e.bottom<n.top?!1:r1(n.bottom-e.top,e,n)},V2=function(e,n,a){return n>=e.left&&n<=e.right&&a>=e.top&&a<=e.bottom},fk=function(e,n,a){return Math.min(Math.max(e,n),a)},a1=function(e){var n=e.startContainer,a=e.startOffset;return n.hasChildNodes()&&e.endOffset===a+1?n.childNodes[a]:null},as=function(e,n){if(Qn(e)&&e.hasChildNodes()){var a=e.childNodes,i=fk(n,0,a.length-1);return a[i]}else return e},o1=function(e,n){if(!(n<0&&Qn(e)&&e.hasChildNodes()))return as(e,n)},Oi=new RegExp("[\u0300-\u036F\u0483-\u0487\u0488-\u0489\u0591-\u05BD\u05BF\u05C1-\u05C2\u05C4-\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7-\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962-\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2-\u09E3\u0A01-\u0A02\u0A3C\u0A41-\u0A42\u0A47-\u0A48\u0A4B-\u0A4D\u0A51\u0A70-\u0A71\u0A75\u0A81-\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7-\u0AC8\u0ACD\u0AE2-\u0AE3\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B56\u0B57\u0B62-\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55-\u0C56\u0C62-\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC-\u0CCD\u0CD5-\u0CD6\u0CE2-\u0CE3\u0D01\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62-\u0D63\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB-\u0EBC\u0EC8-\u0ECD\u0F18-\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86-\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039-\u103A\u103D-\u103E\u1058-\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085-\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752-\u1753\u1772-\u1773\u17B4-\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u18A9\u1920-\u1922\u1927-\u1928\u1932\u1939-\u193B\u1A17-\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ABD\u1ABE\u1B00-\u1B03\u1B34\u1B36-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80-\u1B81\u1BA2-\u1BA5\u1BA8-\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8-\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8-\u1CF9\u1DC0-\u1DF5\u1DFC-\u1DFF\u200C-\u200D\u20D0-\u20DC\u20DD-\u20E0\u20E1\u20E2-\u20E4\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302D\u302E-\u302F\u3099-\u309A\uA66F\uA670-\uA672\uA674-\uA67D\uA69E-\uA69F\uA6F0-\uA6F1\uA802\uA806\uA80B\uA825-\uA826\uA8C4\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9E5\uAA29-\uAA2E\uAA31-\uAA32\uAA35-\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7-\uAAB8\uAABE-\uAABF\uAAC1\uAAEC-\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E-\uFF9F]"),U2=function(e){return typeof e=="string"&&e.charCodeAt(0)>=768&&Oi.test(e)},vk=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return function(a){for(var i=0;i<e.length;i++)if(e[i](a))return!0;return!1}},L0=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return function(a){for(var i=0;i<e.length;i++)if(!e[i](a))return!1;return!0}},W2=Qn,j2=Wl,_t=Zu("display","block table"),dk=Zu("float","left right"),qo=L0(W2,j2,Ca(dk)),H0=Ca(Zu("white-space","pre pre-line pre-wrap")),Rd=an,i1=Na,Hs=Qa.nodeIndex,Gm=o1,oh=function(e){return"createRange"in e?e.createRange():Qa.DOM.createRng()},u1=function(e){return e&&/[\r\n\t ]/.test(e)},Jl=function(e){return!!e.setStart&&!!e.setEnd},ih=function(e){var n=e.startContainer,a=e.startOffset;if(u1(e.toString())&&H0(n.parentNode)&&an(n)){var i=n.data;if(u1(i[a-1])||u1(i[a+1]))return!0}return!1},s1=function(e){var n=e.ownerDocument,a=oh(n),i=n.createTextNode($s),s=e.parentNode;s.insertBefore(i,e),a.setStart(i,0),a.setEnd(i,1);var f=Tv(a.getBoundingClientRect());return s.removeChild(i),f},Vs=function(e){var n=e.startContainer,a=e.endContainer,i=e.startOffset,s=e.endOffset;if(n===a&&an(a)&&i===0&&s===1){var f=e.cloneRange();return f.setEndAfter(a),zf(f)}else return null},Kc=function(e){return e.left===0&&e.right===0&&e.top===0&&e.bottom===0},zf=function(e){var n,a=e.getClientRects();return a.length>0?n=Tv(a[0]):n=Tv(e.getBoundingClientRect()),!Jl(e)&&i1(e)&&Kc(n)?s1(e):Kc(n)&&Jl(e)?Vs(e):n},Ai=function(e,n){var a=F0(e,n);return a.width=1,a.right=a.left+1,a},V0=function(e){var n=[],a=function(C){C.height!==0&&(n.length>0&&H2(C,n[n.length-1])||n.push(C))},i=function(C,A){var N=oh(C.ownerDocument);if(A<C.data.length){if(U2(C.data[A]))return n;if(U2(C.data[A-1])&&(N.setStart(C,A),N.setEnd(C,A+1),!ih(N)))return a(Ai(zf(N),!1)),n}A>0&&(N.setStart(C,A-1),N.setEnd(C,A),ih(N)||a(Ai(zf(N),!1))),A<C.data.length&&(N.setStart(C,A),N.setEnd(C,A+1),ih(N)||a(Ai(zf(N),!0)))},s=e.container(),f=e.offset();if(Rd(s))return i(s,f),n;if(W2(s))if(e.isAtEnd()){var g=Gm(s,f);Rd(g)&&i(g,g.data.length),qo(g)&&!i1(g)&&a(Ai(zf(g),!1))}else{var g=Gm(s,f);if(Rd(g)&&i(g,0),qo(g)&&e.isAtEnd())return a(Ai(zf(g),!1)),n;var b=Gm(e.container(),e.offset()-1);qo(b)&&!i1(b)&&(_t(b)||_t(g)||!qo(g))&&a(Ai(zf(b),!1)),qo(g)&&a(Ai(zf(g),!0))}return n},Ve=function(e,n,a){var i=function(){return Rd(e),n===0},s=function(){return Rd(e)?n>=e.data.length:n>=e.childNodes.length},f=function(){var N=oh(e.ownerDocument);return N.setStart(e,n),N.setEnd(e,n),N},g=function(){return a||(a=V0(Ve(e,n))),a},b=function(){return g().length>0},C=function(N){return N&&e===N.container()&&n===N.offset()},A=function(N){return Gm(e,N?n-1:n)};return{container:Y(e),offset:Y(n),toRange:f,getClientRects:g,isVisible:b,isAtStart:i,isAtEnd:s,isEqual:C,getNode:A}};Ve.fromRangeStart=function(e){return Ve(e.startContainer,e.startOffset)},Ve.fromRangeEnd=function(e){return Ve(e.endContainer,e.endOffset)},Ve.after=function(e){return Ve(e.parentNode,Hs(e)+1)},Ve.before=function(e){return Ve(e.parentNode,Hs(e))},Ve.isAbove=function(e,n){return $u(Ha(n.getClientRects()),ea(e.getClientRects()),If).getOr(!1)},Ve.isBelow=function(e,n){return $u(ea(n.getClientRects()),Ha(e.getClientRects()),kv).getOr(!1)},Ve.isAtStart=function(e){return e?e.isAtStart():!1},Ve.isAtEnd=function(e){return e?e.isAtEnd():!1},Ve.isTextPosition=function(e){return e?an(e.container()):!1},Ve.isElementPosition=function(e){return Ve.isTextPosition(e)===!1};var Ev=function(e,n){an(n)&&n.data.length===0&&e.remove(n)},uh=function(e,n,a){n.insertNode(a),Ev(e,a.previousSibling),Ev(e,a.nextSibling)},Km=function(e,n,a){var i=J.from(a.firstChild),s=J.from(a.lastChild);n.insertNode(a),i.each(function(f){return Ev(e,f.previousSibling)}),s.each(function(f){return Ev(e,f.nextSibling)})},Ov=function(e,n,a){mr(a)?Km(e,n,a):uh(e,n,a)},xl=an,U0=Uo,W0=Qa.nodeIndex,c1=function(e){var n=e.parentNode;return U0(n)?c1(n):n},l1=function(e){return e?Hi(e.childNodes,function(n,a){return U0(a)&&a.nodeName!=="BR"?n=n.concat(l1(a)):n.push(a),n},[]):[]},q2=function(e,n){for(;(e=e.previousSibling)&&xl(e);)n+=e.data.length;return n},j0=function(e){return function(n){return e===n}},q0=function(e){var n,a;n=l1(c1(e)),a=Mr(n,j0(e),e),n=n.slice(0,a+1);var i=Hi(n,function(s,f,g){return xl(f)&&xl(n[g-1])&&s++,s},0);return n=ui(n,ec([e.nodeName])),a=Mr(n,j0(e),e),a-i},G0=function(e){var n;return xl(e)?n="text()":n=e.nodeName.toLowerCase(),n+"["+q0(e)+"]"},K0=function(e,n,a){var i=[];for(n=n.parentNode;n!==e&&!(a&&a(n));n=n.parentNode)i.push(n);return i},X0=function(e,n){var a,i,s=[],f,g,b;return a=n.container(),i=n.offset(),xl(a)?f=q2(a,i):(g=a.childNodes,i>=g.length?(f="after",i=g.length-1):f="before",a=g[i]),s.push(G0(a)),b=K0(e,a),b=ui(b,Ca(Uo)),s=s.concat(Li(b,function(C){return G0(C)})),s.reverse().join("/")+","+f},_d=function(e,n,a){var i=l1(e);return i=ui(i,function(s,f){return!xl(s)||!xl(i[f-1])}),i=ui(i,ec([n])),i[a]},mk=function(e,n){for(var a=e,i=0,s;xl(a);){if(s=a.data.length,n>=i&&n<=i+s){e=a,n=n-i;break}if(!xl(a.nextSibling)){e=a,n=s;break}i+=s,a=a.nextSibling}return xl(e)&&n>e.data.length&&(n=e.data.length),Ve(e,n)},G2=function(e,n){var a;if(!n)return null;var i=n.split(","),s=i[0].split("/");a=i.length>1?i[1]:"before";var f=Hi(s,function(g,b){var C=/([\w\-\(\)]+)\[([0-9]+)\]/.exec(b);return C?(C[1]==="text()"&&(C[1]="#text"),_d(g,C[1],parseInt(C[2],10))):null},e);return f?xl(f)?mk(f,parseInt(a,10)):(a==="after"?a=W0(f)+1:a=W0(f),Ve(f.parentNode,a)):null},f1=ao,sh=function(e,n,a){var i,s;for(s=e(n.data.slice(0,a)).length,i=n.previousSibling;i&&an(i);i=i.previousSibling)s+=e(i.data).length;return s},v1=function(e,n,a,i,s){var f=i[s?"startContainer":"endContainer"],g=i[s?"startOffset":"endOffset"],b=[],C,A=0,N=e.getRoot();for(an(f)?b.push(a?sh(n,f,g):g):(C=f.childNodes,g>=C.length&&C.length&&(A=1,g=Math.max(0,C.length-1)),b.push(e.nodeIndex(C[g],a)+A));f&&f!==N;f=f.parentNode)b.push(e.nodeIndex(f,a));return b},d1=function(e,n,a,i){var s=n.dom,f={};return f.start=v1(s,e,a,i,!0),n.isCollapsed()||(f.end=v1(s,e,a,i,!1)),Ul(i)&&(f.isFakeCaret=!0),f},m1=function(e,n,a){var i=0;return je.each(e.select(n),function(s){if(s.getAttribute("data-mce-bogus")!=="all"){if(s===a)return!1;i++}}),i},Bd=function(e,n){var a,i,s,f=n?"start":"end";a=e[f+"Container"],i=e[f+"Offset"],Qn(a)&&a.nodeName==="TR"&&(s=a.childNodes,a=s[Math.min(n?i:i-1,s.length-1)],a&&(i=n?0:a.childNodes.length,e["set"+(n?"Start":"End")](a,i)))},K2=function(e){return Bd(e,!0),Bd(e,!1),e},No=function(e,n){var a;if(Qn(e)&&(e=as(e,n),f1(e)))return e;if(ps(e)&&(an(e)&&Ia(e)&&(e=e.parentNode),a=e.previousSibling,f1(a)||(a=e.nextSibling,f1(a))))return a},g1=function(e){return No(e.startContainer,e.startOffset)||No(e.endContainer,e.endOffset)},Go=function(e,n,a){var i=a.getNode(),s=i?i.nodeName:null,f=a.getRng();if(f1(i)||s==="IMG")return{name:s,index:m1(a.dom,s,i)};var g=g1(f);return g?(s=g.tagName,{name:s,index:m1(a.dom,s,g)}):d1(e,a,n,f)},h1=function(e){var n=e.getRng();return{start:X0(e.dom.getRoot(),Ve.fromRangeStart(n)),end:X0(e.dom.getRoot(),Ve.fromRangeEnd(n))}},Xm=function(e){return{rng:e.getRng()}},p1=function(e,n,a){var i={"data-mce-type":"bookmark",id:n,style:"overflow:hidden;line-height:0px"};return a?e.create("span",i,""):e.create("span",i)},Ym=function(e,n){var a=e.dom,i=e.getRng(),s=a.uniqueId(),f=e.isCollapsed(),g=e.getNode(),b=g.nodeName;if(b==="IMG")return{name:b,index:m1(a,b,g)};var C=K2(i.cloneRange());if(!f){C.collapse(!1);var A=p1(a,s+"_end",n);Ov(a,C,A)}i=K2(i),i.collapse(!0);var N=p1(a,s+"_start",n);return Ov(a,i,N),e.moveToBookmark({id:s,keep:!0}),{id:s}},X2=function(e,n,a){return n===2?Go(bl,a,e):n===3?h1(e):n?Xm(e):Ym(e,!1)},Y2=Rt(Go,On,!0),gk=Qa.DOM,hk="font-family font-size font-weight font-style text-decoration text-transform color background-color border border-radius outline text-shadow",J2=function(e,n,a){var i=e.getParam(n,a);if(i.indexOf("=")!==-1){var s=e.getParam(n,"","hash");return Br(s,e.id).getOr(a)}else return i},b1=function(e){return e.getParam("iframe_attrs",{})},y1=function(e){return e.getParam("doctype","<!DOCTYPE html>")},pk=function(e){return e.getParam("document_base_url","")},Z2=function(e){return J2(e,"body_id","tinymce")},Y0=function(e){return J2(e,"body_class","")},Q2=function(e){return e.getParam("content_security_policy","")},bk=function(e){return e.getParam("br_in_pre",!0)},vu=function(e){if(e.getParam("force_p_newlines",!1))return"p";var n=e.getParam("forced_root_block","p");return n===!1?"":n===!0?"p":n},Md=function(e){return e.getParam("forced_root_block_attrs",{})},J0=function(e){return e.getParam("br_newline_selector",".mce-toc h2,figcaption,caption")},eC=function(e){return e.getParam("no_newline_selector","")},Jm=function(e){return e.getParam("keep_styles",!0)},tC=function(e){return e.getParam("end_container_on_empty_block",!1)},yk=function(e){return je.explode(e.getParam("font_size_style_values","xx-small,x-small,small,medium,large,x-large,xx-large"))},ch=function(e){return je.explode(e.getParam("font_size_classes",""))},lh=function(e){return e.getParam("images_dataimg_filter",Ht,"function")},Av=function(e){return e.getParam("automatic_uploads",!0,"boolean")},w1=function(e){return e.getParam("images_reuse_filename",!1,"boolean")},C1=function(e){return e.getParam("images_replace_blob_uris",!0,"boolean")},S1=function(e){return e.getParam("icons","","string")},wk=function(e){return e.getParam("icons_url","","string")},Ff=function(e){return e.getParam("images_upload_url","","string")},x1=function(e){return e.getParam("images_upload_base_path","","string")},Ck=function(e){return e.getParam("images_upload_credentials",!1,"boolean")},Dv=function(e){return e.getParam("images_upload_handler",null,"function")},Rv=function(e){return e.getParam("content_css_cors",!1,"boolean")},nC=function(e){return e.getParam("referrer_policy","","string")},fh=function(e){return e.getParam("language","en","string")},Z0=function(e){return e.getParam("language_url","","string")},T1=function(e){return e.getParam("indent_use_margin",!1)},Qi=function(e){return e.getParam("indentation","40px","string")},Sk=function(e){var n=e.getParam("content_css");return St(n)?Kn(n.split(","),Ta):sn(n)?n:n===!1||e.inline?[]:["default"]},k1=function(e){var n=e.getParam("font_css",[]);return sn(n)?n:Kn(n.split(","),Ta)},rC=function(e){return e.getParam("directionality",Er.isRtl()?"rtl":void 0)},xk=function(e){return e.getParam("inline_boundaries_selector","a[href],code,.mce-annotation","string")},Xc=function(e){var n=e.getParam("object_resizing");return n===!1||wt.iOS?!1:St(n)?n:"table,img,figure.image,div,video,iframe"},Lf=function(e){return e.getParam("resize_img_proportional",!0,"boolean")},Tk=function(e){return e.getParam("placeholder",gk.getAttrib(e.getElement(),"placeholder"),"string")},Q0=function(e){return e.getParam("event_root")},ey=function(e){return e.getParam("service_message")},Pd=function(e){return e.getParam("theme")},aC=function(e){return e.getParam("validate")},Zm=function(e){return e.getParam("inline_boundaries")!==!1},kk=function(e){return e.getParam("formats")},Ek=function(e){var n=e.getParam("preview_styles",hk);return St(n)?n:""},Ok=function(e){return e.getParam("format_empty_lines",!1,"boolean")},Qm=function(e){return e.getParam("custom_ui_selector","","string")},$d=function(e){return e.getParam("theme_url")},ty=function(e){return e.getParam("inline")},oC=function(e){return e.getParam("hidden_input")},Ak=function(e){return e.getParam("submit_patch")},iC=function(e){return e.getParam("encoding")==="xml"},uC=function(e){return e.getParam("add_form_submit_trigger")},ny=function(e){return e.getParam("add_unload_trigger")},Dk=function(e){return vu(e)!==""},E1=function(e){return e.getParam("custom_undo_redo_levels",0,"number")},Rk=function(e){return e.getParam("disable_nodechange")},vh=function(e){return e.getParam("readonly")},_k=function(e){return e.getParam("content_css_cors")},ry=function(e){return e.getParam("plugins","","string")},Bk=function(e){return e.getParam("external_plugins")},sC=function(e){return e.getParam("block_unsupported_drop",!0,"boolean")},Mk=function(e){return e.getParam("visual",!0,"boolean")},eg=function(e){return e.getParam("visual_table_class","mce-item-table","string")},cC=function(e){return e.getParam("visual_anchor_class","mce-item-anchor","string")},Pk=function(e){return e.getParam("iframe_aria_text","Rich Text Area. Press ALT-0 for help.","string")},ay=Qn,oy=an,O1=function(e){var n=e.parentNode;n&&n.removeChild(e)},lC=function(e){var n=bl(e);return{count:e.length-n.length,text:n}},fC=function(e){for(var n;(n=e.data.lastIndexOf(Se))!==-1;)e.deleteData(n,1)},tg=function(e,n){return Nd(e),n},vC=function(e,n){var a=lC(e.data.substr(0,n.offset())),i=lC(e.data.substr(n.offset())),s=a.text+i.text;return s.length>0?(fC(e),Ve(e,n.offset()-a.count)):n},dC=function(e,n){var a=n.container(),i=$n(Rr(a.childNodes),e).map(function(s){return s<n.offset()?Ve(a,n.offset()-1):n}).getOr(n);return Nd(e),i},$k=function(e,n){return oy(e)&&n.container()===e?vC(e,n):tg(e,n)},Nk=function(e,n){return n.container()===e.parentNode?dC(e,n):tg(e,n)},iy=function(e,n){return Ve.isTextPosition(n)?$k(e,n):Nk(e,n)},Nd=function(e){ay(e)&&ps(e)&&(Af(e)?e.removeAttribute("data-mce-caret"):O1(e)),oy(e)&&(fC(e),e.data.length===0&&O1(e))},A1=Wt().browser,mC=ao,D1=ms,gC=Cm,Ik="*[contentEditable=false],video,audio,embed,object",uy=function(e,n,a){var i=F0(n.getBoundingClientRect(),a),s,f;if(e.tagName==="BODY"){var g=e.ownerDocument.documentElement;s=e.scrollLeft||g.scrollLeft,f=e.scrollTop||g.scrollTop}else{var b=e.getBoundingClientRect();s=e.scrollLeft-b.left,f=e.scrollTop-b.top}i.left+=s,i.right+=s,i.top+=f,i.bottom+=f,i.width=1;var C=n.offsetWidth-n.clientWidth;return C>0&&(a&&(C*=-1),i.left+=C,i.right+=C),i},zk=function(e){for(var n=ys(T.fromDom(e),Ik),a=0;a<n.length;a++){var i=n[a].dom,s=i.previousSibling;if(Kg(s)){var f=s.data;f.length===1?s.parentNode.removeChild(s):s.deleteData(f.length-1,1)}if(s=i.nextSibling,Gg(s)){var f=s.data;f.length===1?s.parentNode.removeChild(s):s.deleteData(0,1)}}},hC=function(e,n,a,i){var s=Cv(),f,g,b=vu(e),C=b.length>0?b:"p",A=function(Z,re){var ce;if(N(),gC(re))return null;if(a(re)){g=y2(C,re,Z);var se=uy(n,re,Z);vr(g).css("top",se.top);var pe=vr('<div class="mce-visual-caret" data-mce-bogus="all"></div>').css(Sn({},se)).appendTo(n)[0];s.set({caret:pe,element:re,before:Z}),Z&&vr(pe).addClass("mce-visual-caret-before"),z(),ce=re.ownerDocument.createRange(),ce.setStart(g,0),ce.setEnd(g,0)}else return g=n0(re,Z),ce=re.ownerDocument.createRange(),Mi(g.nextSibling)?(ce.setStart(g,0),ce.setEnd(g,0)):(ce.setStart(g,1),ce.setEnd(g,1)),ce;return ce},N=function(){zk(n),g&&(Nd(g),g=null),s.on(function(Z){vr(Z.caret).remove(),s.clear()}),f&&(xu.clearInterval(f),f=void 0)},z=function(){f=xu.setInterval(function(){i()?vr("div.mce-visual-caret",n).toggleClass("mce-visual-caret-hidden"):vr("div.mce-visual-caret",n).addClass("mce-visual-caret-hidden")},500)},F=function(){s.on(function(Z){var re=uy(n,Z.element,Z.before);vr(Z.caret).css(Sn({},re))})},K=function(){return xu.clearInterval(f)},G=function(){return".mce-visual-caret {position: absolute;background-color: black;background-color: currentcolor;}.mce-visual-caret-hidden {display: none;}*[data-mce-caret] {position: absolute;left: -1000px;right: auto;top: 0;margin: 0;padding: 0;}"};return{show:A,hide:N,getCss:G,reposition:F,destroy:K}},Id=function(){return A1.isIE()||A1.isEdge()||A1.isFirefox()},Mi=function(e){return mC(e)||D1(e)},_v=function(e){return Mi(e)||Qo(e)&&Id()},R1=ao,Fk=ms,pC=Zu("display","block table table-cell table-caption list-item"),bC=ps,sy=Ia,cy=Qn,Us=Wl,Hf=function(e){return e>0},zd=function(e){return e<0},dh=function(e,n){for(var a;a=e(n);)if(!sy(a))return a;return null},Fd=function(e,n,a,i,s){var f=new ba(e,i),g=R1(e)||sy(e);if(zd(n)){if(g&&(e=dh(f.prev.bind(f),!0),a(e)))return e;for(;e=dh(f.prev.bind(f),s);)if(a(e))return e}if(Hf(n)){if(g&&(e=dh(f.next.bind(f),!0),a(e)))return e;for(;e=dh(f.next.bind(f),s);)if(a(e))return e}return null},Zl=function(e,n){for(;e&&e!==n;){if(pC(e))return e;e=e.parentNode}return null},Yc=function(e,n,a){return Zl(e.container(),a)===Zl(n.container(),a)},ng=function(e,n){if(!n)return null;var a=n.container(),i=n.offset();return cy(a)?a.childNodes[i+e]:null},ly=function(e,n){var a=n.ownerDocument.createRange();return e?(a.setStartBefore(n),a.setEndBefore(n)):(a.setStartAfter(n),a.setEndAfter(n)),a},yC=function(e,n,a){return Zl(n,e)===Zl(a,e)},_1=function(e,n,a){for(var i=e?"previousSibling":"nextSibling";a&&a!==n;){var s=a[i];if(bC(s)&&(s=s[i]),R1(s)||Fk(s)){if(yC(n,s,a))return s;break}if(Us(s))break;a=a.parentNode}return null},Ld=Rt(ly,!0),Vf=Rt(ly,!1),B1=function(e,n,a){var i,s=Rt(_1,!0,n),f=Rt(_1,!1,n),g=a.startContainer,b=a.startOffset;if(Ia(g)){cy(g)||(g=g.parentNode);var C=g.getAttribute("data-mce-caret");if(C==="before"&&(i=g.nextSibling,_v(i)))return Ld(i);if(C==="after"&&(i=g.previousSibling,_v(i)))return Vf(i)}if(!a.collapsed)return a;if(an(g)){if(bC(g)){if(e===1){if(i=f(g),i)return Ld(i);if(i=s(g),i)return Vf(i)}if(e===-1){if(i=s(g),i)return Vf(i);if(i=f(g),i)return Ld(i)}return a}if(Kg(g)&&b>=g.data.length-1)return e===1&&(i=f(g),i)?Ld(i):a;if(Gg(g)&&b<=1)return e===-1&&(i=s(g),i)?Vf(i):a;if(b===g.data.length)return i=f(g),i?Ld(i):a;if(b===0)return i=s(g),i?Vf(i):a}return a},fy=function(e,n){return J.from(ng(e?0:-1,n)).filter(R1)},eu=function(e,n,a){var i=B1(e,n,a);return e===-1?Ve.fromRangeStart(i):Ve.fromRangeEnd(i)},Bv=function(e){return J.from(e.getNode()).map(T.fromDom)},wC=function(e){return J.from(e.getNode(!0)).map(T.fromDom)},vy=function(e,n){for(;n=e(n);)if(n.isVisible())return n;return n},M1=function(e,n){var a=Yc(e,n);return!a&&Na(e.getNode())?!0:a},du;(function(e){e[e.Backwards=-1]="Backwards",e[e.Forwards=1]="Forwards"})(du||(du={}));var Lk=ao,Ql=an,CC=Qn,dy=Na,Mv=Wl,SC=zT,P1=vi,xC=function(e,n){for(var a=[];e&&e!==n;)a.push(e),e=e.parentNode;return a},my=function(e,n){return e.hasChildNodes()&&n<e.childNodes.length?e.childNodes[n]:null},TC=function(e,n){if(Hf(e)){if(Mv(n.previousSibling)&&!Ql(n.previousSibling))return Ve.before(n);if(Ql(n))return Ve(n,0)}if(zd(e)){if(Mv(n.nextSibling)&&!Ql(n.nextSibling))return Ve.after(n);if(Ql(n))return Ve(n,n.data.length)}return zd(e)?dy(n)?Ve.before(n):Ve.after(n):Ve.before(n)},Hk=function(e,n){var a=n.nextSibling;return a&&Mv(a)?Ql(a)?Ve(a,0):Ve.before(a):gy(du.Forwards,Ve.after(n),e)},gy=function(e,n,a){var i,s,f,g;if(!CC(a)||!n)return null;if(n.isEqual(Ve.after(a))&&a.lastChild){if(g=Ve.after(a.lastChild),zd(e)&&Mv(a.lastChild)&&CC(a.lastChild))return dy(a.lastChild)?Ve.before(a.lastChild):g}else g=n;var b=g.container(),C=g.offset();if(Ql(b)){if(zd(e)&&C>0)return Ve(b,--C);if(Hf(e)&&C<b.length)return Ve(b,++C);i=b}else{if(zd(e)&&C>0&&(s=my(b,C-1),Mv(s)))return!SC(s)&&(f=Fd(s,e,P1,s),f)?Ql(f)?Ve(f,f.data.length):Ve.after(f):Ql(s)?Ve(s,s.data.length):Ve.before(s);if(Hf(e)&&C<b.childNodes.length&&(s=my(b,C),Mv(s)))return dy(s)?Hk(a,s):!SC(s)&&(f=Fd(s,e,P1,s),f)?Ql(f)?Ve(f,0):Ve.before(f):Ql(s)?Ve(s,0):Ve.after(s);i=s||g.getNode()}if((Hf(e)&&g.isAtEnd()||zd(e)&&g.isAtStart())&&(i=Fd(i,e,Ht,a,!0),P1(i,a)))return TC(e,i);s=Fd(i,e,P1,a);var A=si(bn(xC(b,a),Lk));return A&&(!s||!A.contains(s))?(Hf(e)?g=Ve.after(A):g=Ve.before(A),g):s?TC(e,s):null},Tl=function(e){return{next:function(n){return gy(du.Forwards,n,e)},prev:function(n){return gy(du.Backwards,n,e)}}},$1=function(e,n,a){var i=e?Ve.before(a):Ve.after(a);return Ou(e,n,i)},os=function(e){return Na(e)?Ve.before(e):Ve.after(e)},mh=function(e){return Ve.isTextPosition(e)?e.offset()===0:Wl(e.getNode())},gh=function(e){if(Ve.isTextPosition(e)){var n=e.container();return e.offset()===n.data.length}else return Wl(e.getNode(!0))},hy=function(e,n){return!Ve.isTextPosition(e)&&!Ve.isTextPosition(n)&&e.getNode()===n.getNode(!0)},Vk=function(e){return!Ve.isTextPosition(e)&&Na(e.getNode())},kC=function(e,n,a){return e?!hy(n,a)&&!Vk(n)&&gh(n)&&mh(a):!hy(a,n)&&mh(n)&&gh(a)},Ou=function(e,n,a){var i=Tl(n);return J.from(e?i.next(a):i.prev(a))},Hd=function(e,n,a){return Ou(e,n,a).bind(function(i){return Yc(a,i,n)&&kC(e,a,i)?Ou(e,n,i):J.some(i)})},hh=function(e,n,a,i){return Hd(e,n,a).bind(function(s){return i(s)?hh(e,n,s,i):J.some(s)})},Sc=function(e,n){var a=e?n.firstChild:n.lastChild;return an(a)?J.some(Ve(a,e?0:a.data.length)):a?Wl(a)?J.some(e?Ve.before(a):os(a)):$1(e,n,a):J.none()},xc=Rt(Ou,!0),Tc=Rt(Ou,!1),is=Rt(Sc,!0),kl=Rt(Sc,!1),N1="_mce_caret",kc=function(e){return Qn(e)&&e.id===N1},El=function(e,n){for(;n&&n!==e;){if(n.id===N1)return n;n=n.parentNode}return null},Uk=function(e){return St(e.start)},Wk=function(e){return ur(e,"rng")},EC=function(e){return ur(e,"id")},OC=function(e){return ur(e,"name")},AC=function(e){return je.isArray(e.start)},DC=function(e,n){return Qn(n)&&e.isBlock(n)&&!n.innerHTML&&!wt.ie&&(n.innerHTML='<br data-mce-bogus="1" />'),n},jk=function(e,n){var a,i=e.createRng();return a=G2(e.getRoot(),n.start),i.setStart(a.container(),a.offset()),a=G2(e.getRoot(),n.end),i.setEnd(a.container(),a.offset()),i},qk=function(e,n){var a=e.ownerDocument.createTextNode(Se);e.appendChild(a),n.setStart(a,0),n.setEnd(a,0)},RC=function(e){return e.hasChildNodes()===!1},Gk=function(e,n){return kl(e).fold(yt,function(a){return n.setStart(a.container(),a.offset()),n.setEnd(a.container(),a.offset()),!0})},py=function(e,n,a){return RC(n)&&El(e,n)?(qk(n,a),!0):!1},_C=function(e,n,a,i){var s=a[n?"start":"end"],f,g,b,C,A=e.getRoot();if(s){for(b=s[0],g=A,f=s.length-1;f>=1;f--){if(C=g.childNodes,py(A,g,i))return!0;if(s[f]>C.length-1)return py(A,g,i)?!0:Gk(g,i);g=C[s[f]]}g.nodeType===3&&(b=Math.min(s[0],g.nodeValue.length)),g.nodeType===1&&(b=Math.min(s[0],g.childNodes.length)),n?i.setStart(g,b):i.setEnd(g,b)}return!0},by=function(e){return an(e)&&e.data.length>0},BC=function(e,n,a){var i=e.get(a.id+"_"+n),s,f,g,b,C=a.keep,A,N;if(i){if(s=i.parentNode,n==="start"?(C?i.hasChildNodes()?(s=i.firstChild,f=1):by(i.nextSibling)?(s=i.nextSibling,f=0):by(i.previousSibling)?(s=i.previousSibling,f=i.previousSibling.data.length):(s=i.parentNode,f=e.nodeIndex(i)+1):f=e.nodeIndex(i),A=s,N=f):(C?i.hasChildNodes()?(s=i.firstChild,f=1):by(i.previousSibling)?(s=i.previousSibling,f=i.previousSibling.data.length):(s=i.parentNode,f=e.nodeIndex(i)):f=e.nodeIndex(i),A=s,N=f),!C){for(b=i.previousSibling,g=i.nextSibling,je.each(je.grep(i.childNodes),function(z){an(z)&&(z.nodeValue=z.nodeValue.replace(/\uFEFF/g,""))});i=e.get(a.id+"_"+n);)e.remove(i,!0);b&&g&&b.nodeType===g.nodeType&&an(b)&&!wt.opera&&(f=b.nodeValue.length,b.appendData(g.nodeValue),e.remove(g),A=b,N=f)}return J.some(Ve(A,N))}else return J.none()},Kk=function(e,n){var a=e.createRng();return _C(e,!0,n,a)&&_C(e,!1,n,a)?J.some(a):J.none()},Xk=function(e,n){var a=BC(e,"start",n),i=BC(e,"end",n);return $u(a,i.or(a),function(s,f){var g=e.createRng();return g.setStart(DC(e,s.container()),s.offset()),g.setEnd(DC(e,f.container()),f.offset()),g})},Yk=function(e,n){return J.from(e.select(n.name)[n.index]).map(function(a){var i=e.createRng();return i.selectNode(a),i})},Ur=function(e,n){var a=e.dom;if(n){if(AC(n))return Kk(a,n);if(Uk(n))return J.some(jk(a,n));if(EC(n))return Xk(a,n);if(OC(n))return Yk(a,n);if(Wk(n))return J.some(n.rng)}return J.none()},Vd=function(e,n,a){return X2(e,n,a)},rg=function(e,n){Ur(e,n).each(function(a){e.setRng(a)})},Ws=function(e){return Qn(e)&&e.tagName==="SPAN"&&e.getAttribute("data-mce-type")==="bookmark"},Jk=function(e){return function(n){return e===n}},Pv=Jk($s),ag=function(e){return e!==""&&` \f
|
|
170
170
|
\r \v`.indexOf(e)!==-1},ph=function(e){return!ag(e)&&!Pv(e)},og=function(e){return!!e.nodeType},MC=function(e){return e&&/^(IMG)$/.test(e.nodeName)},PC=function(e,n,a){var i=a.startOffset,s=a.startContainer;if(!(s===a.endContainer&&MC(s.childNodes[i]))&&Qn(s)){var f=s.childNodes,g=void 0;i<f.length?(s=f[i],g=new ba(s,e.getParent(s,e.isBlock))):(s=f[f.length-1],g=new ba(s,e.getParent(s,e.isBlock)),g.next(!0));for(var b=g.current();b;b=g.next())if(an(b)&&!Cy(b)){a.setStart(b,0),n.setRng(a);return}}},yy=function(e,n,a){if(e){var i=n?"nextSibling":"previousSibling";for(e=a?e:e[i];e;e=e[i])if(Qn(e)||!Cy(e))return e}},wy=function(e,n){return og(n)&&(n=n.nodeName),!!e.schema.getTextBlockElements()[n.toLowerCase()]},Ud=function(e,n,a){return e.schema.isValidChild(n,a)},Cy=function(e,n){if(n===void 0&&(n=!1),qt(e)&&an(e)){var a=n?e.data.replace(/ /g,"\xA0"):e.data;return Hc(a)}else return!1},Zk=function(e){return qt(e)&&an(e)&&e.length===0},ef=function(e,n){return pt(e)?e=e(n):qt(n)&&(e=e.replace(/%(\w+)/g,function(a,i){return n[i]||a})),e},Sy=function(e,n){return e=e||"",n=n||"",e=""+(e.nodeName||e),n=""+(n.nodeName||n),e.toLowerCase()===n.toLowerCase()},I1=function(e,n,a){return(a==="color"||a==="backgroundColor")&&(n=e.toHex(n)),a==="fontWeight"&&n===700&&(n="bold"),a==="fontFamily"&&(n=n.replace(/[\'\"]/g,"").replace(/,\s+/g,",")),""+n},z1=function(e,n,a){return I1(e,e.getStyle(n,a),a)},$C=function(e,n){var a;return e.getParent(n,function(i){return a=e.getStyle(i,"text-decoration"),a&&a!=="none"}),a},ig=function(e,n,a){return e.getParents(n,a,e.getRoot())},NC=function(e,n){var a=function(i){var s=function(f){return f.length>1&&f.charAt(0)==="%"};return Gn(["styles","attributes"],function(f){return Br(i,f).exists(function(g){var b=sn(g)?g:Fi(g);return Gn(b,s)})})};return Gn(e.formatter.get(n),a)},IC=function(e,n,a){var i=["inline","block","selector","attributes","styles","classes"],s=function(f){return ma(f,function(g,b){return Gn(i,function(C){return C===b})})};return Gn(e.formatter.get(n),function(f){var g=s(f);return Gn(e.formatter.get(a),function(b){var C=s(b);return ii(g,C)})})},Ol=function(e){return yo(e,"block")},cc=function(e){return yo(e,"selector")},mu=function(e){return yo(e,"inline")},zC=function(e){return cc(e)&&mu(e)&&sd(Br(e,"mixed"),!0)},xy=function(e){return cc(e)&&e.expand!==!1&&!mu(e)},ug=Ws,FC=ig,LC=Cy,HC=wy,F1=function(e){return Na(e)&&e.getAttribute("data-mce-bogus")&&!e.nextSibling},L1=function(e,n){for(var a=n;a;){if(Qn(a)&&e.getContentEditable(a))return e.getContentEditable(a)==="false"?a:n;a=a.parentNode}return n},VC=function(e,n,a,i){for(var s=n.data,f=a;e?f>=0:f<s.length;e?f--:f++)if(i(s.charAt(f)))return e?f+1:f;return-1},Vt=function(e,n,a){return VC(e,n,a,function(i){return Pv(i)||ag(i)})},Pi=function(e,n,a){return VC(e,n,a,ph)},Wd=function(e,n,a,i,s,f){var g,b=e.getParent(a,e.isBlock)||n,C=function(N,z,F){var K=n1(e),G=s?K.backwards:K.forwards;return J.from(G(N,z,function(Z,re){return ug(Z.parentNode)?-1:(g=Z,F(s,Z,re))},b))},A=C(a,i,Vt);return A.bind(function(N){return f?C(N.container,N.offset+(s?-1:0),Pi):J.some(N)}).orThunk(function(){return g?J.some({container:g,offset:s?0:g.length}):J.none()})},$i=function(e,n,a,i,s){an(i)&&au(i.data)&&i[s]&&(i=i[s]);for(var f=FC(e,i),g=0;g<f.length;g++)for(var b=0;b<n.length;b++){var C=n[b];if(!(qt(C.collapsed)&&C.collapsed!==a.collapsed)&&cc(C)&&e.is(f[g],C.selector))return f[g]}return i},Ec=function(e,n,a,i){var s=a,f=e.dom,g=f.getRoot(),b=n[0];if(Ol(b)&&(s=b.wrapper?null:f.getParent(a,b.block,g)),!s){var C=f.getParent(a,"LI,TD,TH");s=f.getParent(an(a)?a.parentNode:a,function(A){return A!==g&&HC(e,A)},C)}if(s&&Ol(b)&&b.wrapper&&(s=FC(f,s,"ul,ol").reverse()[0]||s),!s)for(s=a;s[i]&&!f.isBlock(s[i])&&(s=s[i],!Sy(s,"br")););return s||a},Ty=function(e,n,a,i){var s=a.parentNode;return qt(a[i])?!1:s===n||$t(s)||e.isBlock(s)?!0:Ty(e,n,s,i)},jd=function(e,n,a,i,s){var f=a,g=s?"previousSibling":"nextSibling",b=e.getRoot();if(an(a)&&!LC(a)&&(s?i>0:i<a.data.length))return a;for(;;){if(!n[0].block_expand&&e.isBlock(f))return f;for(var C=f[g];C;C=C[g]){var A=an(C)&&!Ty(e,b,C,g);if(!ug(C)&&!F1(C)&&!LC(C,A))return f}if(f===b||f.parentNode===b){a=f;break}f=f.parentNode}return a},H1=function(e){return ug(e.parentNode)||ug(e)},sg=function(e,n,a,i){i===void 0&&(i=!1);var s=n.startContainer,f=n.startOffset,g=n.endContainer,b=n.endOffset,C=e.dom,A=a[0];if(Qn(s)&&s.hasChildNodes()&&(s=as(s,f),an(s)&&(f=0)),Qn(g)&&g.hasChildNodes()&&(g=as(g,n.collapsed?b:b-1),an(g)&&(b=g.nodeValue.length)),s=L1(C,s),g=L1(C,g),H1(s)&&(s=ug(s)?s:s.parentNode,n.collapsed?s=s.previousSibling||s:s=s.nextSibling||s,an(s)&&(f=n.collapsed?s.length:0)),H1(g)&&(g=ug(g)?g:g.parentNode,n.collapsed?g=g.nextSibling||g:g=g.previousSibling||g,an(g)&&(b=n.collapsed?0:g.length)),n.collapsed){var N=Wd(C,e.getBody(),s,f,!0,i);N.each(function(F){var K=F.container,G=F.offset;s=K,f=G});var z=Wd(C,e.getBody(),g,b,!1,i);z.each(function(F){var K=F.container,G=F.offset;g=K,b=G})}return(mu(A)||A.block_expand)&&((!mu(A)||!an(s)||f===0)&&(s=jd(C,a,s,f,!0)),(!mu(A)||!an(g)||b===g.nodeValue.length)&&(g=jd(C,a,g,b,!1))),xy(A)&&(s=$i(C,a,n,s,"previousSibling"),g=$i(C,a,n,g,"nextSibling")),(Ol(A)||cc(A))&&(s=Ec(e,a,s,"previousSibling"),g=Ec(e,a,g,"nextSibling"),Ol(A)&&(C.isBlock(s)||(s=jd(C,a,s,f,!0)),C.isBlock(g)||(g=jd(C,a,g,b,!1)))),Qn(s)&&(f=C.nodeIndex(s),s=s.parentNode),Qn(g)&&(b=C.nodeIndex(g)+1,g=g.parentNode),{startContainer:s,startOffset:f,endContainer:g,endOffset:b}},qd=function(e,n,a){var i=n.startOffset,s=as(n.startContainer,i),f=n.endOffset,g=as(n.endContainer,f-1),b=function(Z){var re=Z[0];an(re)&&re===s&&i>=re.data.length&&Z.splice(0,1);var ce=Z[Z.length-1];return f===0&&Z.length>0&&ce===g&&an(ce)&&Z.splice(Z.length-1,1),Z},C=function(Z,re,ce){for(var se=[];Z&&Z!==ce;Z=Z[re])se.push(Z);return se},A=function(Z,re){return e.getParent(Z,function(ce){return ce.parentNode===re},re)},N=function(Z,re,ce){for(var se=ce?"nextSibling":"previousSibling",pe=Z,Ae=pe.parentNode;pe&&pe!==re;pe=Ae){Ae=pe.parentNode;var ge=C(pe===Z?pe:pe[se],se);ge.length&&(ce||ge.reverse(),a(b(ge)))}};if(s===g)return a(b([s]));var z=e.findCommonAncestor(s,g);if(e.isChildOf(s,g))return N(s,z,!0);if(e.isChildOf(g,s))return N(g,z);var F=A(s,z)||s,K=A(g,z)||g;N(s,F,!0);var G=C(F===s?F:F.nextSibling,"nextSibling",K===g?K.nextSibling:K);G.length&&a(b(G)),N(g,K)},bh=function(e){var n=[];if(e)for(var a=0;a<e.rangeCount;a++)n.push(e.getRangeAt(a));return n},Qk=function(e){return oi(e,function(n){var a=a1(n);return a?[T.fromDom(a)]:[]})},eE=function(e){return bh(e).length>1},ky=function(e){return bn(Qk(e),pl)},Ey=function(e){return ys(e,"td[data-mce-selected],th[data-mce-selected]")},UC=function(e,n){var a=Ey(n);return a.length>0?a:ky(e)},Gd=function(e){return UC(bh(e.selection.getSel()),T.fromDom(e.getBody()))},Jc=function(e,n){return cd(e,"table",n)},yh=function(e){var n=e.startContainer,a=e.startOffset;return an(n)?a===0?J.some(T.fromDom(n)):J.none():J.from(n.childNodes[a]).map(T.fromDom)},Oy=function(e){var n=e.endContainer,a=e.endOffset;return an(n)?a===n.data.length?J.some(T.fromDom(n)):J.none():J.from(n.childNodes[a-1]).map(T.fromDom)},Kd=function(e){return fi(e).fold(Y([e]),function(n){return[e].concat(Kd(n))})},wh=function(e){return Bs(e).fold(Y([e]),function(n){return ia(n)==="br"?hf(n).map(function(a){return[e].concat(wh(a))}).getOr([]):[e].concat(wh(n))})},Ch=function(e,n){return $u(yh(n),Oy(n),function(a,i){var s=da(Kd(e),Rt(jn,a)),f=da(wh(e),Rt(jn,i));return s.isSome()&&f.isSome()}).getOr(!1)},tf=function(e,n,a,i){var s=a,f=new ba(a,s),g=ma(e.schema.getMoveCaretBeforeOnEnterElements(),function(b,C){return!cn(["td","th","table"],C.toLowerCase())});do{if(an(a)&&je.trim(a.nodeValue).length!==0){i?n.setStart(a,0):n.setEnd(a,a.nodeValue.length);return}if(g[a.nodeName]){i?n.setStartBefore(a):a.nodeName==="BR"?n.setEndBefore(a):n.setEndAfter(a);return}}while(a=i?f.next():f.prev());s.nodeName==="BODY"&&(i?n.setStart(s,0):n.setEnd(s,s.childNodes.length))},Oc=function(e){var n=e.selection.getSel();return n&&n.rangeCount>0},$v=function(e,n){var a=Gd(e);a.length>0?xt(a,function(i){var s=i.dom,f=e.dom.createRng();f.setStartBefore(s),f.setEndAfter(s),n(f,!0)}):n(e.selection.getRng(),!1)},Xd=function(e,n,a){var i=Ym(e,n);a(i),e.moveToBookmark(i)},Sh=function(e,n){var a=function(f){if(!e(f))throw new Error("Can only get "+n+" value of a "+n+" node");return i(f).getOr("")},i=function(f){return e(f)?J.from(f.dom.nodeValue):J.none()},s=function(f,g){if(!e(f))throw new Error("Can only set raw "+n+" value of a "+n+" node");f.dom.nodeValue=g};return{get:a,getOption:i,set:s}},V1=Sh(xo,"text"),xh=function(e){return V1.get(e)},Ay=function(e){return xo(e)&&xh(e)===Se},tE=function(e,n,a,i){return Oo(n).fold(function(){return"skipping"},function(s){return i==="br"||Ay(n)?"valid":lu(n)?"existing":kc(n.dom)?"caret":!Ud(e,a,i)||!Ud(e,ia(s),a)?"invalid-child":"valid"})},U1=function(e,n){var a=sg(e,n,[{inline:"span"}]);n.setStart(a.startContainer,a.startOffset),n.setEnd(a.endContainer,a.endOffset),e.selection.setRng(n)},tu=function(e,n,a,i){var s=n.uid,f=s===void 0?qm("mce-annotation"):s,g=Uu(n,["uid"]),b=T.fromTag("span",e);Wm(b,Dd()),O(b,""+ws(),f),O(b,""+Yl(),a);var C=i(f,g),A=C.attributes,N=A===void 0?{}:A,z=C.classes,F=z===void 0?[]:z;return I(b,N),z0(b,F),b},lc=function(e,n,a,i,s){var f=[],g=tu(e.getDoc(),s,a,i),b=Cv(),C=function(){b.clear()},A=function(){return b.get().getOrThunk(function(){var K=Zi(g);return f.push(K),b.set(K),K})},N=function(K){xt(K,z)},z=function(K){var G=tE(e,K,"span",ia(K));switch(G){case"invalid-child":{C();var Z=Pu(K);N(Z),C();break}case"valid":{var re=A();ud(K,re);break}}},F=function(K){var G=Kn(K,T.fromDom);N(G)};return qd(e.dom,n,function(K){C(),F(K)}),f},Zc=function(e,n,a,i){e.undoManager.transact(function(){var s=e.selection,f=s.getRng(),g=Gd(e).length>0;if(f.collapsed&&!g&&U1(e,f),s.getRng().collapsed&&!g){var b=tu(e.getDoc(),i,n,a.decorate);Ei(b,$s),s.getRng().insertNode(b.dom),s.select(b.dom)}else Xd(s,!1,function(){$v(e,function(C){lc(e,C,n,a.decorate,i)})})})},Al=function(e){var n=L2();I0(e,n);var a=N0(e);return{register:function(i,s){n.register(i,s)},annotate:function(i,s){n.lookup(i).each(function(f){Zc(e,i,f,s)})},annotationChanged:function(i,s){a.addListener(i,s)},remove:function(i){F2(e,J.some(i)).each(function(s){var f=s.elements;xt(f,wf)})},getAll:function(i){var s=Nf(e,i);return xr(s,function(f){return Kn(f,function(g){return g.dom})})}}},nf=function(e){return{getBookmark:Rt(Vd,e),moveToBookmark:Rt(rg,e)}};nf.isBookmarkNode=Ws;var Nv=function(e,n){for(;n&&n!==e;){if(Ic(n)||ao(n))return n;n=n.parentNode}return null},cg=function(e,n,a){if(a.collapsed)return!1;if(wt.browser.isIE()&&a.startOffset===a.endOffset-1&&a.startContainer===a.endContainer){var i=a.startContainer.childNodes[a.startOffset];if(Qn(i))return Gn(i.getClientRects(),function(s){return V2(s,e,n)})}return Gn(a.getClientRects(),function(s){return V2(s,e,n)})},WC=function(e,n){return e.fire("PreProcess",n)},Th=function(e,n){return e.fire("PostProcess",n)},nE=function(e){return e.fire("remove")},Dy=function(e){return e.fire("detach")},jC=function(e,n){return e.fire("SwitchMode",{mode:n})},qC=function(e,n,a,i,s){e.fire("ObjectResizeStart",{target:n,width:a,height:i,origin:s})},Ry=function(e,n,a,i,s){e.fire("ObjectResized",{target:n,width:a,height:i,origin:s})},_y=function(e){return e.fire("PreInit")},Ba=function(e){return e.fire("PostRender")},rf=function(e){return e.fire("Init")},GC=function(e,n){return e.fire("PlaceholderToggle",{state:n})},By=function(e,n,a){return e.fire(n,a)},My=function(e,n,a,i){return e.fire("FormatApply",{format:n,node:a,vars:i})},kh=function(e,n,a,i){return e.fire("FormatRemove",{format:n,node:a,vars:i})},Wn={BACKSPACE:8,DELETE:46,DOWN:40,ENTER:13,ESC:27,LEFT:37,RIGHT:39,SPACEBAR:32,TAB:9,UP:38,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,modifierPressed:function(e){return e.shiftKey||e.ctrlKey||e.altKey||Wn.metaKeyPressed(e)},metaKeyPressed:function(e){return wt.mac?e.metaKey:e.ctrlKey&&!e.altKey}},Py=ao,KC=function(e,n){var a="data-mce-selected",i=n.dom,s=je.each,f,g,b,C,A,N,z,F,K,G,Z,re,ce,se,pe,Ae=n.getDoc(),ge=document,Re=Math.abs,qe=Math.round,gt=n.getBody(),zn,Zt,mt={nw:[0,0,-1,-1],ne:[1,0,1,-1],se:[1,1,1,1],sw:[0,1,-1,1]},Xn=function(Ne){return Ne&&(Ne.nodeName==="IMG"||n.dom.is(Ne,"figure.image"))},Tt=function(Ne){return ms(Ne)||i.hasClass(Ne,"mce-preview-object")},en=function(Ne,gn){if(Ne.type==="longpress"||Ne.type.indexOf("touch")===0){var Pt=Ne.touches[0];return Xn(Ne.target)&&!cg(Pt.clientX,Pt.clientY,gn)}else return Xn(Ne.target)&&!cg(Ne.clientX,Ne.clientY,gn)},Ct=function(Ne){var gn=Ne.target;en(Ne,n.selection.getRng())&&!Ne.isDefaultPrevented()&&n.selection.select(gn)},Ft=function(Ne){return i.is(Ne,"figure.image")?[Ne.querySelector("img")]:i.hasClass(Ne,"mce-preview-object")&&qt(Ne.firstElementChild)?[Ne,Ne.firstElementChild]:[Ne]},rn=function(Ne){var gn=Xc(n);return!gn||Ne.getAttribute("data-mce-resize")==="false"||Ne===n.getBody()?!1:i.hasClass(Ne,"mce-preview-object")?Dt(T.fromDom(Ne.firstElementChild),gn):Dt(T.fromDom(Ne),gn)},lt=function(Ne){return Tt(Ne)?i.create("img",{src:wt.transparentSrc}):Ne.cloneNode(!0)},un=function(Ne,gn,Pt){if(qt(Pt)){var qn=Ft(Ne);xt(qn,function(Nr){Nr.style[gn]||!n.schema.isValid(Nr.nodeName.toLowerCase(),gn)?i.setStyle(Nr,gn,Pt):i.setAttrib(Nr,gn,""+Pt)})}},cr=function(Ne,gn,Pt){un(Ne,"width",gn),un(Ne,"height",Pt)},Oa=function(Ne){var gn,Pt,qn,Nr,vo;gn=Ne.screenX-N,Pt=Ne.screenY-z,se=gn*C[2]+G,pe=Pt*C[3]+Z,se=se<5?5:se,pe=pe<5?5:pe,(Xn(f)||Tt(f))&&Lf(n)!==!1?qn=!Wn.modifierPressed(Ne):qn=Wn.modifierPressed(Ne),qn&&(Re(gn)>Re(Pt)?(pe=qe(se*re),se=qe(pe/re)):(se=qe(pe/re),pe=qe(se*re))),cr(g,se,pe),Nr=C.startPos.x+gn,vo=C.startPos.y+Pt,Nr=Nr>0?Nr:0,vo=vo>0?vo:0,i.setStyles(b,{left:Nr,top:vo,display:"block"}),b.innerHTML=se+" × "+pe,C[2]<0&&g.clientWidth<=se&&i.setStyle(g,"left",F+(G-se)),C[3]<0&&g.clientHeight<=pe&&i.setStyle(g,"top",K+(Z-pe)),gn=gt.scrollWidth-zn,Pt=gt.scrollHeight-Zt,gn+Pt!==0&&i.setStyles(b,{left:Nr-gn,top:vo-Pt}),ce||(qC(n,f,G,Z,"corner-"+C.name),ce=!0)},Xr=function(){var Ne=ce;ce=!1,Ne&&(un(f,"width",se),un(f,"height",pe)),i.unbind(Ae,"mousemove",Oa),i.unbind(Ae,"mouseup",Xr),ge!==Ae&&(i.unbind(ge,"mousemove",Oa),i.unbind(ge,"mouseup",Xr)),i.remove(g),i.remove(b),i.remove(A),hi(f),Ne&&(Ry(n,f,se,pe,"corner-"+C.name),i.setAttrib(f,"style",i.getAttrib(f,"style"))),n.nodeChanged()},hi=function(Ne){ft();var gn=i.getPos(Ne,gt),Pt=gn.x,qn=gn.y,Nr=Ne.getBoundingClientRect(),vo=Nr.width||Nr.right-Nr.left,xs=Nr.height||Nr.bottom-Nr.top;f!==Ne&&(Ko(),f=Ne,se=pe=0);var Xs=n.fire("ObjectSelected",{target:Ne}),Pl=i.getAttrib(f,a,"1");rn(Ne)&&!Xs.isDefaultPrevented()?s(mt,function(Ts,ks){var zi,pm=function(Ru){var $l=Ft(f)[0];N=Ru.screenX,z=Ru.screenY,G=$l.clientWidth,Z=$l.clientHeight,re=Z/G,C=Ts,C.name=ks,C.startPos={x:vo*Ts[0]+Pt,y:xs*Ts[1]+qn},zn=gt.scrollWidth,Zt=gt.scrollHeight,A=i.add(gt,"div",{class:"mce-resize-backdrop","data-mce-bogus":"all"}),i.setStyles(A,{position:"fixed",left:"0",top:"0",width:"100%",height:"100%"}),g=lt(f),i.addClass(g,"mce-clonedresizable"),i.setAttrib(g,"data-mce-bogus","all"),g.contentEditable="false",i.setStyles(g,{left:Pt,top:qn,margin:0}),cr(g,vo,xs),g.removeAttribute(a),gt.appendChild(g),i.bind(Ae,"mousemove",Oa),i.bind(Ae,"mouseup",Xr),ge!==Ae&&(i.bind(ge,"mousemove",Oa),i.bind(ge,"mouseup",Xr)),b=i.add(gt,"div",{class:"mce-resize-helper","data-mce-bogus":"all"},G+" × "+Z)};zi=i.get("mceResizeHandle"+ks),zi&&i.remove(zi),zi=i.add(gt,"div",{id:"mceResizeHandle"+ks,"data-mce-bogus":"all",class:"mce-resizehandle",unselectable:!0,style:"cursor:"+ks+"-resize; margin:0; padding:0"}),wt.ie===11&&(zi.contentEditable=!1),i.bind(zi,"mousedown",function(Ru){Ru.stopImmediatePropagation(),Ru.preventDefault(),pm(Ru)}),Ts.elm=zi,i.setStyles(zi,{left:vo*Ts[0]+Pt-zi.offsetWidth/2,top:xs*Ts[1]+qn-zi.offsetHeight/2})}):Ko(),i.getAttrib(f,a)||f.setAttribute(a,Pl)},Ko=function(){ft(),f&&f.removeAttribute(a),Gt(mt,function(Ne,gn){var Pt=i.get("mceResizeHandle"+gn);Pt&&(i.unbind(Pt),i.remove(Pt))})},fc=function(Ne){var gn,Pt,qn=function(Nr,vo){if(Nr)do if(Nr===vo)return!0;while(Nr=Nr.parentNode)};if(!(ce||n.removed)){if(s(i.select("img[data-mce-selected],hr[data-mce-selected]"),function(Nr){Nr.removeAttribute(a)}),Pt=Ne.type==="mousedown"?Ne.target:e.getNode(),Pt=i.$(Pt).closest("table,img,figure.image,hr,video,span.mce-preview-object")[0],qn(Pt,gt)&&($e(),gn=e.getStart(!0),qn(gn,Pt)&&qn(e.getEnd(!0),Pt))){hi(Pt);return}Ko()}},$c=function(Ne){return Py(Nv(n.getBody(),Ne))},ft=function(){Gt(mt,function(Ne){Ne.elm&&(i.unbind(Ne.elm),delete Ne.elm)})},$e=function(){try{n.getDoc().execCommand("enableObjectResizing",!1,"false")}catch{}};n.on("init",function(){if($e(),wt.browser.isIE()||wt.browser.isEdge()){n.on("mousedown click",function(Pt){var qn=Pt.target,Nr=qn.nodeName;!ce&&/^(TABLE|IMG|HR)$/.test(Nr)&&!$c(qn)&&(Pt.button!==2&&n.selection.select(qn,Nr==="TABLE"),Pt.type==="mousedown"&&n.nodeChanged())});var Ne=function(Pt){var qn=function(Nr){xu.setEditorTimeout(n,function(){return n.selection.select(Nr)})};if($c(Pt.target)||ms(Pt.target)){Pt.preventDefault(),qn(Pt.target);return}/^(TABLE|IMG|HR)$/.test(Pt.target.nodeName)&&(Pt.preventDefault(),Pt.target.tagName==="IMG"&&qn(Pt.target))};i.bind(gt,"mscontrolselect",Ne),n.on("remove",function(){return i.unbind(gt,"mscontrolselect",Ne)})}var gn=xu.throttle(function(Pt){n.composing||fc(Pt)});n.on("nodechange ResizeEditor ResizeWindow ResizeContent drop FullscreenStateChanged",gn),n.on("keyup compositionend",function(Pt){f&&f.nodeName==="TABLE"&&gn(Pt)}),n.on("hide blur",Ko),n.on("contextmenu longpress",Ct,!0)}),n.on("remove",ft);var ht=function(){f=g=A=null};return{isResizable:rn,showResizeRect:hi,hideResizeRect:Ko,updateResizeRect:fc,destroy:ht}},rE=function(e){return Ic(e)||ao(e)},XC=function(e,n,a){for(;e&&e!==n;){if(a(e))return e;e=e.parentNode}return null},YC=function(e,n,a){var i,s=a.elementFromPoint(e,n),f=a.body.createTextRange();if((!s||s.tagName==="HTML")&&(s=a.body),f.moveToElementText(s),i=je.toArray(f.getClientRects()),i=i.sort(function(g,b){return g=Math.abs(Math.max(g.top-n,g.bottom-n)),b=Math.abs(Math.max(b.top-n,b.bottom-n)),g-b}),i.length>0){n=(i[0].bottom+i[0].top)/2;try{return f.moveToPoint(e,n),f.collapse(!0),f}catch{}}return null},$y=function(e,n){var a=e&&e.parentElement?e.parentElement():null;return ao(XC(a,n,rE))?null:e},Ny=function(e,n,a){var i,s,f=a;if(f.caretPositionFromPoint)s=f.caretPositionFromPoint(e,n),s&&(i=a.createRange(),i.setStart(s.offsetNode,s.offset),i.collapse(!0));else if(f.caretRangeFromPoint)i=f.caretRangeFromPoint(e,n);else if(f.body.createTextRange){i=f.body.createTextRange();try{i.moveToPoint(e,n),i.collapse(!0)}catch{i=YC(e,n,a)}return $y(i,a.body)}return i},W1=function(e,n){return e&&n&&e.startContainer===n.startContainer&&e.startOffset===n.startOffset&&e.endContainer===n.endContainer&&e.endOffset===n.endOffset},aE=function(e,n,a){for(;e&&e!==n;){if(a(e))return e;e=e.parentNode}return null},JC=function(e,n,a){return aE(e,n,a)!==null},oE=function(e,n,a){return JC(e,n,function(i){return i.nodeName===a})},js=function(e){return e&&e.nodeName==="TABLE"},us=function(e){return e&&/^(TD|TH|CAPTION)$/.test(e.nodeName)},Iv=function(e,n){return ps(e)&&JC(e,n,kc)===!1},ZC=function(e,n,a){for(var i=new ba(n,e.getParent(n.parentNode,e.isBlock)||e.getRoot());n=i[a?"prev":"next"]();)if(Na(n))return!0},iE=function(e,n){return e.previousSibling&&e.previousSibling.nodeName===n},QC=function(e,n){for(;n&&n!==e;){if(ao(n))return!0;n=n.parentNode}return!1},Or=function(e,n,a,i,s){var f,g=e.getRoot(),b,C=e.schema.getNonEmptyElements(),A=e.getParent(s.parentNode,e.isBlock)||g;if(i&&Na(s)&&n&&e.isEmpty(A))return J.some(Ve(s.parentNode,e.nodeIndex(s)));for(var N=new ba(s,A);b=N[i?"prev":"next"]();){if(e.getContentEditableParent(b)==="false"||Iv(b,g))return J.none();if(an(b)&&b.nodeValue.length>0)return oE(b,g,"A")===!1?J.some(Ve(b,i?b.nodeValue.length:0)):J.none();if(e.isBlock(b)||C[b.nodeName.toLowerCase()])return J.none();f=b}return a&&f?J.some(Ve(f,0)):J.none()},eS=function(e,n,a,i){var s,f,g=e.getRoot(),b,C,A=!1;s=i[(a?"start":"end")+"Container"],f=i[(a?"start":"end")+"Offset"];var N=Qn(s)&&f===s.childNodes.length,z=e.schema.getNonEmptyElements();if(C=a,ps(s))return J.none();if(Qn(s)&&f>s.childNodes.length-1&&(C=!1),Fg(s)&&(s=g,f=0),s===g){if(C&&(b=s.childNodes[f>0?f-1:0],b&&(ps(b)||z[b.nodeName]||js(b))))return J.none();if(s.hasChildNodes()){if(f=Math.min(!C&&f>0?f-1:f,s.childNodes.length-1),s=s.childNodes[f],f=an(s)&&N?s.data.length:0,!n&&s===g.lastChild&&js(s)||QC(g,s)||ps(s))return J.none();if(s.hasChildNodes()&&js(s)===!1){b=s;var F=new ba(s,g);do{if(ao(b)||ps(b)){A=!1;break}if(an(b)&&b.nodeValue.length>0){f=C?0:b.nodeValue.length,s=b,A=!0;break}if(z[b.nodeName.toLowerCase()]&&!us(b)){f=e.nodeIndex(b),s=b.parentNode,C||f++,A=!0;break}}while(b=C?F.next():F.prev())}}}return n&&(an(s)&&f===0&&Or(e,N,n,!0,s).each(function(K){s=K.container(),f=K.offset(),A=!0}),Qn(s)&&(b=s.childNodes[f],b||(b=s.childNodes[f-1]),b&&Na(b)&&!iE(b,"A")&&!ZC(e,b,!1)&&!ZC(e,b,!0)&&Or(e,N,n,!0,b).each(function(K){s=K.container(),f=K.offset(),A=!0}))),C&&!n&&an(s)&&f===s.nodeValue.length&&Or(e,N,n,!1,s).each(function(K){s=K.container(),f=K.offset(),A=!0}),A?J.some(Ve(s,f)):J.none()},Eh=function(e,n){var a=n.collapsed,i=n.cloneRange(),s=Ve.fromRangeStart(n);return eS(e,a,!0,i).each(function(f){(!a||!Ve.isAbove(s,f))&&i.setStart(f.container(),f.offset())}),a||eS(e,a,!1,i).each(function(f){i.setEnd(f.container(),f.offset())}),a&&i.collapse(!0),W1(n,i)?J.none():J.some(i)},lg=function(e,n){return e.splitText(n)},j1=function(e){var n=e.startContainer,a=e.startOffset,i=e.endContainer,s=e.endOffset;return n===i&&an(n)?a>0&&a<n.nodeValue.length&&(i=lg(n,a),n=i.previousSibling,s>a?(s=s-a,n=i=lg(i,s).previousSibling,s=i.nodeValue.length,a=0):s=0):(an(n)&&a>0&&a<n.nodeValue.length&&(n=lg(n,a),a=0),an(i)&&s>0&&s<i.nodeValue.length&&(i=lg(i,s).previousSibling,s=i.nodeValue.length)),{startContainer:n,startOffset:a,endContainer:i,endOffset:s}},fg=function(e){var n=function(s,f){return qd(e,s,f)},a=j1,i=function(s){return Eh(e,s).fold(yt,function(f){return s.setStart(f.startContainer,f.startOffset),s.setEnd(f.endContainer,f.endOffset),!0})};return{walk:n,split:a,normalize:i}};fg.compareRanges=W1,fg.getCaretRangeFromPoint=Ny,fg.getSelectedNode=a1,fg.getNode=as;var vg=function(e,n){var a=function(b,C){if(!Bt(C)&&!C.match(/^[0-9]+$/))throw new Error(e+".set accepts only positive integer values. Value was "+C);var A=b.dom;co(A)&&(A.style[e]=C+"px")},i=function(b){var C=n(b);if(C<=0||C===null){var A=br(b,e);return parseFloat(A)||0}return C},s=i,f=function(b,C){return Qr(C,function(A,N){var z=br(b,N),F=z===void 0?0:parseInt(z,10);return isNaN(F)?A:A+F},0)},g=function(b,C,A){var N=f(b,A),z=C>N?C-N:0;return z};return{set:a,get:i,getOuter:s,aggregate:f,max:g}},uE=vg("height",function(e){var n=e.dom;return Cf(e)?n.getBoundingClientRect().height:n.offsetHeight}),sE=function(e){return uE.get(e)},Iy=function(e,n){var a=e.view(n);return a.fold(Y([]),function(i){var s=e.owner(i),f=Iy(e,s);return[i].concat(f)})},zy=function(e,n){var a=n.owner(e);return Iy(n,a)},Yd=function(e){var n,a=e.dom===document?J.none():J.from((n=e.dom.defaultView)===null||n===void 0?void 0:n.frameElement);return a.map(T.fromDom)},q1=function(e){return Yn(e)},tS=Object.freeze({__proto__:null,view:Yd,owner:q1}),cE=function(e){var n=T.fromDom(document),a=bm(n),i=zy(e,tS),s=ds(e),f=Kr(i,function(g,b){var C=ds(b);return{left:g.left+C.left,top:g.top+C.top}},{left:0,top:0});return dl(f.left+s.left+a.left,f.top+s.top+a.top)},Fy=function(e){return ia(e)==="textarea"},lE=function(e,n){var a=e.fire("ScrollIntoView",n);return a.isDefaultPrevented()},Oh=function(e,n){e.fire("AfterScrollIntoView",n)},Ly=function(e,n){var a=Pu(e);if(a.length===0||Fy(e))return{element:e,offset:n};if(n<a.length&&!Fy(a[n]))return{element:a[n],offset:0};var i=a[a.length-1];return Fy(i)?{element:e,offset:n}:ia(i)==="img"?{element:i,offset:1}:xo(i)?{element:i,offset:xh(i).length}:{element:i,offset:Pu(i).length}},Mn=function(e,n){var a=so(e),i=sE(e);return{element:e,bottom:a.top+i,height:i,pos:a,cleanup:n}},nS=function(e,n){var a=Ly(e,n),i=T.fromHtml('<span data-mce-bogus="all" style="display: inline-block;">'+Se+"</span>");return ou(a.element,i),Mn(i,function(){return $o(i)})},fE=function(e){return Mn(T.fromDom(e),Le)},rS=function(e,n,a,i){vE(e,function(s,f){return ss(e,n,a,i)},a)},dg=function(e,n,a,i,s){var f={elm:i.element.dom,alignToTop:s};if(!lE(e,f)){var g=bm(n).top;a(n,g,i,s),Oh(e,f)}},ss=function(e,n,a,i){var s=T.fromDom(e.getBody()),f=T.fromDom(e.getDoc());kT(s);var g=nS(T.fromDom(a.startContainer),a.startOffset);dg(e,f,n,g,i),g.cleanup()},Ah=function(e,n,a,i){var s=T.fromDom(e.getDoc());dg(e,s,a,fE(n),i)},vE=function(e,n,a){var i=a.startContainer,s=a.startOffset,f=a.endContainer,g=a.endOffset;n(T.fromDom(i),T.fromDom(f));var b=e.dom.createRng();b.setStart(i,s),b.setEnd(f,g),e.selection.setRng(a)},Hy=function(e,n,a,i){var s=e.pos;if(a)Ms(s.left,s.top,i);else{var f=s.top-n+e.height;Ms(s.left,f,i)}},G1=function(e,n,a,i,s){var f=a+n,g=i.pos.top,b=i.bottom,C=b-g>=a;if(g<n)Hy(i,a,s!==!1,e);else if(g>f){var A=C?s!==!1:s===!0;Hy(i,a,A,e)}else b>f&&!C&&Hy(i,a,s===!0,e)},aS=function(e,n,a,i){var s=e.dom.defaultView.innerHeight;G1(e,n,s,a,i)},oS=function(e,n,a,i){var s=e.dom.defaultView.innerHeight;G1(e,n,s,a,i);var f=cE(a.element),g=xf(window);f.top<g.y?ym(a.element,i!==!1):f.top>g.bottom&&ym(a.element,i===!0)},iS=function(e,n,a){return rS(e,aS,n,a)},uS=function(e,n,a){return Ah(e,n,aS,a)},Uf=function(e,n,a){return rS(e,oS,n,a)},dE=function(e,n,a){return Ah(e,n,oS,a)},mE=function(e,n,a){var i=e.inline?uS:dE;i(e,n,a)},mg=function(e,n,a){var i=e.inline?iS:Uf;i(e,n,a)},gE=function(){return T.fromDom(document)},hE=function(e){return e.dom.focus()},ca=function(e){var n=Yu(e).dom;return e.dom===n.activeElement},gg=function(e){return e===void 0&&(e=gE()),J.from(e.dom.activeElement).map(T.fromDom)},zv=function(e){return gg(Yu(e)).filter(function(n){return e.dom.contains(n.dom)})},af=function(e,n,a,i){return{start:e,soffset:n,finish:a,foffset:i}},Fv={create:af},Lu=Dn.generate([{before:["element"]},{on:["element","offset"]},{after:["element"]}]),K1=function(e,n,a,i){return e.fold(n,a,i)},Dh=function(e){return e.fold(On,On,On)},hg=Lu.before,Lv=Lu.on,pE=Lu.after,sS={before:hg,on:Lv,after:pE,cata:K1,getStart:Dh},X1=Dn.generate([{domRange:["rng"]},{relative:["startSitu","finishSitu"]},{exact:["start","soffset","finish","foffset"]}]),bE=function(e){return X1.exact(e.start,e.soffset,e.finish,e.foffset)},Lr=function(e){return e.match({domRange:function(n){return T.fromDom(n.startContainer)},relative:function(n,a){return sS.getStart(n)},exact:function(n,a,i,s){return n}})},Qc=X1.domRange,pg=X1.relative,cS=X1.exact,Rh=function(e){var n=Lr(e);return Eo(n)},Wr=Fv.create,Vy={domRange:Qc,relative:pg,exact:cS,exactFromRange:bE,getWin:Rh,range:Wr},lS=Wt().browser,_h=function(e,n){var a=xo(n)?xh(n).length:Pu(n).length+1;return e>a?a:e<0?0:e},fS=function(e){return Vy.range(e.start,_h(e.soffset,e.start),e.finish,_h(e.foffset,e.finish))},Bh=function(e,n){return!Fl(n.dom)&&(ga(e,n)||jn(e,n))},Wf=function(e){return function(n){return Bh(e,n.start)&&Bh(e,n.finish)}},Uy=function(e){return e.inline===!0||lS.isIE()},vS=function(e){return Vy.range(T.fromDom(e.startContainer),e.startOffset,T.fromDom(e.endContainer),e.endOffset)},yE=function(e){var n=e.getSelection(),a=!n||n.rangeCount===0?J.none():J.from(n.getRangeAt(0));return a.map(vS)},wE=function(e){var n=Eo(e);return yE(n.dom).filter(Wf(e))},Hv=function(e,n){return J.from(n).filter(Wf(e)).map(fS)},Jd=function(e){var n=document.createRange();try{return n.setStart(e.start.dom,e.soffset),n.setEnd(e.finish.dom,e.foffset),J.some(n)}catch{return J.none()}},bg=function(e){var n=Uy(e)?wE(T.fromDom(e.getBody())):J.none();e.bookmark=n.isSome()?n:e.bookmark},dS=function(e,n){var a=T.fromDom(e.getBody()),i=Uy(e)?J.from(n):J.none(),s=i.map(vS).filter(Wf(a));e.bookmark=s.isSome()?s:e.bookmark},Wy=function(e){var n=e.bookmark?e.bookmark:J.none();return n.bind(function(a){return Hv(T.fromDom(e.getBody()),a)}).bind(Jd)},CE=function(e){Wy(e).each(function(n){return e.selection.setRng(n)})},Y1=function(e){var n=e.className.toString();return n.indexOf("tox-")!==-1||n.indexOf("mce-")!==-1},J1={isEditorUIElement:Y1},jy=function(e){return e.type==="nodechange"&&e.selectionChange},SE=function(e,n){var a=function(){n.throttle()};Qa.DOM.bind(document,"mouseup",a),e.on("remove",function(){Qa.DOM.unbind(document,"mouseup",a)})},qy=function(e){e.on("focusout",function(){bg(e)})},Z1=function(e,n){e.on("mouseup touchend",function(a){n.throttle()})},Q1=function(e,n){var a=Wt().browser;a.isIE()?qy(e):Z1(e,n),e.on("keyup NodeChange",function(i){jy(i)||bg(e)})},Gy=function(e){var n=_a(function(){bg(e)},0);e.on("init",function(){e.inline&&SE(e,n),Q1(e,n)}),e.on("remove",function(){n.cancel()})},Zd,eb=Qa.DOM,Ky=function(e){return J1.isEditorUIElement(e)},tb=function(e){var n=e.classList;return n!==void 0?n.contains("tox-edit-area")||n.contains("tox-edit-area__iframe")||n.contains("mce-content-body"):!1},Mh=function(e,n){var a=Qm(e),i=eb.getParent(n,function(s){return Ky(s)||(a?e.dom.is(s,a):!1)});return i!==null},mS=function(e){try{var n=Yu(T.fromDom(e.getElement()));return gg(n).fold(function(){return document.body},function(a){return a.dom})}catch{return document.body}},xE=function(e,n){var a=n.editor;Gy(a),a.on("focusin",function(){var i=e.focusedEditor;i!==a&&(i&&i.fire("blur",{focusedEditor:a}),e.setActive(a),e.focusedEditor=a,a.fire("focus",{blurredEditor:i}),a.focus(!0))}),a.on("focusout",function(){xu.setEditorTimeout(a,function(){var i=e.focusedEditor;!Mh(a,mS(a))&&i===a&&(a.fire("blur",{focusedEditor:null}),e.focusedEditor=null)})}),Zd||(Zd=function(i){var s=e.activeEditor;s&&wu(i).each(function(f){f.ownerDocument===document&&f!==document.body&&!Mh(s,f)&&e.focusedEditor===s&&(s.fire("blur",{focusedEditor:null}),e.focusedEditor=null)})},eb.bind(document,"focusin",Zd))},gS=function(e,n){e.focusedEditor===n.editor&&(e.focusedEditor=null),e.activeEditor||(eb.unbind(document,"focusin",Zd),Zd=null)},hS=function(e){e.on("AddEditor",Rt(xE,e)),e.on("RemoveEditor",Rt(gS,e))},Xy=function(e,n){return e.dom.getParent(n,function(a){return e.dom.getContentEditable(a)==="true"})},pS=function(e){return e.collapsed?J.from(as(e.startContainer,e.startOffset)).map(T.fromDom):J.none()},bS=function(e,n){return pS(n).bind(function(a){return sa(a)?J.some(a):ga(e,a)===!1?J.some(e):J.none()})},Yy=function(e,n){bS(T.fromDom(e.getBody()),n).bind(function(a){return is(a.dom)}).fold(function(){e.selection.normalize()},function(a){return e.selection.setRng(a.toRange())})},Jy=function(e){if(e.setActive)try{e.setActive()}catch{e.focus()}else e.focus()},TE=function(e){return ca(e)||zv(e).isSome()},kE=function(e){return e.iframeElement&&ca(T.fromDom(e.iframeElement))},yg=function(e){var n=e.getBody();return n&&TE(T.fromDom(n))},EE=function(e){var n=Yu(T.fromDom(e.getElement()));return gg(n).filter(function(a){return!tb(a.dom)&&Mh(e,a.dom)}).isSome()},Vv=function(e){return e.inline?yg(e):kE(e)},yS=function(e){return Vv(e)||EE(e)},Qd=function(e){var n=e.selection,a=e.getBody(),i=n.getRng();e.quirks.refreshContentEditable(),e.bookmark!==void 0&&Vv(e)===!1&&Wy(e).each(function(f){e.selection.setRng(f),i=f});var s=Xy(e,n.getNode());if(e.$.contains(a,s)){Jy(s),Yy(e,i),nb(e);return}e.inline||(wt.opera||Jy(a),e.getWin().focus()),(wt.gecko||e.inline)&&(Jy(a),Yy(e,i)),nb(e)},nb=function(e){return e.editorManager.setActive(e)},wS=function(e,n){e.removed||(n?nb(e):Qd(e))},Zy=function(e,n,a,i,s){var f=a?n.startContainer:n.endContainer,g=a?n.startOffset:n.endOffset;return J.from(f).map(T.fromDom).map(function(b){return!i||!n.collapsed?fl(b,s(b,g)).getOr(b):b}).bind(function(b){return ro(b)?J.some(b):Oo(b).filter(ro)}).map(function(b){return b.dom}).getOr(e)},Ph=function(e,n,a){return Zy(e,n,!0,a,function(i,s){return Math.min(Op(i),s)})},Qy=function(e,n,a){return Zy(e,n,!1,a,function(i,s){return s>0?s-1:s})},em=function(e,n){for(var a=e;e&&an(e)&&e.length===0;)e=n?e.nextSibling:e.previousSibling;return e||a},$h=function(e,n){var a,i,s;if(!n)return e;i=n.startContainer,s=n.endContainer;var f=n.startOffset,g=n.endOffset;return a=n.commonAncestorContainer,!n.collapsed&&(i===s&&g-f<2&&i.hasChildNodes()&&(a=i.childNodes[f]),i.nodeType===3&&s.nodeType===3&&(i.length===f?i=em(i.nextSibling,!0):i=i.parentNode,g===0?s=em(s.previousSibling,!1):s=s.parentNode,i&&i===s))?i:a&&a.nodeType===3?a.parentNode:a},OE=function(e,n,a,i){var s,f=[],g=e.getRoot();if(a=e.getParent(a||Ph(g,n,n.collapsed),e.isBlock),i=e.getParent(i||Qy(g,n,n.collapsed),e.isBlock),a&&a!==g&&f.push(a),a&&i&&a!==i){s=a;for(var b=new ba(a,g);(s=b.next())&&s!==i;)e.isBlock(s)&&f.push(s)}return i&&a!==i&&i!==g&&f.push(i),f},CS=function(e,n,a){return J.from(n).map(function(i){var s=e.nodeIndex(i),f=e.createRng();return f.setStart(i.parentNode,s),f.setEnd(i.parentNode,s+1),a&&(tf(e,f,i,!0),tf(e,f,i,!1)),f})},wg=function(e,n){return Kn(n,function(a){var i=e.fire("GetSelectionRange",{range:a});return i.range!==a?i.range:a})},AE={"#text":3,"#comment":8,"#cdata":4,"#pi":7,"#doctype":10,"#document-fragment":11},Nh=function(e,n,a){var i=a?"lastChild":"firstChild",s=a?"prev":"next";if(e[i])return e[i];if(e!==n){var f=e[s];if(f)return f;for(var g=e.parent;g&&g!==n;g=g.parent)if(f=g[s],f)return f}},Ih=function(e){if(!Hc(e.value))return!1;var n=e.parent;return!(n&&(n.name!=="span"||n.attr("style"))&&/^[ ]+$/.test(e.value))},SS=function(e){var n=e.name==="a"&&!e.attr("href")&&e.attr("id");return e.attr("name")||e.attr("id")&&!e.firstChild||e.attr("data-mce-bookmark")||n},Ac=function(){function e(n,a){this.name=n,this.type=a,a===1&&(this.attributes=[],this.attributes.map={})}return e.create=function(n,a){var i=new e(n,AE[n]||1);return a&&Gt(a,function(s,f){i.attr(f,s)}),i},e.prototype.replace=function(n){var a=this;return n.parent&&n.remove(),a.insert(n,a),a.remove(),a},e.prototype.attr=function(n,a){var i=this,s;if(typeof n!="string")return n!=null&&Gt(n,function(g,b){i.attr(b,g)}),i;if(s=i.attributes){if(a!==void 0){if(a===null){if(n in s.map){delete s.map[n];for(var f=s.length;f--;)if(s[f].name===n)return s.splice(f,1),i}return i}if(n in s.map){for(var f=s.length;f--;)if(s[f].name===n){s[f].value=a;break}}else s.push({name:n,value:a});return s.map[n]=a,i}return s.map[n]}},e.prototype.clone=function(){var n=this,a=new e(n.name,n.type),i;if(i=n.attributes){var s=[];s.map={};for(var f=0,g=i.length;f<g;f++){var b=i[f];b.name!=="id"&&(s[s.length]={name:b.name,value:b.value},s.map[b.name]=b.value)}a.attributes=s}return a.value=n.value,a.shortEnded=n.shortEnded,a},e.prototype.wrap=function(n){var a=this;return a.parent.insert(n,a),n.append(a),a},e.prototype.unwrap=function(){for(var n=this,a=n.firstChild;a;){var i=a.next;n.insert(a,n,!0),a=i}n.remove()},e.prototype.remove=function(){var n=this,a=n.parent,i=n.next,s=n.prev;return a&&(a.firstChild===n?(a.firstChild=i,i&&(i.prev=null)):s.next=i,a.lastChild===n?(a.lastChild=s,s&&(s.next=null)):i.prev=s,n.parent=n.next=n.prev=null),n},e.prototype.append=function(n){var a=this;n.parent&&n.remove();var i=a.lastChild;return i?(i.next=n,n.prev=i,a.lastChild=n):a.lastChild=a.firstChild=n,n.parent=a,n},e.prototype.insert=function(n,a,i){n.parent&&n.remove();var s=a.parent||this;return i?(a===s.firstChild?s.firstChild=n:a.prev.next=n,n.prev=a.prev,n.next=a,a.prev=n):(a===s.lastChild?s.lastChild=n:a.next.prev=n,n.next=a.next,n.prev=a,a.next=n),n.parent=s,n},e.prototype.getAll=function(n){for(var a=this,i=[],s=a.firstChild;s;s=Nh(s,a))s.name===n&&i.push(s);return i},e.prototype.children=function(){for(var n=this,a=[],i=n.firstChild;i;i=i.next)a.push(i);return a},e.prototype.empty=function(){var n=this;if(n.firstChild){for(var a=[],i=n.firstChild;i;i=Nh(i,n))a.push(i);for(var s=a.length;s--;){var i=a[s];i.parent=i.firstChild=i.lastChild=i.next=i.prev=null}}return n.firstChild=n.lastChild=null,n},e.prototype.isEmpty=function(n,a,i){a===void 0&&(a={});var s=this,f=s.firstChild;if(SS(s))return!1;if(f)do{if(f.type===1){if(f.attr("data-mce-bogus"))continue;if(n[f.name]||SS(f))return!1}if(f.type===8||f.type===3&&!Ih(f)||f.type===3&&f.parent&&a[f.parent.name]&&Hc(f.value)||i&&i(f))return!1}while(f=Nh(f,s));return!0},e.prototype.walk=function(n){return Nh(this,null,n)},e}(),ew=function(e){for(var n=/data:[^;]+;base64,([a-z0-9\+\/=\s]+)/gi,a=[],i={},s=qm("img"),f,g=0,b=0;f=n.exec(e);){var C=f[0],A=s+"_"+b++;i[A]=C,g<f.index&&a.push(e.substr(g,f.index-g)),a.push(A),g=f.index+C.length}var N=new RegExp(s+"_[0-9]+","g");return g===0?{prefix:s,uris:i,html:e,re:N}:(g<e.length&&a.push(e.substr(g)),{prefix:s,uris:i,html:a.join(""),re:N})},rb=function(e,n){return e.replace(n.re,function(a){return Br(n.uris,a).getOr(a)})},DE=function(e){var n=/data:([^;]+);base64,([a-z0-9\+\/=\s]+)/i.exec(e);return n?J.some({type:n[1],data:decodeURIComponent(n[2])}):J.none()},tw=je.each,xS=je.trim,ab="source protocol authority userInfo user password host port relative path directory file query anchor".split(" "),zh={ftp:21,http:80,https:443,mailto:25},nw=["img","video"],TS=function(e,n){return qt(e)?!e:qt(n)?!cn(nw,n):!0},kS=function(e,n,a){return e.allow_html_data_urls?!1:/^data:image\//i.test(n)?TS(e.allow_svg_data_urls,a)&&/^data:image\/svg\+xml/i.test(n):/^data:/i.test(n)},jf=function(){function e(n,a){n=xS(n),this.settings=a||{};var i=this.settings.base_uri,s=this;if(/^([\w\-]+):([^\/]{2})/i.test(n)||/^\s*#/.test(n)){s.source=n;return}var f=n.indexOf("//")===0;if(n.indexOf("/")===0&&!f&&(n=(i&&i.protocol||"http")+"://mce_host"+n),!/^[\w\-]*:?\/\//.test(n)){var g=this.settings.base_uri?this.settings.base_uri.path:new e(document.location.href).directory;if(this.settings.base_uri&&this.settings.base_uri.protocol=="")n="//mce_host"+s.toAbsPath(g,n);else{var b=/([^#?]*)([#?]?.*)/.exec(n);n=(i&&i.protocol||"http")+"://mce_host"+s.toAbsPath(g,b[1])+b[2]}}n=n.replace(/@@/g,"(mce_at)");var C=/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@\/]*):?([^:@\/]*))?@)?(\[[a-zA-Z0-9:.%]+\]|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/.exec(n);tw(ab,function(A,N){var z=C[N];z&&(z=z.replace(/\(mce_at\)/g,"@@")),s[A]=z}),i&&(s.protocol||(s.protocol=i.protocol),s.userInfo||(s.userInfo=i.userInfo),!s.port&&s.host==="mce_host"&&(s.port=i.port),(!s.host||s.host==="mce_host")&&(s.host=i.host),s.source=""),f&&(s.protocol="")}return e.parseDataUri=function(n){var a,i=decodeURIComponent(n).split(","),s=/data:([^;]+)/.exec(i[0]);return s&&(a=s[1]),{type:a,data:i[1]}},e.isDomSafe=function(n,a,i){if(i===void 0&&(i={}),i.allow_script_urls)return!0;var s=ic.decode(n).replace(/[\s\u0000-\u001F]+/g,"");try{s=decodeURIComponent(s)}catch{s=unescape(s)}return/((java|vb)script|mhtml):/i.test(s)?!1:!kS(i,s,a)},e.getDocumentBaseUrl=function(n){var a;return n.protocol.indexOf("http")!==0&&n.protocol!=="file:"?a=n.href:a=n.protocol+"//"+n.host+n.pathname,/^[^:]+:\/\/\/?[^\/]+\//.test(a)&&(a=a.replace(/[\?#].*$/,"").replace(/[\/\\][^\/]+$/,""),/[\/\\]$/.test(a)||(a+="/")),a},e.prototype.setPath=function(n){var a=/^(.*?)\/?(\w+)?$/.exec(n);this.path=a[0],this.directory=a[1],this.file=a[2],this.source="",this.getURI()},e.prototype.toRelative=function(n){var a;if(n==="./")return n;var i=new e(n,{base_uri:this});if(i.host!=="mce_host"&&this.host!==i.host&&i.host||this.port!==i.port||this.protocol!==i.protocol&&i.protocol!=="")return i.getURI();var s=this.getURI(),f=i.getURI();return s===f||s.charAt(s.length-1)==="/"&&s.substr(0,s.length-1)===f?s:(a=this.toRelPath(this.path,i.path),i.query&&(a+="?"+i.query),i.anchor&&(a+="#"+i.anchor),a)},e.prototype.toAbsolute=function(n,a){var i=new e(n,{base_uri:this});return i.getURI(a&&this.isSameOrigin(i))},e.prototype.isSameOrigin=function(n){if(this.host==n.host&&this.protocol==n.protocol){if(this.port==n.port)return!0;var a=zh[this.protocol];if(a&&(this.port||a)==(n.port||a))return!0}return!1},e.prototype.toRelPath=function(n,a){var i=0,s="",f,g,b=n.substring(0,n.lastIndexOf("/")).split("/"),C=a.split("/");if(b.length>=C.length){for(f=0,g=b.length;f<g;f++)if(f>=C.length||b[f]!==C[f]){i=f+1;break}}if(b.length<C.length){for(f=0,g=C.length;f<g;f++)if(f>=b.length||b[f]!==C[f]){i=f+1;break}}if(i===1)return a;for(f=0,g=b.length-(i-1);f<g;f++)s+="../";for(f=i-1,g=C.length;f<g;f++)f!==i-1?s+="/"+C[f]:s+=C[f];return s},e.prototype.toAbsPath=function(n,a){var i,s=0,f=[],g,b=/\/$/.test(a)?"/":"",C=n.split("/"),A=a.split("/");for(tw(C,function(N){N&&f.push(N)}),C=f,i=A.length-1,f=[];i>=0;i--)if(!(A[i].length===0||A[i]===".")){if(A[i]===".."){s++;continue}if(s>0){s--;continue}f.push(A[i])}return i=C.length-s,i<=0?g=eo(f).join("/"):g=C.slice(0,i).join("/")+"/"+eo(f).join("/"),g.indexOf("/")!==0&&(g="/"+g),b&&g.lastIndexOf("/")!==g.length-1&&(g+=b),g},e.prototype.getURI=function(n){n===void 0&&(n=!1);var a;return(!this.source||n)&&(a="",n||(this.protocol?a+=this.protocol+"://":a+="//",this.userInfo&&(a+=this.userInfo+"@"),this.host&&(a+=this.host),this.port&&(a+=":"+this.port)),this.path&&(a+=this.path),this.query&&(a+="?"+this.query),this.anchor&&(a+="#"+this.anchor),this.source=a),this.source},e}(),ob=je.makeMap("button,fieldset,form,iframe,img,image,input,object,output,select,textarea"),RE=function(e){return e.indexOf("data-")===0||e.indexOf("aria-")===0},rw=function(e,n,a){for(var i=/<([!?\/])?([A-Za-z0-9\-_:.]+)/g,s=/(?:\s(?:[^'">]+(?:"[^"]*"|'[^']*'))*[^"'>]*(?:"[^">]*|'[^'>]*)?|\s*|\/)>/g,f=e.getShortEndedElements(),g=1,b=a;g!==0;)for(i.lastIndex=b;;){var C=i.exec(n);if(C===null)return b;if(C[1]==="!"){wr(C[2],"--")?b=aw(n,!1,C.index+3):b=aw(n,!0,C.index+1);break}else{s.lastIndex=i.lastIndex;var A=s.exec(n);if(ee(A)||A.index!==i.lastIndex)continue;C[1]==="/"?g-=1:ur(f,C[2])||(g+=1),b=i.lastIndex+A[0].length;break}}return b},_E=function(e,n){return/^\s*\[if [\w\W]+\]>.*<!\[endif\](--!?)?>/.test(e.substr(n))},aw=function(e,n,a){a===void 0&&(a=0);var i=e.toLowerCase();if(i.indexOf("[if ",a)!==-1&&_E(i,a)){var s=i.indexOf("[endif]",a);return i.indexOf(">",s)}else if(n){var f=i.indexOf(">",a);return f!==-1?f:i.length}else{var g=/--!?>/g;g.lastIndex=a;var b=g.exec(e);return b?b.index+b[0].length:i.length}},Cg=function(e,n){var a=e.exec(n);if(a){var i=a[1],s=a[2];return typeof i=="string"&&i.toLowerCase()==="data-mce-bogus"?s:null}else return null},ib=function(e,n){var a;n===void 0&&(n=$r()),e=e||{};var i=(a=e.document)!==null&&a!==void 0?a:document,s=i.createElement("form");e.fix_self_closing!==!1&&(e.fix_self_closing=!0);var f=e.comment?e.comment:Le,g=e.cdata?e.cdata:Le,b=e.text?e.text:Le,C=e.start?e.start:Le,A=e.end?e.end:Le,N=e.pi?e.pi:Le,z=e.doctype?e.doctype:Le,F=function(G,Z){Z===void 0&&(Z="html");for(var re=G.html,ce,se=0,pe,Ae,ge=[],Re,qe,gt,zn,Zt,mt,Xn,Tt,en,Ct,Ft,rn,lt,un,cr,Oa,Xr,hi=0,Ko=ic.decode,fc=je.makeMap("src,href,data,background,action,formaction,poster,xlink:href"),$c=Z==="html"?0:1,ft=function(Ro){var Ya,Ri;for(Ya=ge.length;Ya--&&ge[Ya].name!==Ro;);if(Ya>=0){for(Ri=ge.length-1;Ri>=Ya;Ri--)Ro=ge[Ri],Ro.valid&&A(Ro.name);ge.length=Ya}},$e=function(Ro,Ya){return b(rb(Ro,G),Ya)},ht=function(Ro){Ro!==""&&(Ro.charAt(0)===">"&&(Ro=" "+Ro),!e.allow_conditional_comments&&Ro.substr(0,3).toLowerCase()==="[if"&&(Ro=" "+Ro),f(rb(Ro,G)))},Ne=function(Ro){return rb(Ro,G)},gn=function(Ro,Ya){var Ri=Ro||"",df=!wr(Ri,"--"),rd=aw(re,df,Ya);return Ro=re.substr(Ya,rd-Ya),ht(df?Ri+Ro:Ro),rd+1},Pt=function(Ro,Ya,Ri,df,rd){if(Ya=Ya.toLowerCase(),Ri=Ne(Ya in Xs?Ya:Ko(Ri||df||rd||"")),Pl&&!Zt&&RE(Ya)===!1){var mf=Ft[Ya];if(!mf&&rn){for(var tv=rn.length;tv--&&(mf=rn[tv],!mf.pattern.test(Ya)););tv===-1&&(mf=null)}if(!mf||mf.validValues&&!(Ri in mf.validValues))return}var u2=Ya==="name"||Ya==="id";u2&&Ro in ob&&(Ri in i||Ri in s)||fc[Ya]&&!jf.isDomSafe(Ri,Ro,e)||Zt&&(Ya in fc||Ya.indexOf("on")===0)||(Re.map[Ya]=Ri,Re.push({name:Ya,value:Ri}))},qn=new RegExp(`<(?:(?:!--([\\w\\W]*?)--!?>)|(?:!\\[CDATA\\[([\\w\\W]*?)\\]\\]>)|(?:![Dd][Oo][Cc][Tt][Yy][Pp][Ee]([\\w\\W]*?)>)|(?:!(--)?)|(?:\\?([^\\s\\/<>]+) ?([\\w\\W]*?)[?/]>)|(?:\\/([A-Za-z][A-Za-z0-9\\-_\\:\\.]*)>)|(?:([A-Za-z][A-Za-z0-9\\-_:.]*)(\\s(?:[^'">]+(?:"[^"]*"|'[^']*'))*[^"'>]*(?:"[^">]*|'[^'>]*)?|\\s*|\\/)>))`,"g"),Nr=/([\w:\-]+)(?:\s*=\s*(?:(?:\"((?:[^\"])*)\")|(?:\'((?:[^\'])*)\')|([^>\s]+)))?/g,vo=n.getShortEndedElements(),xs=e.self_closing_elements||n.getSelfClosingElements(),Xs=n.getBoolAttrs(),Pl=e.validate,Ts=e.remove_internals,ks=e.fix_self_closing,zi=n.getSpecialElements(),pm=re+">";ce=qn.exec(pm);){var Ru=ce[0];if(se<ce.index&&$e(Ko(re.substr(se,ce.index-se))),pe=ce[7])pe=pe.toLowerCase(),pe.charAt(0)===":"&&(pe=pe.substr(1)),ft(pe);else if(pe=ce[8]){if(ce.index+Ru.length>re.length){$e(Ko(re.substr(ce.index))),se=ce.index+Ru.length;continue}pe=pe.toLowerCase(),pe.charAt(0)===":"&&(pe=pe.substr(1)),mt=pe in vo,ks&&xs[pe]&&ge.length>0&&ge[ge.length-1].name===pe&&ft(pe);var $l=Cg(Nr,ce[9]);if($l!==null){if($l==="all"){se=rw(n,re,qn.lastIndex),qn.lastIndex=se;continue}Tt=!1}if(!Pl||(Xn=n.getElementRule(pe))){if(Tt=!0,Pl&&(Ft=Xn.attributes,rn=Xn.attributePatterns),(Ct=ce[9])?(Zt=Ct.indexOf("data-mce-type")!==-1,Zt&&Ts&&(Tt=!1),Re=[],Re.map={},Ct.replace(Nr,function(Ro,Ya,Ri,df,rd){return Pt(pe,Ya,Ri,df,rd),""})):(Re=[],Re.map={}),Pl&&!Zt){if(lt=Xn.attributesRequired,un=Xn.attributesDefault,cr=Xn.attributesForced,Oa=Xn.removeEmptyAttrs,Oa&&!Re.length&&(Tt=!1),cr)for(qe=cr.length;qe--;)en=cr[qe],zn=en.name,Xr=en.value,Xr==="{$uid}"&&(Xr="mce_"+hi++),Re.map[zn]=Xr,Re.push({name:zn,value:Xr});if(un)for(qe=un.length;qe--;)en=un[qe],zn=en.name,zn in Re.map||(Xr=en.value,Xr==="{$uid}"&&(Xr="mce_"+hi++),Re.map[zn]=Xr,Re.push({name:zn,value:Xr}));if(lt){for(qe=lt.length;qe--&&!(lt[qe]in Re.map););qe===-1&&(Tt=!1)}if(en=Re.map["data-mce-bogus"]){if(en==="all"){se=rw(n,re,qn.lastIndex),qn.lastIndex=se;continue}Tt=!1}}Tt&&C(pe,Re,mt)}else Tt=!1;if(Ae=zi[pe]){Ae.lastIndex=se=ce.index+Ru.length,(ce=Ae.exec(re))?(Tt&&(gt=re.substr(se,ce.index-se)),se=ce.index+ce[0].length):(gt=re.substr(se),se=re.length),Tt&&(gt.length>0&&$e(gt,!0),A(pe)),qn.lastIndex=se;continue}mt||(!Ct||Ct.indexOf("/")!==Ct.length-1?ge.push({name:pe,valid:Tt}):Tt&&A(pe))}else if(pe=ce[1])ht(pe);else if(pe=ce[2]){var nd=$c===1||e.preserve_cdata||ge.length>0&&n.isValidChild(ge[ge.length-1].name,"#cdata");if(nd)g(pe);else{se=gn("",ce.index+2),qn.lastIndex=se;continue}}else if(pe=ce[3])z(pe);else if((pe=ce[4])||Ru==="<!"){se=gn(pe,ce.index+Ru.length),qn.lastIndex=se;continue}else if(pe=ce[5])if($c===1)N(pe,ce[6]);else{se=gn("?",ce.index+2),qn.lastIndex=se;continue}se=ce.index+Ru.length}for(se<re.length&&$e(Ko(re.substr(se))),qe=ge.length-1;qe>=0;qe--)pe=ge[qe],pe.valid&&A(pe.name)},K=function(G,Z){Z===void 0&&(Z="html"),F(ew(G),Z)};return{parse:K}};ib.findEndTag=rw;var BE=function(e,n){var a=new RegExp(["\\s?("+e.join("|")+')="[^"]+"'].join("|"),"gi");return n.replace(a,"")},ES=function(e,n){for(var a=/<(\w+) [^>]*data-mce-bogus="all"[^>]*>/g,i=e.schema,s=BE(e.getTempAttrs(),n),f=i.getShortEndedElements(),g;g=a.exec(s);){var b=a.lastIndex,C=g[0].length,A=void 0;f[g[1]]?A=b:A=ib.findEndTag(i,s,b),s=s.substring(0,b-C)+s.substring(A),a.lastIndex=b-C}return bl(s)},ow=ES,iw=function(e,n){var a=vu(e),i=new RegExp("^(<"+a+"[^>]*>( | |\\s|\xA0|<br \\/>|)<\\/"+a+`>[\r
|
|
@@ -236,4 +236,4 @@ Required: `+me.join(", "));return Qe[hn].apply(null,V)};return{fold:function(){f
|
|
|
236
236
|
`),Q=Vi(w,L),ke=Fi(Q,bo(w),ta(w));uo(w,ke,!1,!0)},ka=function(w){var D={},L="data:text/mce-internal,";if(w){if(w.getData){var Q=w.getData("Text");Q&&Q.length>0&&Q.indexOf(L)===-1&&(D["text/plain"]=Q)}if(w.types)for(var ke=0;ke<w.types.length;ke++){var tt=w.types[ke];try{D[tt]=w.getData(tt)}catch{D[tt]=""}}}return D},Ra=function(w,D){return ka(D.clipboardData||w.getDoc().dataTransfer)},st=function(w,D){return D in w&&w[D].length>0},Ka=function(w){return st(w,"text/html")||st(w,"text/plain")},Ui=function(w){var D=/data:([^;]+);base64,([a-z0-9\+\/=]+)/i.exec(w);return D?{type:D[1],data:decodeURIComponent(D[2])}:{type:null,data:null}},ju=function(w,D){var L=eo(w);return L?L(D):!0},qu=function(w,D){var L=D.match(/([\s\S]+?)(?:\.[a-z0-9.]+)$/i);return Ar(L)?w.dom.encode(L[1]):null},Cr=Mo("mceclip"),fs=function(w,D){var L=Ui(D.uri),Q=L.data,ke=L.type,tt=Cr(),mn=D.blob,Bn=new Image;if(Bn.src=D.uri,ju(w,Bn)){var Dt=w.editorUpload.blobCache,fn=void 0,ar=Dt.getByData(Q,ke);if(ar)fn=ar;else{var tr=yi(w)&&Ar(mn.name),jn=tr?qu(w,mn.name):tt,Pa=tr?mn.name:void 0;fn=Dt.create(tt,mn,Q,jn,Pa),Dt.add(fn)}Yo(w,'<img src="'+fn.blobUri()+'">',!1)}else Yo(w,'<img src="'+D.uri+'">',!1)},Wi=function(w){return w.type==="paste"},Va=function(w){return Ar(w.getAsFile)},Gu=function(w){return ho.all(pt(w,function(D){return new ho(function(L){var Q=Va(D)?D.getAsFile():D,ke=new window.FileReader;ke.onload=function(){L({blob:Q,uri:ke.result})},ke.readAsDataURL(Q)})}))},Jo=function(w){var D=Ha(w);return function(L){return _(L.type,"image/")&&qt(D,function(Q){return Hi(Q)===L.type})}},li=function(w,D){var L=D.items?Y(On(D.items),function(ke){return ke.kind==="file"?[ke.getAsFile()]:[]}):[],Q=D.files?On(D.files):[];return Le(L.length>0?L:Q,Jo(w))},la=function(w,D,L){var Q=Wi(D)?D.clipboardData:D.dataTransfer;if(Xo(w)&&Q){var ke=li(w,Q);if(ke.length>0)return D.preventDefault(),Gu(ke).then(function(tt){L&&w.selection.setRng(L),Bt(tt,function(mn){fs(w,mn)})}),!0}return!1},Ku=function(w){var D=w.clipboardData;return navigator.userAgent.indexOf("Android")!==-1&&D&&D.items&&D.items.length===0},q=function(w){return nr.metaKeyPressed(w)&&w.keyCode===86||w.shiftKey&&w.keyCode===45},me=function(w,D,L){var Q=Ca(),ke=Ca(),tt;w.on("keyup",ke.clear),w.on("keydown",function(Dt){var fn=function(ar){q(ar)&&!ar.isDefaultPrevented()&&D.remove()};if(q(Dt)&&!Dt.isDefaultPrevented()){if(tt=Dt.shiftKey&&Dt.keyCode===86,tt&&Ht.webkit&&navigator.userAgent.indexOf("Version/")!==-1)return;if(Dt.stopImmediatePropagation(),Q.set(Dt),ke.set(!0),Ht.ie&&tt){Dt.preventDefault(),dt(w,!0);return}D.remove(),D.create(),w.once("keyup",fn),w.once("paste",function(){w.off("keyup",fn)})}});var mn=function(Dt,fn,ar,tr,jn){var Pa;st(fn,"text/html")?Pa=fn["text/html"]:(Pa=D.getHtml(),jn=jn||ln(Pa),D.isDefaultContent(Pa)&&(tr=!0)),Pa=ui(Pa),D.remove();var Ln=jn===!1&&yn(Pa),ga=ie(Pa);if((!Pa.length||Ln&&!ga)&&(tr=!0),(tr||ga)&&(st(fn,"text/plain")&&Ln?Pa=fn["text/plain"]:Pa=Li(Pa)),D.isDefaultContent(Pa)){ar||Dt.windowManager.alert("Please use Ctrl+V/Cmd+V keyboard shortcuts to paste contents.");return}tr?au(Dt,Pa):Yo(Dt,Pa,jn)},Bn=function(){return D.getLastRng()||w.selection.getRng()};w.on("paste",function(Dt){var fn=Q.isSet()||ke.isSet();fn&&Q.clear();var ar=Ra(w,Dt),tr=L.get()==="text"||tt,jn=st(ar,Gt());if(tt=!1,Dt.isDefaultPrevented()||Ku(Dt)){D.remove();return}if(!Ka(ar)&&la(w,Dt,Bn())){D.remove();return}fn||Dt.preventDefault(),Ht.ie&&(!fn||Dt.ieFake)&&!st(ar,"text/html")&&(D.create(),w.dom.bind(D.getEl(),"paste",function(Pa){Pa.stopPropagation()}),w.getDoc().execCommand("Paste",!1,null),ar["text/html"]=D.getHtml()),st(ar,"text/html")?(Dt.preventDefault(),jn||(jn=ln(ar["text/html"])),mn(w,ar,fn,tr,jn)):io.setEditorTimeout(w,function(){mn(w,ar,fn,tr,jn)},0)})},De=function(w,D,L){me(w,D,L);var Q;w.parser.addNodeFilter("img",function(ke,tt,mn){var Bn=function(jn){return jn.data&&jn.data.paste===!0},Dt=function(jn){!jn.attr("data-mce-object")&&Q!==Ht.transparentSrc&&jn.remove()},fn=function(jn){return jn.indexOf("webkit-fake-url")===0},ar=function(jn){return jn.indexOf("data:")===0};if(!Xo(w)&&Bn(mn))for(var tr=ke.length;tr--;)Q=ke[tr].attr("src"),!!Q&&(fn(Q)||!oi(w)&&ar(Q))&&Dt(ke[tr])})},Ye=function(w){return Ht.ie&&w.inline?document.body:w.getBody()},Mt=function(w){return Ye(w)!==w.getBody()},Qt=function(w,D,L){Mt(w)&&w.dom.bind(D,"paste keyup",function(Q){Qe(w,L)||w.fire("paste")})},hn=function(w,D,L){var Q=w.dom,ke=w.getBody();D.set(w.selection.getRng());var tt=w.dom.add(Ye(w),"div",{id:"mcepastebin",class:"mce-pastebin",contentEditable:!0,"data-mce-bogus":"all",style:"position: fixed; top: 50%; width: 10px; height: 10px; overflow: hidden; opacity: 0"},L);(Ht.ie||Ht.gecko)&&Q.setStyle(tt,"left",Q.getStyle(ke,"direction",!0)==="rtl"?65535:-65535),Q.bind(tt,"beforedeactivate focusin focusout",function(mn){mn.stopPropagation()}),Qt(w,tt,L),tt.focus(),w.selection.select(tt,!0)},lr=function(w,D){if(V(w)){for(var L=void 0,Q=D.get();L=w.dom.get("mcepastebin");)w.dom.remove(L),w.dom.unbind(L);Q&&w.selection.setRng(Q)}D.set(null)},V=function(w){return w.dom.get("mcepastebin")},fe=function(w){var D=function(Bn,Dt){Bn.appendChild(Dt),w.dom.remove(Dt,!0)},L=Nt.grep(Ye(w).childNodes,function(Bn){return Bn.id==="mcepastebin"}),Q=L.shift();Nt.each(L,function(Bn){D(Q,Bn)});for(var ke=w.dom.select("div[id=mcepastebin]",Q),tt=ke.length-1;tt>=0;tt--){var mn=w.dom.create("div");Q.insertBefore(mn,ke[tt]),D(mn,ke[tt])}return Q?Q.innerHTML:""},Te=function(w,D){return D===w},Me=function(w){return w&&w.id==="mcepastebin"},Qe=function(w,D){var L=V(w);return Me(L)&&Te(D,L.innerHTML)},Wt=function(w){var D=le(null),L="%MCEPASTEBIN%";return{create:function(){return hn(w,D,L)},remove:function(){return lr(w,D)},getEl:function(){return V(w)},getHtml:function(){return fe(w)},getLastRng:D.get,isDefault:function(){return Qe(w,L)},isDefaultContent:function(Q){return Te(L,Q)}}},wn=function(w,D){var L=Wt(w);return w.on("PreInit",function(){return De(w,L,D)}),{pasteFormat:D,pasteHtml:function(Q,ke){return Yo(w,Q,ke)},pasteText:function(Q){return au(w,Q)},pasteImageData:function(Q,ke){return la(w,Q,ke)},getDataTransferItems:ka,hasHtmlOrText:Ka,hasContentType:st}},Pr=function(w,D){D.pasteFormat.get()==="text"?(D.pasteFormat.set("html"),Ja(w,!1)):(D.pasteFormat.set("text"),Ja(w,!0)),w.focus()},rr=function(w,D){w.addCommand("mceTogglePlainTextPaste",function(){Pr(w,D)}),w.addCommand("mceInsertClipboardContent",function(L,Q){Q.content&&D.pasteHtml(Q.content,Q.internal),Q.text&&D.pasteText(Q.text)})},na=function(w){return Ht.iOS===!1&&typeof(w==null?void 0:w.setData)=="function"},Sa=function(w,D,L){if(na(w))try{return w.clearData(),w.setData("text/html",D),w.setData("text/plain",L),w.setData(Gt(),D),!0}catch{return!1}else return!1},bu=function(w,D,L,Q){Sa(w.clipboardData,D.html,D.text)?(w.preventDefault(),Q()):L(D.html,Q)},Co=function(w){return function(D,L){var Q=Pe(D),ke=w.dom.create("div",{contenteditable:"false","data-mce-bogus":"all"}),tt=w.dom.create("div",{contenteditable:"true"},Q);w.dom.setStyles(ke,{position:"fixed",top:"0",left:"-3000px",width:"1000px",overflow:"hidden"}),ke.appendChild(tt),w.dom.add(w.getBody(),ke);var mn=w.selection.getRng();tt.focus();var Bn=w.dom.createRng();Bn.selectNodeContents(tt),w.selection.setRng(Bn),io.setTimeout(function(){w.selection.setRng(mn),ke.parentNode.removeChild(ke),L()},0)}},Cn=function(w){return{html:w.selection.getContent({contextual:!0}),text:w.selection.getContent({format:"text"})}},wt=function(w){return!!w.dom.getParent(w.selection.getStart(),"td[data-mce-selected],th[data-mce-selected]",w.getBody())},oa=function(w){return!w.selection.isCollapsed()||wt(w)},So=function(w){return function(D){oa(w)&&bu(D,Cn(w),Co(w),function(){if(Ht.browser.isChrome()||Ht.browser.isFirefox()){var L=w.selection.getRng();io.setEditorTimeout(w,function(){w.selection.setRng(L),w.execCommand("Delete")},0)}else w.execCommand("Delete")})}},Sr=function(w){return function(D){oa(w)&&bu(D,Cn(w),Co(w),He)}},As=function(w){w.on("cut",So(w)),w.on("copy",Sr(w))},Xu=tinymce.util.Tools.resolve("tinymce.dom.RangeUtils"),vc=function(w,D){return Xu.getCaretRangeFromPoint(D.clientX,D.clientY,w.getDoc())},Vr=function(w){var D=w["text/plain"];return D?D.indexOf("file://")===0:!1},wi=function(w,D){w.focus(),w.selection.setRng(D)},dc=function(w,D,L){po(w)&&w.on("dragend dragover draggesture dragdrop drop drag",function(Q){Q.preventDefault(),Q.stopPropagation()}),$n(w)||w.on("drop",function(Q){var ke=Q.dataTransfer;ke&&ke.files&&ke.files.length>0&&Q.preventDefault()}),w.on("drop",function(Q){var ke=vc(w,Q);if(!(Q.isDefaultPrevented()||L.get())){var tt=D.getDataTransferItems(Q.dataTransfer),mn=D.hasContentType(tt,Gt());if(!((!D.hasHtmlOrText(tt)||Vr(tt))&&D.pasteImageData(Q,ke))&&ke&&cn(w)){var Bn=tt["mce-internal"]||tt["text/html"]||tt["text/plain"];Bn&&(Q.preventDefault(),io.setEditorTimeout(w,function(){w.undoManager.transact(function(){tt["mce-internal"]&&w.execCommand("Delete"),wi(w,ke),Bn=ui(Bn),tt["text/html"]?D.pasteHtml(Bn,mn):D.pasteText(Bn)})}))}}}),w.on("dragstart",function(Q){L.set(!0)}),w.on("dragover dragend",function(Q){$n(w)&&L.get()===!1&&(Q.preventDefault(),wi(w,vc(w,Q))),Q.type==="dragend"&&L.set(!1)})},yu=function(w){var D=w.plugins.paste,L=Gn(w);L&&w.on("PastePreProcess",function(ke){L.call(D,D,ke)});var Q=Kn(w);Q&&w.on("PastePostProcess",function(ke){Q.call(D,D,ke)})},to=function(w,D){w.on("PastePreProcess",function(L){L.content=D(w,L.content,L.internal,L.wordContent)})},Ds=function(w,D){w.on("PastePostProcess",function(L){D(w,L.node)})},je=function(w,D){if(!Mr(D))return D;var L=[];Nt.each(w.schema.getBlockElements(),function(ke,tt){L.push(tt)});var Q=new RegExp("(?:<br> [\\s\\r\\n]+|<br>)*(<\\/?("+L.join("|")+")[^>]*>)(?:<br> [\\s\\r\\n]+|<br>)*","g");return D=Lo(D,[[Q,"$1"]]),D=Lo(D,[[/<br><br>/g,"<BR><BR>"],[/<br>/g," "],[/<BR><BR>/g,"<br>"]]),D},Zs=function(w,D,L,Q){if(Q||L)return D;var ke=xt(w),tt;if(hr(w)===!1||ke==="all")return D;if(ke&&(tt=ke.split(/[, ]/)),tt){var mn=w.dom,Bn=w.selection.getNode();D=D.replace(/(<[^>]+) style="([^"]*)"([^>]*>)/gi,function(Dt,fn,ar,tr){var jn=mn.parseStyle(mn.decode(ar)),Pa={};if(tt==="none")return fn+tr;for(var Ln=0;Ln<tt.length;Ln++){var ga=jn[tt[Ln]],ia=mn.getStyle(Bn,tt[Ln],!0);/color/.test(tt[Ln])&&(ga=mn.toHex(ga),ia=mn.toHex(ia)),ia!==ga&&(Pa[tt[Ln]]=ga)}var Ci=mn.serializeStyle(Pa,"span");return Ci?fn+' style="'+Ci+'"'+tr:fn+tr})}else D=D.replace(/(<[^>]+) style="([^"]*)"([^>]*>)/gi,"$1$3");return D=D.replace(/(<[^>]+) data-mce-style="([^"]+)"([^>]*>)/gi,function(Dt,fn,ar,tr){return fn+' style="'+ar+'"'+tr}),D},no=function(w,D){w.$("a",D).find("font,u").each(function(L,Q){w.dom.remove(Q,!0)})},ll=function(w){Ht.webkit&&to(w,Zs),Ht.ie&&(to(w,je),Ds(w,no))},vs=function(w,D){return function(L){L.setActive(D.pasteFormat.get()==="text");var Q=function(ke){return L.setActive(ke.state)};return w.on("PastePlainTextToggle",Q),function(){return w.off("PastePlainTextToggle",Q)}}},M=function(w,D){var L=function(){return w.execCommand("mceTogglePlainTextPaste")};w.ui.registry.addToggleButton("pastetext",{active:!1,icon:"paste-text",tooltip:"Paste as text",onAction:L,onSetup:vs(w,D)}),w.ui.registry.addToggleMenuItem("pastetext",{text:"Paste as text",icon:"paste-text",onAction:L,onSetup:vs(w,D)})};function T(){Xe.add("paste",function(w){if(tn(w)===!1){var D=le(!1),L=le(Kr(w)?"text":"html"),Q=wn(w,L);return ll(w),M(w,Q),rr(w,Q),yu(w),As(w),dc(w,Q,D),Yt(Q)}})}T()})();(function(){var le=tinymce.util.Tools.resolve("tinymce.PluginManager"),Xe=tinymce.util.Tools.resolve("tinymce.Env"),tn=tinymce.util.Tools.resolve("tinymce.util.Tools"),Yt=function(We){return We.getParam("content_style","","string")},vt=function(We){return We.getParam("content_css_cors",!1,"boolean")},Xt=function(We){var de=We.getParam("body_class","","hash");return de[We.id]||""},dn=function(We){var de=We.getParam("body_class","","string");return de.indexOf("=")===-1?de:Xt(We)},Pn=function(We){var de=We.getParam("body_id","","hash");return de[We.id]||de},Rn=function(We){var de=We.getParam("body_id","tinymce","string");return de.indexOf("=")===-1?de:Pn(We)},Ar=function(We){var de="",St=We.dom.encode,Fe=Yt(We);de+='<base href="'+St(We.documentBaseURI.getURI())+'">';var sn=vt(We)?' crossorigin="anonymous"':"";tn.each(We.contentCSS,function(Le){de+='<link type="text/css" rel="stylesheet" href="'+St(We.documentBaseURI.toAbsolute(Le))+'"'+sn+">"}),Fe&&(de+='<style type="text/css">'+Fe+"</style>");var ee=Rn(We),ze=dn(We),Ee=Xe.mac?"e.metaKey":"e.ctrlKey && !e.altKey",$t='<script>document.addEventListener && document.addEventListener("click", function(e) {for (var elm = e.target; elm; elm = elm.parentNode) {if (elm.nodeName === "A" && !('+Ee+")) {e.preventDefault();}}}, false);<\/script> ",qt=We.getBody().dir,pt=qt?' dir="'+St(qt)+'"':"",Bt="<!DOCTYPE html><html><head>"+de+'</head><body id="'+St(ee)+'" class="mce-content-body '+St(ze)+'"'+pt+">"+We.getContent()+$t+"</body></html>";return Bt},_n=function(We){var de=Ar(We),St=We.windowManager.open({title:"Preview",size:"large",body:{type:"panel",items:[{name:"preview",type:"iframe",sandboxed:!0}]},buttons:[{type:"cancel",name:"close",text:"Close",primary:!0}],initialData:{preview:de}});St.focus("close")},He=function(We){We.addCommand("mcePreview",function(){_n(We)})},zt=function(We){var de=function(){return We.execCommand("mcePreview")};We.ui.registry.addButton("preview",{icon:"preview",tooltip:"Preview",onAction:de}),We.ui.registry.addMenuItem("preview",{icon:"preview",text:"Preview",onAction:de})};function pn(){le.add("preview",function(We){He(We),zt(We)})}pn()})();(function(){var le=function(u){var l=typeof u;return u===null?"null":l==="object"&&(Array.prototype.isPrototypeOf(u)||u.constructor&&u.constructor.name==="Array")?"array":l==="object"&&(String.prototype.isPrototypeOf(u)||u.constructor&&u.constructor.name==="String")?"string":l},Xe=function(u){return function(l){return le(l)===u}},tn=function(u){return function(l){return typeof l===u}},Yt=function(u){return function(l){return u===l}},vt=Xe("string"),Xt=Xe("object"),dn=Xe("array"),Pn=Yt(null),Rn=tn("boolean"),Ar=Yt(void 0),_n=function(u){return u==null},He=function(u){return!_n(u)},zt=tn("function"),pn=tn("number"),We=function(){},de=function(u,l){return function(){for(var d=[],h=0;h<arguments.length;h++)d[h]=arguments[h];return u(l.apply(null,d))}},St=function(u,l){return function(d){return u(l(d))}},Fe=function(u){return function(){return u}},sn=function(u){return u},ee=function(u,l){return u===l};function ze(u){for(var l=[],d=1;d<arguments.length;d++)l[d-1]=arguments[d];return function(){for(var h=[],y=0;y<arguments.length;y++)h[y]=arguments[y];var k=l.concat(h);return u.apply(null,k)}}var Ee=function(u){return function(l){return!u(l)}},$t=function(u){return function(){throw new Error(u)}},qt=Fe(!1),pt=Fe(!0),Bt=function(){return Le},Le=function(){var u=function(h){return h()},l=sn,d={fold:function(h,y){return h()},isSome:qt,isNone:pt,getOr:l,getOrThunk:u,getOrDie:function(h){throw new Error(h||"error: getOrDie called on none.")},getOrNull:Fe(null),getOrUndefined:Fe(void 0),or:l,orThunk:u,map:Bt,each:We,bind:Bt,exists:qt,forall:pt,filter:function(){return Bt()},toArray:function(){return[]},toString:Fe("none()")};return d}(),Fa=function(u){var l=Fe(u),d=function(){return y},h=function(k){return k(u)},y={fold:function(k,R){return R(u)},isSome:pt,isNone:qt,getOr:l,getOrThunk:l,getOrDie:l,getOrNull:l,getOrUndefined:l,or:d,orThunk:d,map:function(k){return Fa(k(u))},each:function(k){k(u)},bind:h,exists:h,forall:h,filter:function(k){return k(u)?y:Le},toArray:function(){return[u]},toString:function(){return"some("+u+")"}};return y},ve=function(u){return u==null?Le:Fa(u)},Y={some:Fa,none:Bt,from:ve},On=Array.prototype.slice,wa=Array.prototype.indexOf,Rt=Array.prototype.push,Ca=function(u,l){return wa.call(u,l)},Ir=function(u,l){return Ca(u,l)>-1},_=function(u,l){for(var d=0,h=u.length;d<h;d++){var y=u[d];if(l(y,d))return!0}return!1},pa=function(u,l){for(var d=[],h=0;h<u;h++)d.push(l(h));return d},yt=function(u,l){for(var d=u.length,h=new Array(d),y=0;y<d;y++){var k=u[y];h[y]=l(k,y)}return h},Ht=function(u,l){for(var d=0,h=u.length;d<h;d++){var y=u[d];l(y,d)}},io=function(u,l){for(var d=u.length-1;d>=0;d--){var h=u[d];l(h,d)}},ho=function(u,l){for(var d=[],h=[],y=0,k=u.length;y<k;y++){var R=u[y],$=l(R,y)?d:h;$.push(R)}return{pass:d,fail:h}},nr=function(u,l){for(var d=[],h=0,y=u.length;h<y;h++){var k=u[h];l(k,h)&&d.push(k)}return d},va=function(u,l,d){return io(u,function(h,y){d=l(d,h,y)}),d},J=function(u,l,d){return Ht(u,function(h,y){d=l(d,h,y)}),d},Ja=function(u,l,d){for(var h=0,y=u.length;h<y;h++){var k=u[h];if(l(k,h))return Y.some(k);if(d(k,h))break}return Y.none()},dt=function(u,l){return Ja(u,l,qt)},Nt=function(u,l){for(var d=0,h=u.length;d<h;d++){var y=u[d];if(l(y,d))return Y.some(d)}return Y.none()},po=function(u){for(var l=[],d=0,h=u.length;d<h;++d){if(!dn(u[d]))throw new Error("Arr.flatten item "+d+" was not an array, input: "+u);Rt.apply(l,u[d])}return l},$n=function(u,l){return po(yt(u,l))},cn=function(u,l){for(var d=0,h=u.length;d<h;++d){var y=u[d];if(l(y,d)!==!0)return!1}return!0},Gn=function(u){var l=On.call(u,0);return l.reverse(),l},Kn=function(u,l){for(var d={},h=0,y=u.length;h<y;h++){var k=u[h];d[String(k)]=l(k,h)}return d},xt=function(u){return[u]},hr=function(u,l){var d=On.call(u,0);return d.sort(l),d},La=function(u,l){return l>=0&&l<u.length?Y.some(u[l]):Y.none()},bn=function(u){return La(u,0)},Kr=function(u){return La(u,u.length-1)},Qr=function(u,l){for(var d=0;d<u.length;d++){var h=l(u[d],d);if(h.isSome())return h}return Y.none()},An=function(){return An=Object.assign||function(l){for(var d,h=1,y=arguments.length;h<y;h++){d=arguments[h];for(var k in d)Object.prototype.hasOwnProperty.call(d,k)&&(l[k]=d[k])}return l},An.apply(this,arguments)};function da(u,l,d){if(d||arguments.length===2)for(var h=0,y=l.length,k;h<y;h++)(k||!(h in l))&&(k||(k=Array.prototype.slice.call(l,0,h)),k[h]=l[h]);return u.concat(k||Array.prototype.slice.call(l))}var Fo=function(u){var l=!1,d;return function(){for(var h=[],y=0;y<arguments.length;y++)h[y]=arguments[y];return l||(l=!0,d=u.apply(null,h)),d}},bi=function(u,l,d,h){var y=u.isiOS()&&/ipad/i.test(d)===!0,k=u.isiOS()&&!y,R=u.isiOS()||u.isAndroid(),$=R||h("(pointer:coarse)"),j=y||!k&&R&&h("(min-device-width:768px)"),ne=k||R&&!j,he=l.isSafari()&&u.isiOS()&&/safari/i.test(d)===!1,Ge=!ne&&!j&&!he;return{isiPad:Fe(y),isiPhone:Fe(k),isTablet:Fe(j),isPhone:Fe(ne),isTouch:Fe($),isAndroid:u.isAndroid,isiOS:u.isiOS,isWebView:Fe(he),isDesktop:Fe(Ge)}},oi=function(u,l){for(var d=0;d<u.length;d++){var h=u[d];if(h.test(l))return h}},Xo=function(u,l){var d=oi(u,l);if(!d)return{major:0,minor:0};var h=function(y){return Number(l.replace(d,"$"+y))};return bo(h(1),h(2))},eo=function(u,l){var d=String(l).toLowerCase();return u.length===0?yi():Xo(u,d)},yi=function(){return bo(0,0)},bo=function(u,l){return{major:u,minor:l}},ta={nu:bo,detect:eo,unknown:yi},Yr=function(u,l){return Qr(l.brands,function(d){var h=d.brand.toLowerCase();return dt(u,function(y){var k;return h===((k=y.brand)===null||k===void 0?void 0:k.toLowerCase())}).map(function(y){return{current:y.name,version:ta.nu(parseInt(d.version,10),0)}})})},Ha=function(u,l){var d=String(l).toLowerCase();return dt(u,function(h){return h.search(d)})},ea=function(u,l){return Ha(u,l).map(function(d){var h=ta.detect(d.versionRegexes,l);return{current:d.name,version:h}})},Rr=function(u,l){return Ha(u,l).map(function(d){var h=ta.detect(d.versionRegexes,l);return{current:d.name,version:h}})},Pe=function(u,l){return u.substring(l)},Ut=function(u,l,d){return l===""||u.length>=l.length&&u.substr(d,d+l.length)===l},ln=function(u,l){return xr(u,l)?Pe(u,l.length):u},Gt=function(u,l){return u.indexOf(l)!==-1},xr=function(u,l){return Ut(u,l,0)},_r=function(u,l){return Ut(u,l,u.length-l.length)},Da=function(u){return function(l){return l.replace(u,"")}},yn=Da(/^\s+|\s+$/g),Tr=function(u){return u.length>0},ma=function(u){return!Tr(u)},ko=function(u){var l=parseFloat(u);return isNaN(l)?Y.none():Y.some(l)},Fi=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,Br=function(u){return function(l){return Gt(l,u)}},ur=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:function(u){return Gt(u,"edge/")&&Gt(u,"chrome")&&Gt(u,"safari")&&Gt(u,"applewebkit")}},{name:"Chrome",brand:"Chromium",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,Fi],search:function(u){return Gt(u,"chrome")&&!Gt(u,"chromeframe")}},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:function(u){return Gt(u,"msie")||Gt(u,"trident")}},{name:"Opera",versionRegexes:[Fi,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:Br("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:Br("firefox")},{name:"Safari",versionRegexes:[Fi,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:function(u){return(Gt(u,"safari")||Gt(u,"mobile/"))&&Gt(u,"applewebkit")}}],yo=[{name:"Windows",search:Br("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:function(u){return Gt(u,"iphone")||Gt(u,"ipad")},versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:Br("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"OSX",search:Br("mac os x"),versionRegexes:[/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:Br("linux"),versionRegexes:[]},{name:"Solaris",search:Br("sunos"),versionRegexes:[]},{name:"FreeBSD",search:Br("freebsd"),versionRegexes:[]},{name:"ChromeOS",search:Br("cros"),versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/]}],ii={browsers:Fe(ur),oses:Fe(yo)},Bo="Edge",wo="Chrome",Lo="IE",Li="Opera",ui="Firefox",Mo="Safari",Hi=function(){return Mr({current:void 0,version:ta.unknown()})},Mr=function(u){var l=u.current,d=u.version,h=function(y){return function(){return l===y}};return{current:l,version:d,isEdge:h(Bo),isChrome:h(wo),isIE:h(Lo),isOpera:h(Li),isFirefox:h(ui),isSafari:h(Mo)}},si={unknown:Hi,nu:Mr,edge:Fe(Bo),chrome:Fe(wo),ie:Fe(Lo),opera:Fe(Li),firefox:Fe(ui),safari:Fe(Mo)},Sn="Windows",Uu="iOS",Ho="Android",_i="Linux",Vo="OSX",Bi="Solaris",Mu="FreeBSD",ci="ChromeOS",Wu=function(){return te({current:void 0,version:ta.unknown()})},te=function(u){var l=u.current,d=u.version,h=function(y){return function(){return l===y}};return{current:l,version:d,isWindows:h(Sn),isiOS:h(Uu),isAndroid:h(Ho),isOSX:h(Vo),isLinux:h(_i),isSolaris:h(Bi),isFreeBSD:h(Mu),isChromeOS:h(ci)}},we={unknown:Wu,nu:te,windows:Fe(Sn),ios:Fe(Uu),android:Fe(Ho),linux:Fe(_i),osx:Fe(Vo),solaris:Fe(Bi),freebsd:Fe(Mu),chromeos:Fe(ci)},ie=function(u,l,d){var h=ii.browsers(),y=ii.oses(),k=l.bind(function(j){return Yr(h,j)}).orThunk(function(){return ea(h,u)}).fold(si.unknown,si.nu),R=Rr(y,u).fold(we.unknown,we.nu),$=bi(R,k,u,d);return{browser:k,os:R,deviceType:$}},_e={detect:ie},At=function(u){return window.matchMedia(u).matches},Jt=Fo(function(){return _e.detect(navigator.userAgent,Y.from(navigator.userAgentData),At)}),Fn=function(){return Jt()},Un=function(u,l,d){return(u.compareDocumentPosition(l)&d)!==0},Dr=function(u,l){return Un(u,l,Node.DOCUMENT_POSITION_CONTAINED_BY)},zr=8,wr=9,xa=11,Ta=1,Vi=3,uo=function(u,l){var d=l||document,h=d.createElement("div");if(h.innerHTML=u,!h.hasChildNodes()||h.childNodes.length>1)throw console.error("HTML does not have a single root node",u),new Error("HTML must have a single root node");return ka(h.childNodes[0])},Yo=function(u,l){var d=l||document,h=d.createElement(u);return ka(h)},au=function(u,l){var d=l||document,h=d.createTextNode(u);return ka(h)},ka=function(u){if(u==null)throw new Error("Node cannot be null or undefined");return{dom:u}},Ra=function(u,l,d){return Y.from(u.dom.elementFromPoint(l,d)).map(ka)},st={fromHtml:uo,fromTag:Yo,fromText:au,fromDom:ka,fromPoint:Ra},Ka=function(u,l){var d=u.dom;if(d.nodeType!==Ta)return!1;var h=d;if(h.matches!==void 0)return h.matches(l);if(h.msMatchesSelector!==void 0)return h.msMatchesSelector(l);if(h.webkitMatchesSelector!==void 0)return h.webkitMatchesSelector(l);if(h.mozMatchesSelector!==void 0)return h.mozMatchesSelector(l);throw new Error("Browser lacks native selectors")},Ui=function(u){return u.nodeType!==Ta&&u.nodeType!==wr&&u.nodeType!==xa||u.childElementCount===0},ju=function(u,l){var d=l===void 0?document:l.dom;return Ui(d)?[]:yt(d.querySelectorAll(u),st.fromDom)},qu=function(u,l){var d=l===void 0?document:l.dom;return Ui(d)?Y.none():Y.from(d.querySelector(u)).map(st.fromDom)},Cr=function(u,l){return u.dom===l.dom},fs=function(u,l){var d=u.dom,h=l.dom;return d===h?!1:d.contains(h)},Wi=function(u,l){return Dr(u.dom,l.dom)},Va=function(u,l){return Fn().browser.isIE()?Wi(u,l):fs(u,l)},Gu=Ka,Jo=Object.keys,li=Object.hasOwnProperty,la=function(u,l){for(var d=Jo(u),h=0,y=d.length;h<y;h++){var k=d[h],R=u[k];l(R,k)}},Ku=function(u,l){return q(u,function(d,h){return{k:h,v:l(d,h)}})},q=function(u,l){var d={};return la(u,function(h,y){var k=l(h,y);d[k.k]=k.v}),d},me=function(u){return function(l,d){u[d]=l}},De=function(u,l,d,h){var y={};return la(u,function(k,R){(l(k,R)?d:h)(k,R)}),y},Ye=function(u,l){var d={};return De(u,l,me(d),We),d},Mt=function(u,l){var d=[];return la(u,function(h,y){d.push(l(h,y))}),d},Qt=function(u){return Mt(u,sn)},hn=function(u){return Jo(u).length},lr=function(u,l){return V(u,l)?Y.from(u[l]):Y.none()},V=function(u,l){return li.call(u,l)},fe=function(u,l){return V(u,l)&&u[l]!==void 0&&u[l]!==null},Te=function(u){for(var l in u)if(li.call(u,l))return!1;return!0},Me=["tfoot","thead","tbody","colgroup"],Qe=function(u){return Ir(Me,u)},Wt=function(u,l){return{rows:u,columns:l}},wn=function(u,l){return{row:u,column:l}},Pr=function(u,l,d){return{element:u,rowspan:l,colspan:d}},rr=function(u,l,d,h){return{element:u,rowspan:l,colspan:d,isNew:h}},na=function(u,l,d,h,y,k){return{element:u,rowspan:l,colspan:d,row:h,column:y,isLocked:k}},Sa=function(u,l,d){return{element:u,cells:l,section:d}},bu=function(u,l,d,h){return{element:u,cells:l,section:d,isNew:h}},Co=function(u,l,d){return{element:u,isNew:l,isLocked:d}},Cn=function(u,l,d,h){return{element:u,cells:l,section:d,isNew:h}},wt=function(u,l,d,h){return{startRow:u,startCol:l,finishRow:d,finishCol:h}},oa=function(u,l,d){return{element:u,colspan:l,column:d}},So=function(u,l){return{element:u,columns:l}};typeof window!="undefined"||Function("return this;")();var Sr=function(u){var l=u.dom.nodeName;return l.toLowerCase()},As=function(u){return u.dom.nodeType},Xu=function(u){return function(l){return As(l)===u}},vc=function(u){return As(u)===zr||Sr(u)==="#comment"},Vr=Xu(Ta),wi=Xu(Vi),dc=Xu(wr),yu=Xu(xa),to=function(u){return function(l){return Vr(l)&&Sr(l)===u}},Ds=function(u){return st.fromDom(u.dom.ownerDocument)},je=function(u){return dc(u)?u:Ds(u)},Zs=function(u){return st.fromDom(je(u).dom.defaultView)},no=function(u){return Y.from(u.dom.parentNode).map(st.fromDom)},ll=function(u){return Y.from(u.dom.parentElement).map(st.fromDom)},vs=function(u,l){for(var d=zt(l)?l:qt,h=u.dom,y=[];h.parentNode!==null&&h.parentNode!==void 0;){var k=h.parentNode,R=st.fromDom(k);if(y.push(R),d(R)===!0)break;h=k}return y},M=function(u){return Y.from(u.dom.previousSibling).map(st.fromDom)},T=function(u){return Y.from(u.dom.nextSibling).map(st.fromDom)},w=function(u){return yt(u.dom.childNodes,st.fromDom)},D=function(u,l){var d=u.dom.childNodes;return Y.from(d[l]).map(st.fromDom)},L=function(u){return D(u,0)},Q=function(u){return yu(u)&&He(u.dom.host)},ke=zt(Element.prototype.attachShadow)&&zt(Node.prototype.getRootNode),tt=Fe(ke),mn=ke?function(u){return st.fromDom(u.dom.getRootNode())}:je,Bn=function(u){var l=mn(u);return Q(l)?Y.some(l):Y.none()},Dt=function(u){return st.fromDom(u.dom.host)},fn=function(u){if(tt()&&He(u.target)){var l=st.fromDom(u.target);if(Vr(l)&&ar(l)&&u.composed&&u.composedPath){var d=u.composedPath();if(d)return bn(d)}}return Y.from(u.target)},ar=function(u){return He(u.dom.shadowRoot)},tr=function(u){var l=wi(u)?u.dom.parentNode:u.dom;if(l==null||l.ownerDocument===null)return!1;var d=l.ownerDocument;return Bn(st.fromDom(l)).fold(function(){return d.body.contains(l)},St(tr,Dt))},jn=function(){return Pa(st.fromDom(document))},Pa=function(u){var l=u.dom.body;if(l==null)throw new Error("Body is not available yet");return st.fromDom(l)},Ln=function(u,l,d){return nr(vs(u,d),l)},ga=function(u,l){return nr(w(u),l)},ia=function(u,l){var d=[];return Ht(w(u),function(h){l(h)&&(d=d.concat([h])),d=d.concat(ia(h,l))}),d},Ci=function(u,l,d){return Ln(u,function(h){return Ka(h,l)},d)},fr=function(u,l){return ga(u,function(d){return Ka(d,l)})},Rs=function(u,l){return ju(l,u)};function ro(u,l,d,h,y){return u(d,h)?Y.some(d):zt(y)&&y(d)?Y.none():l(d,h,y)}var xo=function(u,l,d){for(var h=u.dom,y=zt(d)?d:qt;h.parentNode;){h=h.parentNode;var k=st.fromDom(h);if(l(k))return Y.some(k);if(y(k))break}return Y.none()},Ep=function(u,l,d){var h=function(y,k){return k(y)};return ro(h,xo,u,l,d)},ji=function(u,l){var d=function(y){return l(st.fromDom(y))},h=dt(u.dom.childNodes,d);return h.map(st.fromDom)},Ig=function(u,l){var d=function(h){for(var y=0;y<h.childNodes.length;y++){var k=st.fromDom(h.childNodes[y]);if(l(k))return Y.some(k);var R=d(h.childNodes[y]);if(R.isSome())return R}return Y.none()};return d(u.dom)},Nc=function(u,l,d){return xo(u,function(h){return Ka(h,l)},d)},Yn=function(u,l){return ji(u,function(d){return Ka(d,l)})},_s=function(u,l){return qu(l,u)},Eo=function(u,l,d){var h=function(y,k){return Ka(y,k)};return ro(h,Nc,u,l,d)},Oo=function(u,l,d){if(vt(d)||Rn(d)||pn(d))u.setAttribute(l,d+"");else throw console.error("Invalid call to Attribute.set. Key ",l,":: Value ",d,":: Element ",u),new Error("Attribute value was not simple")},Si=function(u,l,d){Oo(u.dom,l,d)},Zo=function(u,l){var d=u.dom;la(l,function(h,y){Oo(d,y,h)})},hf=function(u,l){la(l,function(d,h){d.fold(function(){Xa(u,h)},function(y){Oo(u.dom,h,y)})})},Qs=function(u,l){var d=u.dom.getAttribute(l);return d===null?void 0:d},ua=function(u,l){return Y.from(Qs(u,l))},Xa=function(u,l){u.dom.removeAttribute(l)},Pu=function(u){return J(u.dom.attributes,function(l,d){return l[d.name]=d.value,l},{})},fl=function(u,l,d){return d===void 0&&(d=ee),u.exists(function(h){return d(h,l)})},fi=function(u){for(var l=[],d=function(y){l.push(y)},h=0;h<u.length;h++)u[h].each(d);return l},Bs=function(u,l,d){return u.isSome()&&l.isSome()?Y.some(d(u.getOrDie(),l.getOrDie())):Y.none()},Op=function(u,l){return u!=null?l(u):Y.none()},pf=function(u){return u.bind(sn)},$a=function(u,l){return u?Y.some(l):Y.none()},mc=function(u){return u.style!==void 0&&zt(u.style.getPropertyValue)},Il=function(u,l,d){if(!vt(d))throw console.error("Invalid call to CSS.set. Property ",l,":: Value ",d,":: Element ",u),new Error("CSS value must be a string: "+d);mc(u)&&u.style.setProperty(l,d)},Yu=function(u,l){mc(u)&&u.style.removeProperty(l)},Po=function(u,l,d){var h=u.dom;Il(h,l,d)},zl=function(u,l){var d=u.dom;la(l,function(h,y){Il(d,y,h)})},vl=function(u,l){var d=u.dom,h=window.getComputedStyle(d),y=h.getPropertyValue(l);return y===""&&!tr(u)?wu(d,l):y},wu=function(u,l){return mc(u)?u.style.getPropertyValue(l):""},Ju=function(u,l){var d=u.dom,h=wu(d,l);return Y.from(h).filter(function(y){return y.length>0})},ou=function(u,l){var d=u.dom;Yu(d,l),fl(ua(u,"style").map(yn),"")&&Xa(u,"style")},ov=function(u,l){var d=u.dom,h=l.dom;mc(d)&&mc(h)&&(h.style.cssText=d.style.cssText)},gc=function(u,l,d){return d===void 0&&(d=0),ua(u,l).map(function(h){return parseInt(h,10)}).getOr(d)},xi=function(u,l){return gc(u,l,1)},ud=function(u){return to("col")(u)?gc(u,"span",1)>1:xi(u,"colspan")>1},Ap=function(u){return xi(u,"rowspan")>1},bf=function(u,l){return parseInt(vl(u,l),10)},yf=Fe(10),$o=Fe(10),wf=function(u,l){return Cf(u,l,pt)},Cf=function(u,l,d){return $n(w(u),function(h){return Ka(h,l)?d(h)?[h]:[]:Cf(h,l,d)})},Cu=function(u,l,d){if(d===void 0&&(d=qt),d(l))return Y.none();if(Ir(u,Sr(l)))return Y.some(l);var h=function(y){return Ka(y,"table")||d(y)};return Nc(l,u.join(","),h)},dl=function(u,l){return Cu(["td","th"],u,l)},Sf=function(u){return wf(u,"th,td")},ml=function(u){return Ka(u,"colgroup")?fr(u,"col"):$n(bm(u),function(l){return fr(l,"col")})},so=function(u,l){return Eo(u,"table",l)},ds=function(u){return wf(u,"tr")},bm=function(u){return so(u).fold(Fe([]),function(l){return fr(l,"colgroup")})},Ms=function(u,l){return yt(u,function(d){if(Sr(d)==="colgroup"){var h=yt(ml(d),function(y){var k=gc(y,"span",1);return Pr(y,1,k)});return Sa(d,h,"colgroup")}else{var h=yt(Sf(d),function(k){var R=gc(k,"rowspan",1),$=gc(k,"colspan",1);return Pr(k,R,$)});return Sa(d,h,l(d))}})},ym=function(u){return no(u).map(function(l){var d=Sr(l);return Qe(d)?d:"tbody"}).getOr("tbody")},Dp=function(u){var l=ds(u),d=bm(u),h=da(da([],d,!0),l,!0);return Ms(h,ym)},zg=function(u,l){return Ms(u,function(){return l})},xf=function(u,l,d){var h=u.cells,y=h.slice(0,l),k=h.slice(l),R=y.concat(d).concat(k);return Qn(u,R)},Tf=function(u,l,d){return xf(u,l,[d])},Fl=function(u,l,d){var h=u.cells;h[l]=d},Qn=function(u,l){return Cn(u.element,l,u.section,u.isNew)},ec=function(u,l){var d=u.cells,h=yt(d,l);return Cn(u.element,h,u.section,u.isNew)},Zu=function(u,l){return u.cells[l]},Su=function(u,l){return Zu(u,l).element},tc=function(u){return u.cells.length},Uo=function(u){var l=ho(u,function(d){return d.section==="colgroup"});return{rows:l.fail,cols:l.pass}},Ti=function(u,l,d){var h=yt(u.cells,d);return Cn(l(u.element),h,u.section,!0)},Qo="data-snooker-locked-cols",Ll=function(u){return ua(u,Qo).bind(function(l){return Y.from(l.match(/\d+/g))}).map(function(l){return Kn(l,pt)})},iu=function(u){var l=J(Uo(u).rows,function(h,y){return Ht(y.cells,function(k,R){k.isLocked&&(h[R]=!0)}),h},{}),d=Mt(l,function(h,y){return parseInt(y,10)});return hr(d)},an=function(u,l){return u+","+l},kf=function(u,l,d){return Y.from(u.access[an(l,d)])},Fg=function(u,l,d){var h=mr(u,function(y){return d(l,y.element)});return h.length>0?Y.some(h[0]):Y.none()},mr=function(u,l){var d=$n(u.all,function(h){return h.cells});return nr(d,l)},Na=function(u){var l={},d=0;return Ht(u.cells,function(h){var y=h.colspan;pa(y,function(k){var R=d+k;l[R]=oa(h.element,y,R)}),d+=y}),l},wm=function(u){var l={},d=[],h=bn(u).map(function(Ot){return Ot.element}).bind(so),y=h.bind(Ll).getOr({}),k=0,R=0,$=0,j=ho(u,function(Ot){return Ot.section==="colgroup"}),ne=j.pass,he=j.fail;Ht(he,function(Ot){var Et=[];Ht(Ot.cells,function(kn){for(var Jr=0;l[an($,Jr)]!==void 0;)Jr++;for(var Nn=fe(y,Jr.toString()),Zn=na(kn.element,kn.rowspan,kn.colspan,$,Jr,Nn),Hr=0;Hr<kn.colspan;Hr++)for(var yr=0;yr<kn.rowspan;yr++){var Io=$+yr,Ni=Jr+Hr,Hu=an(Io,Ni);l[Hu]=Zn,R=Math.max(R,Ni+1)}Et.push(Zn)}),k++,d.push(Sa(Ot.element,Et,Ot.section)),$++});var Ge=Kr(ne).map(function(Ot){var Et=Na(Ot),kn=So(Ot.element,Qt(Et));return{colgroups:[kn],columns:Et}}).getOrThunk(function(){return{colgroups:[],columns:{}}}),bt=Ge.columns,at=Ge.colgroups,Ke=Wt(k,R);return{grid:Ke,access:l,all:d,columns:bt,colgroups:at}},Ic=function(u){var l=Dp(u);return wm(l)},ao=function(u){return $n(u.all,function(l){return l.cells})},Cm=function(u){return Qt(u.columns)},ms=function(u){return Jo(u.columns).length>0},sd=function(u,l){return Y.from(u.columns[l])},pr={fromTable:Ic,generate:wm,getAt:kf,findItem:Fg,filterItems:mr,justCells:ao,justColumns:Cm,hasColumns:ms,getColumnAt:sd},$u=function(u,l){var d=l.column,h=l.column+l.colspan-1,y=l.row,k=l.row+l.rowspan-1;return d<=u.finishCol&&h>=u.startCol&&y<=u.finishRow&&k>=u.startRow},Jb=function(u,l){return l.column>=u.startCol&&l.column+l.colspan-1<=u.finishCol&&l.row>=u.startRow&&l.row+l.rowspan-1<=u.finishRow},Zb=function(u,l){for(var d=!0,h=ze(Jb,l),y=l.startRow;y<=l.finishRow;y++)for(var k=l.startCol;k<=l.finishCol;k++)d=d&&pr.getAt(u,y,k).exists(h);return d?Y.some(l):Y.none()},co=function(u,l){return wt(Math.min(u.row,l.row),Math.min(u.column,l.column),Math.max(u.row+u.rowspan-1,l.row+l.rowspan-1),Math.max(u.column+u.colspan-1,l.column+l.colspan-1))},Sm=function(u,l,d){var h=pr.findItem(u,l,Cr),y=pr.findItem(u,d,Cr);return h.bind(function(k){return y.map(function(R){return co(k,R)})})},O=function(u,l,d){return Sm(u,l,d).bind(function(h){return Zb(u,h)})},I=function(u,l,d,h){return pr.findItem(u,l,Cr).bind(function(y){var k=d>0?y.row+y.rowspan-1:y.row,R=h>0?y.column+y.colspan-1:y.column,$=pr.getAt(u,k+d,R+h);return $.map(function(j){return j.element})})},U=function(u,l,d){return Sm(u,l,d).map(function(h){var y=pr.filterItems(u,ze($u,h));return yt(y,function(k){return k.element})})},oe=function(u,l){var d=function(h,y){return Va(y,h)};return pr.findItem(u,l,d).map(function(h){return h.element})},Oe=function(u,l,d){return so(u).bind(function(h){var y=Fr(h);return I(y,u,l,d)})},Je=function(u,l,d){var h=Fr(u);return U(h,l,d)},Tn=function(u,l,d,h,y){var k=Fr(u),R=Cr(u,d)?Y.some(l):oe(k,l),$=Cr(u,y)?Y.some(h):oe(k,h);return R.bind(function(j){return $.bind(function(ne){return U(k,j,ne)})})},or=function(u,l,d){var h=Fr(u);return O(h,l,d)},Fr=pr.fromTable,br=function(u,l){var d=no(u);d.each(function(h){h.dom.insertBefore(l.dom,u.dom)})},Ua=function(u,l){var d=T(u);d.fold(function(){var h=no(u);h.each(function(y){Ao(y,l)})},function(h){br(h,l)})},uu=function(u,l){var d=L(u);d.fold(function(){Ao(u,l)},function(h){u.dom.insertBefore(l.dom,h.dom)})},Ao=function(u,l){u.dom.appendChild(l.dom)},kT=function(u,l,d){D(u,d).fold(function(){Ao(u,l)},function(h){br(h,l)})},v2=function(u,l){br(u,l),Ao(l,u)},d2=function(u,l){Ht(l,function(d){br(u,d)})},ET=function(u,l){Ht(l,function(d,h){var y=h===0?u:l[h-1];Ua(y,d)})},gl=function(u,l){Ht(l,function(d){Ao(u,d)})},Lg=function(u){u.dom.textContent="",Ht(w(u),function(l){gs(l)})},gs=function(u){var l=u.dom;l.parentNode!==null&&l.parentNode.removeChild(l)},xm=function(u){var l=w(u);l.length>0&&d2(u,l),gs(u)},Qb=function(u,l){var d=function(k){if(!u(k))throw new Error("Can only get "+l+" value of a "+l+" node");return h(k).getOr("")},h=function(k){return u(k)?Y.from(k.dom.nodeValue):Y.none()},y=function(k,R){if(!u(k))throw new Error("Can only set raw "+l+" value of a "+l+" node");k.dom.nodeValue=R};return{get:d,getOption:h,set:y}},Hg=Qb(wi,"text"),Rp=function(u){return Hg.get(u)},m2=function(u){return Hg.getOption(u)},OT=function(u,l){return Hg.set(u,l)},hl=["body","p","div","article","aside","figcaption","figure","footer","header","nav","section","ol","ul","li","table","thead","tbody","tfoot","caption","tr","td","th","h1","h2","h3","h4","h5","h6","blockquote","pre","address"];function Vg(){var u=function(ne){return st.fromDom(ne.dom.cloneNode(!1))},l=function(ne){return je(ne).dom},d=function(ne){return Vr(ne)?Sr(ne)==="body"?!0:Ir(hl,Sr(ne)):!1},h=function(ne){return Vr(ne)?Ir(["br","img","hr","input"],Sr(ne)):!1},y=function(ne){return Vr(ne)&&Qs(ne,"contenteditable")==="false"},k=function(ne,he){return ne.dom.compareDocumentPosition(he.dom)},R=function(ne,he){var Ge=Pu(ne);Zo(he,Ge)},$=function(ne){var he=Sr(ne);return Ir(["script","noscript","iframe","noframes","noembed","title","style","textarea","xmp"],he)},j=function(ne){return Vr(ne)?ua(ne,"lang"):Y.none()};return{up:Fe({selector:Nc,closest:Eo,predicate:xo,all:vs}),down:Fe({selector:Rs,predicate:ia}),styles:Fe({get:vl,getRaw:Ju,set:Po,remove:ou}),attrs:Fe({get:Qs,set:Si,remove:Xa,copyTo:R}),insert:Fe({before:br,after:Ua,afterAll:ET,append:Ao,appendAll:gl,prepend:uu,wrap:v2}),remove:Fe({unwrap:xm,remove:gs}),create:Fe({nu:st.fromTag,clone:u,text:st.fromText}),query:Fe({comparePosition:k,prevSibling:M,nextSibling:T}),property:Fe({children:w,name:Sr,parent:no,document:l,isText:wi,isComment:vc,isElement:Vr,isSpecial:$,getLanguage:j,getText:Rp,setText:OT,isBoundary:d,isEmptyTag:h,isNonEditable:y}),eq:Cr,is:Gu}}var AT=function(u,l,d,h){var y=d[0],k=d.slice(1);return h(u,l,y,k)},e0=function(u,l,d){return d.length>0?AT(u,l,d,DT):Y.none()},DT=function(u,l,d,h){var y=l(u,d);return va(h,function(k,R){var $=l(u,R);return RT(u,k,$)},y)},RT=function(u,l,d){return l.bind(function(h){return d.filter(ze(u.eq,h))})},Tm=function(u,l){return ze(u.eq,l)},Ug=function(u,l,d,h){h===void 0&&(h=qt);var y=[l].concat(u.up().all(l)),k=[d].concat(u.up().all(d)),R=function(he){var Ge=Nt(he,h);return Ge.fold(function(){return he},function(bt){return he.slice(0,bt+1)})},$=R(y),j=R(k),ne=dt($,function(he){return _(j,Tm(u,he))});return{firstpath:$,secondpath:j,shared:ne}},g2=e0,h2=Ug,Ps=Vg(),Dn=function(u,l){return g2(Ps,function(d,h){return u(h)},l)},Ef=function(u,l,d){return h2(Ps,u,l,d)},Wg=function(u){return Nc(u,"table")},iv=function(u,l,d){var h=function(y){return function(k){return d!==void 0&&d(k)||Cr(k,y)}};return Cr(u,l)?Y.some({boxes:Y.some([u]),start:u,finish:l}):Wg(u).bind(function(y){return Wg(l).bind(function(k){if(Cr(y,k))return Y.some({boxes:Je(y,u,l),start:u,finish:l});if(Va(y,k)){var R=Ci(l,"td,th",h(y)),$=R.length>0?R[R.length-1]:l;return Y.some({boxes:Tn(y,u,y,l,k),start:u,finish:$})}else if(Va(k,y)){var R=Ci(u,"td,th",h(k)),j=R.length>0?R[R.length-1]:u;return Y.some({boxes:Tn(k,u,y,l,k),start:u,finish:j})}else return Ef(u,l).shared.bind(function(ne){return Eo(ne,"table",d).bind(function(he){var Ge=Ci(l,"td,th",h(he)),bt=Ge.length>0?Ge[Ge.length-1]:l,at=Ci(u,"td,th",h(he)),Ke=at.length>0?at[at.length-1]:u;return Y.some({boxes:Tn(he,u,y,l,k),start:Ke,finish:bt})})})})})},km=function(u,l){var d=Rs(u,l);return d.length>0?Y.some(d):Y.none()},t0=function(u,l){return dt(u,function(d){return Ka(d,l)})},zc=function(u,l,d){return _s(u,l).bind(function(h){return _s(u,d).bind(function(y){return Dn(Wg,[h,y]).map(function(k){return{first:h,last:y,table:k}})})})},cd=function(u,l){return Nc(u,"table").bind(function(d){return _s(d,l).bind(function(h){return iv(h,u).bind(function(y){return y.boxes.map(function(k){return{boxes:k,start:y.start,finish:y.finish}})})})})},Em=function(u,l,d,h,y){return t0(u,y).bind(function(k){return Oe(k,l,d).bind(function(R){return cd(R,h)})})},Wo=function(u,l){return km(u,l)},qi=function(u,l,d){return zc(u,l,d).bind(function(h){var y=function(j){return Cr(u,j)},k="thead,tfoot,tbody,table",R=Nc(h.first,k,y),$=Nc(h.last,k,y);return R.bind(function(j){return $.bind(function(ne){return Cr(j,ne)?or(h.table,h.first,h.last):Y.none()})})})},jg=function(u){if(!dn(u))throw new Error("cases must be an array");if(u.length===0)throw new Error("there must be at least one case");var l=[],d={};return Ht(u,function(h,y){var k=Jo(h);if(k.length!==1)throw new Error("one and only one name per case");var R=k[0],$=h[R];if(d[R]!==void 0)throw new Error("duplicate key detected:"+R);if(R==="cata")throw new Error("cannot have a case named cata (sorry)");if(!dn($))throw new Error("case arguments must be an array");l.push(R),d[R]=function(){for(var j=[],ne=0;ne<arguments.length;ne++)j[ne]=arguments[ne];var he=j.length;if(he!==$.length)throw new Error("Wrong number of arguments to case "+R+". Expected "+$.length+" ("+$+"), got "+he);var Ge=function(bt){var at=Jo(bt);if(l.length!==at.length)throw new Error("Wrong number of arguments to match. Expected: "+l.join(",")+`
|
|
237
237
|
Actual: `+at.join(","));var Ke=cn(l,function(Ot){return Ir(at,Ot)});if(!Ke)throw new Error("Not all branches were specified when using match. Specified: "+at.join(", ")+`
|
|
238
238
|
Required: `+l.join(", "));return bt[R].apply(null,j)};return{fold:function(){for(var bt=[],at=0;at<arguments.length;at++)bt[at]=arguments[at];if(bt.length!==u.length)throw new Error("Wrong number of arguments to fold. Expected "+u.length+", got "+bt.length);var Ke=bt[y];return Ke.apply(null,j)},match:Ge,log:function(bt){console.log(bt,{constructors:l,constructor:R,params:j})}}}}),d},Hl={generate:jg},qg=Hl.generate([{none:[]},{multiple:["elements"]},{single:["element"]}]),_p=function(u,l,d,h){return u.fold(l,d,h)},Bp=qg.none,_T=qg.multiple,Om=qg.single,xu=function(u,l,d){var h=function(){return Wo(u(),d).fold(function(){return l().fold(Bp,Om)},function(y){return _T(y)})};return{get:h}},p2=tinymce.util.Tools.resolve("tinymce.PluginManager"),To=function(u,l){return st.fromDom(u.dom.cloneNode(l))},Fc=function(u){return To(u,!1)},ba=function(u){return To(u,!0)},uv=function(u,l){var d=st.fromTag(l),h=Pu(u);return Zo(d,h),d},hc=function(u,l){var d=uv(u,l),h=w(ba(u));return gl(d,h),d},BT=function(u,l){var d=uv(u,l);br(u,d);var h=w(u);return gl(d,h),gs(u),d},ki=function(u,l){var d=function($,j){if(!pn(j)&&!j.match(/^[0-9]+$/))throw new Error(u+".set accepts only positive integer values. Value was "+j);var ne=$.dom;mc(ne)&&(ne.style[u]=j+"px")},h=function($){var j=l($);if(j<=0||j===null){var ne=vl($,u);return parseFloat(ne)||0}return j},y=h,k=function($,j){return J(j,function(ne,he){var Ge=vl($,he),bt=Ge===void 0?0:parseInt(Ge,10);return isNaN(bt)?ne:ne+bt},0)},R=function($,j,ne){var he=k($,ne),Ge=j>he?j-he:0;return Ge};return{set:d,get:h,getOuter:y,aggregate:k,max:R}},Qu=function(){var u=Fn().browser;return u.isIE()||u.isEdge()},b2=function(u,l){return ko(u).getOr(l)},rt=function(u,l,d){return b2(vl(u,l),d)},hs=function(u){return vl(u,"box-sizing")},Of=function(u,l,d,h){var y=rt(u,"padding-"+d,0),k=rt(u,"padding-"+h,0),R=rt(u,"border-"+d+"-width",0),$=rt(u,"border-"+h+"-width",0);return l-y-k-R-$},er=function(u,l){var d=u.dom,h=d.getBoundingClientRect().height||d.offsetHeight;return l==="border-box"?h:Of(u,h,"top","bottom")},nc=function(u,l){var d=u.dom,h=d.getBoundingClientRect().width||d.offsetWidth;return l==="border-box"?h:Of(u,h,"left","right")},MT=function(u){return Qu()?er(u,hs(u)):rt(u,"height",u.dom.offsetHeight)},Nu=function(u){return Qu()?nc(u,hs(u)):rt(u,"width",u.dom.offsetWidth)},Am=function(u){return nc(u,"content-box")},Vl=ki("width",function(u){return u.dom.offsetWidth}),Lc=function(u){return Vl.get(u)},Tu=function(u){return Vl.getOuter(u)},sa=Am,pl=Nu,ld=function(u,l){l===void 0&&(l=pt);var d=u.grid,h=pa(d.columns,sn),y=pa(d.rows,sn);return yt(h,function(k){var R=function(){return $n(y,function(ne){return pr.getAt(u,ne,k).filter(function(he){return he.column===k}).toArray()})},$=function(ne){return ne.colspan===1&&l(ne.element)},j=function(){return pr.getAt(u,0,k)};return ja(R,$,j)})},ja=function(u,l,d){var h=u(),y=dt(h,l),k=y.orThunk(function(){return Y.from(h[0]).orThunk(d)});return k.map(function(R){return R.element})},sv=function(u){var l=u.grid,d=pa(l.rows,sn),h=pa(l.columns,sn);return yt(d,function(y){var k=function(){return $n(h,function(j){return pr.getAt(u,y,j).filter(function(ne){return ne.row===y}).fold(Fe([]),function(ne){return[ne]})})},R=function(j){return j.rowspan===1},$=function(){return pr.getAt(u,y,0)};return ja(k,R,$)})},$s=function(u,l){if(l<0||l>=u.length-1)return Y.none();var d=u[l].fold(function(){var y=Gn(u.slice(0,l));return Qr(y,function(k,R){return k.map(function($){return{value:$,delta:R+1}})})},function(y){return Y.some({value:y,delta:0})}),h=u[l+1].fold(function(){var y=u.slice(l+1);return Qr(y,function(k,R){return k.map(function($){return{value:$,delta:R+1}})})},function(y){return Y.some({value:y,delta:1})});return d.bind(function(y){return h.map(function(k){var R=k.delta+y.delta;return Math.abs(k.value-y.value)/R})})},Ns=function(u,l){return function(d){return PT(d)==="rtl"?l:u}},PT=function(u){return vl(u,"direction")==="rtl"?"rtl":"ltr"},Se=ki("height",function(u){var l=u.dom;return tr(u)?l.getBoundingClientRect().height:l.offsetHeight}),es=function(u){return Se.get(u)},bl=function(u){return Se.getOuter(u)},Dm=MT,rc=function(u,l){var d=function(h,y){return rc(u+h,l+y)};return{left:u,top:l,translate:d}},Ia=rc,qa=function(u){var l=u.getBoundingClientRect();return Ia(l.left,l.top)},ps=function(u,l){return u!==void 0?u:l!==void 0?l:0},Af=function(u){var l=u.dom.ownerDocument,d=l.body,h=l.defaultView,y=l.documentElement;if(d===u.dom)return Ia(d.offsetLeft,d.offsetTop);var k=ps(h==null?void 0:h.pageYOffset,y.scrollTop),R=ps(h==null?void 0:h.pageXOffset,y.scrollLeft),$=ps(y.clientTop,d.clientTop),j=ps(y.clientLeft,d.clientLeft);return n0(u).translate(R-j,k-$)},n0=function(u){var l=u.dom,d=l.ownerDocument,h=d.body;return h===l?Ia(h.offsetLeft,h.offsetTop):tr(u)?qa(l):Ia(0,0)},In=function(u,l){return{row:u,y:l}},Mp=function(u,l){return{col:u,x:l}},ac=function(u){var l=Af(u);return l.left+Tu(u)},y2=function(u){return Af(u).left},Gg=function(u,l){return Mp(u,y2(l))},Kg=function(u,l){return Mp(u,ac(l))},r0=function(u){return Af(u).top},a0=function(u,l){return In(u,r0(l))},Ul=function(u,l){return In(u,r0(l)+bl(l))},Df=function(u,l,d){if(d.length===0)return[];var h=yt(d.slice(1),function(k,R){return k.map(function($){return u(R,$)})}),y=d[d.length-1].map(function(k){return l(d.length-1,k)});return h.concat([y])},$T=function(u){return-u},o0={delta:sn,positions:function(u){return Df(a0,Ul,u)},edge:r0},NT={delta:sn,edge:y2,positions:function(u){return Df(Gg,Kg,u)}},w2={delta:$T,edge:ac,positions:function(u){return Df(Kg,Gg,u)}},Xg=Ns(NT,w2),Rm={delta:function(u,l){return Xg(l).delta(u,l)},positions:function(u,l){return Xg(l).positions(u,l)},edge:function(u){return Xg(u).edge(u)}},C2={unsupportedLength:["em","ex","cap","ch","ic","rem","lh","rlh","vw","vh","vi","vb","vmin","vmax","cm","mm","Q","in","pc","pt","px"],fixed:["px","pt"],relative:["%"],empty:[""]},Wl=function(){var u="[0-9]+",l="[+-]?"+u,d="[eE]"+l,h="\\.",y=function($){return"(?:"+$+")?"},k=["Infinity",u+h+y(u)+y(d),h+u+y(d),u+y(d)].join("|"),R="[+-]?(?:"+k+")";return new RegExp("^("+R+")(.*)$")}(),_m=function(u,l){return _(l,function(d){return _(C2[d],function(h){return u===h})})},i0=function(u,l){var d=Y.from(Wl.exec(u));return d.bind(function(h){var y=Number(h[1]),k=h[2];return _m(k,l)?Y.some({value:y,unit:k}):Y.none()})},S2=/(\d+(\.\d+)?)%/,IT=/(\d+(\.\d+)?)px|em/,zT=to("col"),vi=function(u,l,d){var h=ll(u).getOrThunk(function(){return Pa(Ds(u))});return l(u)/d(h)*100},jl=function(u,l){Po(u,"width",l+"px")},Hc=function(u,l){Po(u,"width",l+"%")},cv=function(u,l){Po(u,"height",l+"px")},x2=function(u){return Dm(u)+"px"},Vc=function(u,l,d,h){var y=so(u).map(function(k){var R=d(k);return Math.floor(l/100*R)}).getOr(l);return h(u,y),y},fd=function(u,l,d,h){var y=parseFloat(u);return _r(u,"%")&&Sr(l)!=="table"?Vc(l,y,d,h):y},u0=function(u){var l=x2(u);return l?fd(l,u,es,cv):es(u)},s0=function(u,l,d){var h=d(u),y=xi(u,l);return h/y},Rf=function(u,l){return Ju(u,l).orThunk(function(){return ua(u,l).map(function(d){return d+"px"})})},pc=function(u){return Rf(u,"width")},su=function(u){return Rf(u,"height")},Pp=function(u){return vi(u,Lc,sa)},c0=function(u){return zT(u)?Lc(u):pl(u)},vd=function(u){return s0(u,"rowspan",u0)},Bm=function(u){var l=pc(u);return l.bind(function(d){return i0(d,["fixed","relative","empty"])})},Mm=function(u,l,d){Po(u,"width",l+d)},FT=function(u){return Lc(u)+"px"},Pm=function(u){return vi(u,Lc,sa)+"%"},l0=function(u){return pc(u).exists(function(l){return S2.test(l)})},LT=function(u){return pc(u).exists(function(l){return IT.test(l)})},Do=function(u){return pc(u).isNone()},$p=Fe(S2),lv=to("col"),f0=function(u){return pc(u).getOrThunk(function(){return c0(u)+"px"})},v0=function(u){return su(u).getOrThunk(function(){return vd(u)+"px"})},bc=function(u){return yt(pr.justColumns(u),function(l){return Y.from(l.element)})},oc=function(u){var l=Fn().browser,d=l.isChrome()||l.isFirefox();return lv(u)?d:!0},dd=function(u,l,d,h,y,k){return u.filter(h).fold(function(){return k($s(d,l))},function(R){return y(R)})},fv=function(u,l,d,h){var y=ld(u),k=pr.hasColumns(u)?bc(u):y,R=[Y.some(Rm.edge(l))].concat(yt(Rm.positions(y,l),function(j){return j.map(function(ne){return ne.x})})),$=Ee(ud);return yt(k,function(j,ne){return dd(j,ne,R,$,function(he){if(oc(he))return d(he);var Ge=Op(y[ne],sn);return dd(Ge,ne,R,$,function(bt){return h(Y.some(Lc(bt)))},h)},h)})},Np=function(u){return u.map(function(l){return l+"px"}).getOr("")},Yg=function(u,l){return fv(u,l,f0,Np)},d0=function(u,l,d){return fv(u,l,Pp,function(h){return h.fold(function(){return d.minCellWidth()},function(y){return y/d.pixelWidth()*100})})},md=function(u,l,d){return fv(u,l,c0,function(h){return h.getOrThunk(d.minCellWidth)})},Ip=function(u,l,d,h,y){var k=sv(u),R=[Y.some(d.edge(l))].concat(yt(d.positions(k,l),function($){return $.map(function(j){return j.y})}));return yt(k,function($,j){return dd($,j,R,Ee(Ap),h,y)})},HT=function(u,l,d){return Ip(u,l,d,vd,function(h){return h.getOrThunk($o)})},m0=function(u,l,d){return Ip(u,l,d,v0,Np)},ic=function(u,l){return function(){return tr(u)?l(u):parseFloat(Ju(u,"width").getOr("0"))}},Is=function(u){var l=ic(u,Lc),d=Fe(0),h=function(y,k){return md(y,u,k)};return{width:l,pixelWidth:l,getWidths:h,getCellDelta:d,singleColumnWidth:Fe([0]),minCellWidth:d,setElementWidth:We,adjustTableWidth:We,isRelative:!0,label:"none"}},$m=function(u){var l=ic(u,function(j){return parseFloat(Pm(j))}),d=ic(u,Lc),h=function(j){return j/d()*100},y=function(j,ne){return[100-j]},k=function(){return yf()/d()*100},R=function(j){var ne=l(),he=j/100*ne,Ge=ne+he;Hc(u,Ge)},$=function(j,ne){return d0(j,u,ne)};return{width:l,pixelWidth:d,getWidths:$,getCellDelta:h,singleColumnWidth:y,minCellWidth:k,setElementWidth:Hc,adjustTableWidth:R,isRelative:!0,label:"percent"}},Uc=function(u){var l=ic(u,Lc),d=sn,h=function(R,$){var j=Math.max(yf(),R+$);return[j-R]},y=function(R){var $=l()+R;jl(u,$)},k=function(R,$){return md(R,u,$)};return{width:l,pixelWidth:l,getWidths:k,getCellDelta:d,singleColumnWidth:h,minCellWidth:yf,setElementWidth:jl,adjustTableWidth:y,isRelative:!1,label:"pixel"}},Iu=function(u,l){var d=$p().exec(l);return d!==null?$m(u):Uc(u)},zp=function(u){var l=pc(u);return l.fold(function(){return Is(u)},function(d){return Iu(u,d)})},_f={getTableSize:zp,pixelSize:Uc,percentageSize:$m,noneSize:Is},T2=function(u,l,d,h,y,k){return{minRow:u,minCol:l,maxRow:d,maxCol:h,allCells:y,selectedCells:k}},cu=function(u,l){var d=u.grid.columns,h=u.grid.rows,y=h,k=d,R=0,$=0,j=[],ne=[];return la(u.access,function(he){if(j.push(he),l(he)){ne.push(he);var Ge=he.row,bt=Ge+he.rowspan-1,at=he.column,Ke=at+he.colspan-1;Ge<y?y=Ge:bt>R&&(R=bt),at<k?k=at:Ke>$&&($=Ke)}}),T2(y,k,R,$,j,ne)},k2=function(u,l,d){var h=u[d].element,y=st.fromTag("td");Ao(y,st.fromTag("br"));var k=l?Ao:uu;k(h,y)},Jg=function(u,l,d,h){for(var y=l.grid.columns,k=l.grid.rows,R=0;R<k;R++)for(var $=!1,j=0;j<y;j++)if(!(R<d.minRow||R>d.maxRow||j<d.minCol||j>d.maxCol)){var ne=pr.getAt(l,R,j).filter(h).isNone();ne?k2(u,$,R):$=!0}},$r=function(u,l,d,h){la(d.columns,function(R){(R.column<l.minCol||R.column>l.maxCol)&&gs(R.element)});var y=nr(wf(u,"tr"),function(R){return R.dom.childElementCount===0});Ht(y,gs),(l.minCol===l.maxCol||l.minRow===l.maxRow)&&Ht(wf(u,"th,td"),function(R){Xa(R,"rowspan"),Xa(R,"colspan")}),Xa(u,Qo),Xa(u,"data-snooker-col-series");var k=_f.getTableSize(u);k.adjustTableWidth(h)},Hn=function(u,l,d,h){if(h.minCol===0&&l.grid.columns===h.maxCol+1)return 0;var y=md(l,u,d),k=J(y,function(ne,he){return ne+he},0),R=J(y.slice(h.minCol,h.maxCol+1),function(ne,he){return ne+he},0),$=R/k*d.pixelWidth(),j=$-d.pixelWidth();return d.getCellDelta(j)},Bf=function(u,l){var d=function(bt){return Ka(bt.element,l)},h=ba(u),y=Dp(h),k=_f.getTableSize(u),R=pr.generate(y),$=cu(R,d),j="th:not("+l+"),td:not("+l+")",ne=Cf(h,"th,td",function(bt){return Ka(bt,j)});Ht(ne,gs),Jg(y,R,$,d);var he=pr.fromTable(u),Ge=Hn(u,he,k,$);return $r(h,$,R,Ge),h},g0="\xA0",Wc=function(u){return Sr(u)==="img"?1:m2(u).fold(function(){return w(u).length},function(l){return l.length})},E2=function(u){return m2(u).filter(function(l){return l.trim().length!==0||l.indexOf(g0)>-1}).isSome()},Ga=["img","br"],h0=function(u){var l=E2(u);return l||Ir(Ga,Sr(u))},Zg=function(u){return Ig(u,h0)},Fp=function(u){return it(u,h0)},it=function(u,l){var d=function(h){for(var y=w(h),k=y.length-1;k>=0;k--){var R=y[k];if(l(R))return Y.some(R);var $=d(R);if($.isSome())return $}return Y.none()};return d(u)},Qg={scope:["row","col"]},Nm=function(u){return function(){var l=st.fromTag("td",u.dom);return Ao(l,st.fromTag("br",u.dom)),l}},Im=function(u){return function(){return st.fromTag("col",u.dom)}},gd=function(u){return function(){return st.fromTag("colgroup",u.dom)}},hd=function(u){return function(){return st.fromTag("tr",u.dom)}},vv=function(u,l,d){var h=hc(u,l);return la(d,function(y,k){y===null?Xa(h,k):Si(h,k,y)}),h},jo=function(u){return u},Za=function(u,l,d){var h=Zg(u);return h.map(function(y){var k=d.join(","),R=Ci(y,k,function($){return Cr($,u)});return va(R,function($,j){var ne=Fc(j);return Xa(ne,"contenteditable"),Ao($,ne),ne},l)}).getOr(l)},Mf=function(u,l){la(Qg,function(d,h){return ua(u,h).filter(function(y){return Ir(d,y)}).each(function(y){return Si(l,h,y)})})},lo=function(u,l,d){var h=function(R,$){ov(R.element,$),ou($,"height"),R.colspan!==1&&ou($,"width")},y=function(R){var $=st.fromTag(Sr(R.element),l.dom),j=d.getOr(["strong","em","b","i","span","font","h1","h2","h3","h4","h5","h6","p","div"]),ne=j.length>0?Za(R.element,$,j):$;return Ao(ne,st.fromTag("br")),h(R,$),Mf(R.element,$),u(R.element,$),$},k=function(R){var $=st.fromTag(Sr(R.element),l.dom);return h(R,$),u(R.element,$),$};return{col:k,colgroup:gd(l),row:hd(l),cell:y,replace:vv,colGap:Im(l),gap:Nm(l)}},zs=function(u){return{col:Im(u),colgroup:gd(u),row:hd(u),cell:Nm(u),replace:jo,colGap:Im(u),gap:Nm(u)}},p0=function(u,l){var d=l||document,h=d.createElement("div");return h.innerHTML=u,w(st.fromDom(h))},jc=function(u){return yt(u,st.fromDom)},Lp=function(u){return u.nodeName.toLowerCase()},bs=function(u){return st.fromDom(u.getBody())},yl=function(u){return u.getBoundingClientRect().width},Pf=function(u){return u.getBoundingClientRect().height},Gi=function(u){return function(l){return Cr(l,bs(u))}},Hp=function(u){return u?u.replace(/px$/,""):""},ku=function(u){return/^\d+(\.\d+)?$/.test(u)?u+"px":u},Ki=function(u){Xa(u,"data-mce-style");var l=function(d){return Xa(d,"data-mce-style")};Ht(Sf(u),l),Ht(ml(u),l),Ht(ds(u),l)},zm=function(u,l){var d=u.dom.getStyle(l,"width")||u.dom.getAttrib(l,"width");return Y.from(d).filter(Tr)},VT=function(u){return/^(\d+(\.\d+)?)%$/.test(u)},eh=function(u){return/^(\d+(\.\d+)?)px$/.test(u)},di=function(u){return st.fromDom(u.selection.getStart())},on=function(u){return st.fromDom(u.selection.getEnd())},yc=function(u){return _p(u.get(),Fe([]),sn,xt)},UT=function(u){var l=function(y,k){return ua(y,k).exists(function(R){return parseInt(R,10)>1})},d=function(y){return l(y,"rowspan")||l(y,"colspan")},h=yc(u);return h.length>0&&cn(h,d)?Y.some(h):Y.none()},O2=function(u,l,d){return _p(l.get(),Y.none,function(h){return h.length<=1?Y.none():qi(u,d.firstSelectedSelector,d.lastSelectedSelector).map(function(y){return{bounds:y,cells:h}})},Y.none)},Fm="data-mce-selected",A2="td["+Fm+"],th["+Fm+"]",th="["+Fm+"]",ql="data-mce-first-selected",pd="td["+ql+"],th["+ql+"]",b0="data-mce-last-selected",wl="td["+b0+"],th["+b0+"]",WT=th,bd={selected:Fm,selectedSelector:A2,firstSelected:ql,firstSelectedSelector:pd,lastSelected:b0,lastSelectedSelector:wl},Gl=function(u){return{element:u,mergable:Y.none(),unmergable:Y.none(),selection:[u]}},dv=function(u,l,d){return{element:d,mergable:O2(l,u,bd),unmergable:UT(u),selection:yc(u)}},yd=function(u,l,d){return{element:u,clipboard:l,generators:d}},D2=function(u,l,d,h){return{selection:yc(u),clipboard:d,generators:h}},ei=function(u){return so(u).bind(function(l){return Wo(l,bd.firstSelectedSelector)}).fold(Fe(u),function(l){return l[0]})},mv=function(u){return function(l,d){var h=Sr(l),y=h==="col"||h==="colgroup"?ei(l):l;return Eo(y,u,d)}},wd=mv("th,td,caption"),Fs=mv("th,td"),Xi=function(u){return yc(u)},jT=function(u,l){var d=Fs(u),h=d.bind(function(y){return so(y)}).map(function(y){return ds(y)});return Bs(d,h,function(y,k){return nr(k,function(R){return _(jc(R.dom.cells),function($){return Qs($,l)==="1"||Cr($,y)})})}).getOr([])},qT=function(u){return so(u[0]).map(function(l){var d=Bf(l,WT);return Ki(d),[d]})},GT=function(u,l){return yt(l,function(d){return u.selection.serializer.serialize(d.dom,{})}).join("")},R2=function(u){return yt(u,function(l){return l.dom.innerText}).join("")},qc=function(u,l,d){u.on("BeforeGetContent",function(h){var y=function(k){h.preventDefault(),qT(k).each(function(R){h.content=h.format==="text"?R2(R):GT(u,R)})};h.selection===!0&&_p(l.get(),We,y,We)}),u.on("BeforeSetContent",function(h){if(h.selection===!0&&h.paste===!0){var y=Xi(l);bn(y).each(function(k){so(k).each(function(R){var $=nr(p0(h.content),function(bt){return Sr(bt)!=="meta"}),j=to("table");if($.length===1&&j($[0])){h.preventDefault();var ne=st.fromDom(u.getDoc()),he=zs(ne),Ge=yd(k,$[0],he);d.pasteCells(R,Ge).each(function(){u.focus()})}})})}})},Vp=Hl.generate([{none:[]},{only:["index"]},{left:["index","next"]},{middle:["prev","index","next"]},{right:["prev","index"]}]),Lm=An({},Vp),KT=function(u,l){return u.length===0?Lm.none():u.length===1?Lm.only(0):l===0?Lm.left(0,1):l===u.length-1?Lm.right(l-1,l):l>0&&l<u.length-1?Lm.middle(l-1,l,l+1):Lm.none()},y0=function(u,l,d,h,y){var k=u.slice(0),R=KT(u,l),$=Fe(yt(k,Fe(0))),j=function(bt){return h.singleColumnWidth(k[bt],d)},ne=function(bt,at){return y.calcLeftEdgeDeltas(k,bt,at,d,h.minCellWidth(),h.isRelative)},he=function(bt,at,Ke){return y.calcMiddleDeltas(k,bt,at,Ke,d,h.minCellWidth(),h.isRelative)},Ge=function(bt,at){return y.calcRightEdgeDeltas(k,bt,at,d,h.minCellWidth(),h.isRelative)};return R.fold($,j,ne,he,Ge)},_2=function(u,l,d){for(var h=0,y=u;y<l;y++)h+=d[y]!==void 0?d[y]:0;return h},w0=function(u,l){var d=pr.justCells(u);return yt(d,function(h){var y=_2(h.column,h.column+h.colspan,l);return{element:h.element,width:y,colspan:h.colspan}})},C0=function(u,l){var d=pr.justColumns(u);return yt(d,function(h,y){return{element:h.element,width:l[y],colspan:h.colspan}})},gv=function(u,l){var d=pr.justCells(u);return yt(d,function(h){var y=_2(h.row,h.row+h.rowspan,l);return{element:h.element,height:y,rowspan:h.rowspan}})},hv=function(u,l){return yt(u.all,function(d,h){return{element:d.element,height:l[h]}})},Wa=function(u){return va(u,function(l,d){return l+d},0)},S0=function(u,l){return pr.hasColumns(u)?C0(u,l):w0(u,l)},wc=function(u,l,d){var h=S0(u,l);Ht(h,function(y){d.setElementWidth(y.element,y.width)})},x0=function(u,l,d,h,y){var k=pr.fromTable(u),R=y.getCellDelta(l),$=y.getWidths(k,y),j=d===k.grid.columns-1,ne=h.clampTableDelta($,d,R,y.minCellWidth(),j),he=y0($,d,ne,y,h),Ge=yt(he,function(bt,at){return bt+$[at]});wc(k,Ge,y),h.resizeTable(y.adjustTableWidth,ne,j)},XT=function(u,l,d,h){var y=pr.fromTable(u),k=HT(y,u,h),R=yt(k,function(he,Ge){return d===Ge?Math.max(l+he,$o()):he}),$=gv(y,R),j=hv(y,R);Ht(j,function(he){cv(he.element,he.height)}),Ht($,function(he){cv(he.element,he.height)});var ne=Wa(R);cv(u,ne)},YT=function(u,l,d,h,y){var k=pr.generate(l),R=h.getWidths(k,h),$=h.pixelWidth(),j=y.calcRedestributedWidths(R,$,d.pixelDelta,h.isRelative),ne=j.newSizes,he=j.delta;wc(k,ne,h),h.adjustTableWidth(he)},ts=function(u,l,d,h){var y=pr.generate(l),k=h.getWidths(y,h);wc(y,k,h)},Gc=function(u){return yt(u,Fe(0))},T0=function(u,l,d,h,y){return y(u.slice(0,l)).concat(h).concat(y(u.slice(d)))},nh=function(u){return function(l,d,h,y){if(u(h)){var k=Math.max(y,l[d]-Math.abs(h)),R=Math.abs(k-l[d]);return h>=0?R:-R}else return h}},Hm=nh(function(u){return u<0}),k0=nh(pt),B2=function(){var u=function($,j,ne,he,Ge){var bt=Hm($,j,he,Ge);return T0($,j,ne+1,[bt,0],Gc)},l=function($,j,ne,he){var Ge=(100+ne)/100,bt=Math.max(he,($[j]+ne)/Ge);return yt($,function(at,Ke){var Ot=Ke===j?bt:at/Ge;return Ot-at})},d=function($,j,ne,he,Ge,bt){return bt?l($,j,he,Ge):u($,j,ne,he,Ge)},h=function($,j,ne,he,Ge,bt,at){return d($,ne,he,Ge,bt,at)},y=function($,j){return $(j)},k=function($,j,ne,he,Ge,bt){if(bt)return l($,ne,he,Ge);var at=Hm($,ne,he,Ge);return Gc($.slice(0,ne)).concat([at])},R=function($,j,ne,he){if(he){var Ge=j+ne,bt=Ge/j,at=yt($,function(Ke){return Ke/bt});return{delta:bt*100-100,newSizes:at}}else return{delta:ne,newSizes:$}};return{resizeTable:y,clampTableDelta:Hm,calcLeftEdgeDeltas:d,calcMiddleDeltas:h,calcRightEdgeDeltas:k,calcRedestributedWidths:R}},pv=function(){var u=function(R,$,j,ne,he){var Ge=ne>=0?j:$,bt=k0(R,Ge,ne,he);return T0(R,$,j+1,[bt,-bt],Gc)},l=function(R,$,j,ne,he,Ge){return u(R,j,ne,he,Ge)},d=function(R,$,j){j&&R($)},h=function(R,$,j,ne,he,Ge){if(Ge)return Gc(R);var bt=ne/R.length;return yt(R,Fe(bt))},y=function(R,$,j,ne,he){if(he){if(j>=0)return j;var Ge=J(R,function(bt,at){return bt+at-ne},0);return Math.max(-Ge,j)}else return Hm(R,$,j,ne)},k=function(R,$,j,ne){return{delta:0,newSizes:R}};return{resizeTable:d,clampTableDelta:y,calcLeftEdgeDeltas:u,calcMiddleDeltas:l,calcRightEdgeDeltas:h,calcRedestributedWidths:k}},E0=function(u,l){var d=Y.from(u.dom.documentElement).map(st.fromDom).getOr(u);return{parent:Fe(d),view:Fe(u),origin:Fe(Ia(0,0)),isResizable:l}},O0=function(u,l,d){var h=function(){return Af(l)};return{parent:Fe(l),view:Fe(u),origin:h,isResizable:d}},Up=function(u,l,d){return{parent:Fe(l),view:Fe(u),origin:Fe(Ia(0,0)),isResizable:d}},Wp={only:E0,detached:O0,body:Up},Cd=Hl.generate([{invalid:["raw"]},{pixels:["value"]},{percent:["value"]}]),M2=function(u,l,d){var h=d.substring(0,d.length-u.length),y=parseFloat(h);return h===y.toString()?l(y):Cd.invalid(d)},Yi=function(u){return _r(u,"%")?M2("%",Cd.percent,u):_r(u,"px")?M2("px",Cd.pixels,u):Cd.invalid(u)},Cl=An(An({},Cd),{from:Yi}),mi=function(u,l){return yt(u,function(d){var h=Cl.from(d);return h.fold(function(){return d},function(y){var k=y/l*100;return k+"%"},function(y){return y+"%"})})},ns=function(u,l,d){var h=d/l;return yt(u,function(y){var k=Cl.from(y);return k.fold(function(){return y},function(R){return R*h+"px"},function(R){return R/100*d+"px"})})},$f=function(u,l){var d=u.fold(function(){return Fe("")},function(h){var y=h/l;return Fe(y+"px")},function(){var h=100/l;return Fe(h+"%")});return pa(l,d)},Kl=function(u,l,d){return u.fold(function(){return l},function(h){return ns(l,d,h)},function(h){return mi(l,d)})},A0=function(u,l,d){var h=Cl.from(d),y=cn(u,function(k){return k==="0px"})?$f(h,u.length):Kl(h,u,l);return JT(y)},Ls=function(u,l){return u.length===0?l:va(u,function(d,h){return Cl.from(h).fold(Fe(0),sn,sn)+d},0)},Vm=function(u,l){var d=Math.floor(u);return{value:d+l,remainder:u-d}},P2=function(u,l){return Cl.from(u).fold(Fe(u),function(d){return d+l+"px"},function(d){return d+l+"%"})},JT=function(u){if(u.length===0)return u;var l=va(u,function(h,y){var k=Cl.from(y).fold(function(){return{value:y,remainder:0}},function(R){return Vm(R,"px")},function(R){return{value:R+"%",remainder:0}});return{output:[k.value].concat(h.output),remainder:h.remainder+k.remainder}},{output:[],remainder:0}),d=l.output;return d.slice(0,d.length-1).concat([P2(d[d.length-1],Math.round(l.remainder))])},ZT=Cl.from,QT=function(u,l,d){Ht(l,function(h){var y=u.slice(h.column,h.colspan+h.column),k=Ls(y,yf());Po(h.element,"width",k+d)})},ek=function(u,l,d){Ht(l,function(h,y){var k=Ls([u[y]],yf());Po(h.element,"width",k+d)})},D0=function(u,l,d,h){Ht(d,function(y){var k=u.slice(y.row,y.rowspan+y.row),R=Ls(k,$o());Po(y.element,"height",R+h)}),Ht(l,function(y,k){Po(y.element,"height",u[k])})},jp=function(u){return ZT(u).fold(Fe("px"),Fe("px"),Fe("%"))},uc=function(u,l,d){var h=pr.fromTable(u),y=h.all,k=pr.justCells(h),R=pr.justColumns(h);l.each(function($){var j=jp($),ne=Lc(u),he=Yg(h,u),Ge=A0(he,ne,$);pr.hasColumns(h)?ek(Ge,R,j):QT(Ge,k,j),Po(u,"width",$)}),d.each(function($){var j=jp($),ne=es(u),he=m0(h,u,o0),Ge=A0(he,ne,$);D0(Ge,y,k,j),Po(u,"height",$)})},$2=l0,bv=LT,rh=Do,Sl=function(u){var l=pr.fromTable(u);return l.grid},Cc=function(u){var l=[],d=function(k){if(k===void 0)throw new Error("Event bind error: undefined handler");l.push(k)},h=function(k){l=nr(l,function(R){return R!==k})},y=function(){for(var k=[],R=0;R<arguments.length;R++)k[R]=arguments[R];var $={};Ht(u,function(j,ne){$[j]=k[ne]}),Ht(l,function(j){j($)})};return{bind:d,unbind:h,trigger:y}},ti=function(u){var l=Ku(u,function(h){return{bind:h.bind,unbind:h.unbind}}),d=Ku(u,function(h){return h.trigger});return{registry:l,trigger:d}},sc=function(u,l){var d=null,h=function(){Pn(d)||(clearTimeout(d),d=null)},y=function(){for(var k=[],R=0;R<arguments.length;R++)k[R]=arguments[R];h(),d=setTimeout(function(){d=null,u.apply(null,k)},l)};return{cancel:h,throttle:y}},yv=function(u){return u.slice(0).sort()},R0=function(u,l){throw new Error("All required keys ("+yv(u).join(", ")+") were not specified. Specified keys were: "+yv(l).join(", ")+".")},vr=function(u){throw new Error("Unsupported keys for object: "+yv(u).join(", "))},ah=function(u,l){if(!dn(l))throw new Error("The "+u+" fields must be an array. Was: "+l+".");Ht(l,function(d){if(!vt(d))throw new Error("The value "+d+" in the "+u+" fields was not a string.")})},tk=function(u,l){throw new Error("All values need to be of type: "+l+". Keys ("+yv(u).join(", ")+") were not.")},qp=function(u){var l=yv(u),d=dt(l,function(h,y){return y<l.length-1&&h===l[y+1]});d.each(function(h){throw new Error("The field: "+h+" occurs more than once in the combined fields: ["+l.join(", ")+"].")})},Gp=function(u,l){return nk(u,l,{validate:zt,label:"function"})},nk=function(u,l,d){if(l.length===0)throw new Error("You must specify at least one required field.");return ah("required",l),qp(l),function(h){var y=Jo(h),k=cn(l,function($){return Ir(y,$)});k||R0(l,y),u(l,y);var R=nr(l,function($){return!d.validate(h[$],$)});return R.length>0&&tk(R,d.label),h}},gi=function(u,l){var d=nr(l,function(h){return!Ir(u,h)});d.length>0&&vr(d)},zu=function(u){return Gp(gi,u)},Qa=zu(["compare","extract","mutate","sink"]),N2=zu(["element","start","stop","destroy"]),_0=zu(["forceDrop","drop","move","delayDrop"]),Sd=function(){var u=Y.none(),l=function(){u=Y.none()},d=function(k,R){var $=u.map(function(j){return k.compare(j,R)});return u=Y.some(R),$},h=function(k,R){var $=R.extract(k);$.each(function(j){var ne=d(R,j);ne.each(function(he){y.trigger.move(he)})})},y=ti({move:Cc(["info"])});return{onEvent:h,reset:l,events:y.registry}},I2=function(){var u=ti({move:Cc(["info"])});return{onEvent:We,reset:We,events:u.registry}},xd=function(){var u=I2(),l=Sd(),d=u,h=function(){d.reset(),d=l},y=function(){d.reset(),d=u},k=function($,j){d.onEvent($,j)},R=function(){return d===l};return{on:h,off:y,isOn:R,onEvent:k,events:l.events}},Um=function(u,l,d){var h=!1,y=ti({start:Cc([]),stop:Cc([])}),k=xd(),R=function(){at.stop(),k.isOn()&&(k.off(),y.trigger.stop())},$=sc(R,200),j=function(Ot){at.start(Ot),k.on(),y.trigger.start()},ne=function(Ot){$.cancel(),k.onEvent(Ot,l)};k.events.move.bind(function(Ot){l.mutate(u,Ot.info)});var he=function(){h=!0},Ge=function(){h=!1},bt=function(Ot){return function(){for(var Et=[],kn=0;kn<arguments.length;kn++)Et[kn]=arguments[kn];h&&Ot.apply(null,Et)}},at=l.sink(_0({forceDrop:R,drop:bt(R),move:bt(ne),delayDrop:bt($.throttle)}),d),Ke=function(){at.destroy()};return{element:at.element,go:j,on:he,off:Ge,destroy:Ke,events:y.registry}},z2=function(u,l,d,h,y,k,R){return{target:u,x:l,y:d,stop:h,prevent:y,kill:k,raw:R}},Xl=function(u){var l=st.fromDom(fn(u).getOr(u.target)),d=function(){return u.stopPropagation()},h=function(){return u.preventDefault()},y=de(h,d);return z2(l,u.clientX,u.clientY,d,h,y,u)},rs=function(u,l){return function(d){u(d)&&l(Xl(d))}},rk=function(u,l,d,h,y){var k=rs(d,h);return u.dom.addEventListener(l,k,y),{unbind:ze(Td,u,l,k,y)}},ak=function(u,l,d,h){return rk(u,l,d,h,!1)},Td=function(u,l,d,h){u.dom.removeEventListener(l,d,h)},B0=pt,wv=function(u,l,d){return ak(u,l,B0,d)},kd=Xl,M0=function(u,l){var d=Qs(u,l);return d===void 0||d===""?[]:d.split(" ")},ok=function(u,l,d){var h=M0(u,l),y=h.concat([d]);return Si(u,l,y.join(" ")),!0},ik=function(u,l,d){var h=nr(M0(u,l),function(y){return y!==d});return h.length>0?Si(u,l,h.join(" ")):Xa(u,l),!1},Ed=function(u){return u.dom.classList!==void 0},Od=function(u){return M0(u,"class")},Kp=function(u,l){return ok(u,"class",l)},Er=function(u,l){return ik(u,"class",l)},za=function(u,l){Ed(u)?u.dom.classList.add(l):Kp(u,l)},Ad=function(u){var l=Ed(u)?u.dom.classList:Od(u);l.length===0&&Xa(u,"class")},Cv=function(u,l){if(Ed(u)){var d=u.dom.classList;d.remove(l)}else Er(u,l);Ad(u)},_a=function(u,l){return Ed(u)&&u.dom.classList.contains(l)},Xp=function(u){var l=u.replace(/\./g,"-"),d=function(h){return l+"-"+h};return{resolve:d}},Yp=Xp("ephox-dragster"),Ji=Yp.resolve,Sv=function(u){var l=An({layerClass:Ji("blocker")},u),d=st.fromTag("div");Si(d,"role","presentation"),zl(d,{position:"fixed",left:"0px",top:"0px",width:"100%",height:"100%"}),za(d,Ji("blocker")),za(d,l.layerClass);var h=Fe(d),y=function(){gs(d)};return{element:h,destroy:y}},Jp=function(u,l){return Ia(l.left-u.left,l.top-u.top)},uk=function(u){return Y.some(Ia(u.x,u.y))},sk=function(u,l){u.mutate(l.left,l.top)},Zp=function(u,l){var d=Sv(l),h=wv(d.element(),"mousedown",u.forceDrop),y=wv(d.element(),"mouseup",u.drop),k=wv(d.element(),"mousemove",u.move),R=wv(d.element(),"mouseout",u.delayDrop),$=function(){d.destroy(),y.unbind(),k.unbind(),R.unbind(),h.unbind()},j=function(he){Ao(he,d.element())},ne=function(){gs(d.element())};return N2({element:d.element,start:j,stop:ne,destroy:$})},Wm=Qa({compare:Jp,extract:uk,sink:Zp,mutate:sk}),P0=function(u,l){l===void 0&&(l={});var d=l.mode!==void 0?l.mode:Wm;return Um(u,d,l)},Qp=function(u){return Eo(u,"[contenteditable]")},jm=function(u,l){return l===void 0&&(l=!1),!Fn().browser.isIE()&&tr(u)?u.dom.isContentEditable:Qp(u).fold(Fe(l),function(d){return e1(d)==="true"})},e1=function(u){return u.dom.contentEditable},ys=Xp("ephox-snooker"),Dd=ys.resolve,Yl=function(){var u=ti({drag:Cc(["xDelta","yDelta"])}),l=function(d,h){u.trigger.drag(d,h)};return{mutate:l,events:u.registry}},ws=function(){var u=ti({drag:Cc(["xDelta","yDelta","target"])}),l=Y.none(),d=Yl();d.events.drag.bind(function(k){l.each(function(R){u.trigger.drag(k.xDelta,k.yDelta,R)})});var h=function(k){l=Y.some(k)},y=function(){return l};return{assign:h,get:y,mutate:d.mutate,events:u.registry}},F2=function(u,l,d,h,y){var k=st.fromTag("div");return zl(k,{position:"absolute",left:l-h/2+"px",top:d+"px",height:y+"px",width:h+"px"}),Zo(k,{"data-column":u,role:"presentation"}),k},lu=function(u,l,d,h,y){var k=st.fromTag("div");return zl(k,{position:"absolute",left:l+"px",top:d-y/2+"px",height:y+"px",width:h+"px"}),Zo(k,{"data-row":u,role:"presentation"}),k},$0=Dd("resizer-bar"),Nf=Dd("resizer-rows"),N0=Dd("resizer-cols"),I0=7,L2=function(u,l){return $n(u.all,function(d,h){return l(d.element)?[h]:[]})},t1=function(u,l){var d=[];return pa(u.grid.columns,function(h){var y=pr.getColumnAt(u,h).map(function(k){return k.element});y.forall(l)&&d.push(h)}),nr(d,function(h){var y=pr.filterItems(u,function(k){return k.column===h});return cn(y,function(k){return l(k.element)})})},qm=function(u){var l=Rs(u.parent(),"."+$0);Ht(l,gs)},z0=function(u,l,d){var h=u.origin();Ht(l,function(y){y.each(function(k){var R=d(h,k);za(R,$0),Ao(u.parent(),R)})})},ck=function(u,l,d,h){z0(u,l,function(y,k){var R=F2(k.col,k.x-y.left,d.top-y.top,I0,h);return za(R,N0),R})},lk=function(u,l,d,h){z0(u,l,function(y,k){var R=lu(k.row,d.left-y.left,k.y-y.top,h,I0);return za(R,Nf),R})},Eu=function(u,l,d,h,y){var k=Af(d),R=l.isResizable,$=h.length>0?o0.positions(h,d):[],j=$.length>0?L2(u,R):[],ne=nr($,function(at,Ke){return _(j,function(Ot){return Ke===Ot})});lk(l,ne,k,Tu(d));var he=y.length>0?Rm.positions(y,d):[],Ge=he.length>0?t1(u,R):[],bt=nr(he,function(at,Ke){return _(Ge,function(Ot){return Ke===Ot})});ck(l,bt,k,bl(d))},Ei=function(u,l){if(qm(u),u.isResizable(l)){var d=pr.fromTable(l),h=sv(d),y=ld(d);Eu(d,u,l,h,y)}},Fu=function(u,l){var d=Rs(u.parent(),"."+$0);Ht(d,l)},Zi=function(u){Fu(u,function(l){Po(l,"display","none")})},Cs=function(u){Fu(u,function(l){Po(l,"display","block")})},fu=function(u){return _a(u,Nf)},n1=function(u){return _a(u,N0)},xv=Dd("resizer-bar-dragging"),Tv=function(u){var l=ws(),d=P0(l,{}),h=Y.none(),y=function(Ke,Ot){return Y.from(Qs(Ke,Ot))};l.events.drag.bind(function(Ke){y(Ke.target,"data-row").each(function(Ot){var Et=bf(Ke.target,"top");Po(Ke.target,"top",Et+Ke.yDelta+"px")}),y(Ke.target,"data-column").each(function(Ot){var Et=bf(Ke.target,"left");Po(Ke.target,"left",Et+Ke.xDelta+"px")})});var k=function(Ke,Ot){var Et=bf(Ke,Ot),kn=gc(Ke,"data-initial-"+Ot,0);return Et-kn};d.events.stop.bind(function(){l.get().each(function(Ke){h.each(function(Ot){y(Ke,"data-row").each(function(Et){var kn=k(Ke,"top");Xa(Ke,"data-initial-top"),at.trigger.adjustHeight(Ot,kn,parseInt(Et,10))}),y(Ke,"data-column").each(function(Et){var kn=k(Ke,"left");Xa(Ke,"data-initial-left"),at.trigger.adjustWidth(Ot,kn,parseInt(Et,10))}),Ei(u,Ot)})})});var R=function(Ke,Ot){at.trigger.startAdjust(),l.assign(Ke),Si(Ke,"data-initial-"+Ot,bf(Ke,Ot)),za(Ke,xv),Po(Ke,"opacity","0.2"),d.go(u.parent())},$=wv(u.parent(),"mousedown",function(Ke){fu(Ke.target)&&R(Ke.target,"top"),n1(Ke.target)&&R(Ke.target,"left")}),j=function(Ke){return Cr(Ke,u.view())},ne=function(Ke){return Eo(Ke,"table",j).filter(jm)},he=wv(u.view(),"mouseover",function(Ke){ne(Ke.target).fold(function(){tr(Ke.target)&&qm(u)},function(Ot){h=Y.some(Ot),Ei(u,Ot)})}),Ge=function(){$.unbind(),he.unbind(),d.destroy(),qm(u)},bt=function(Ke){Ei(u,Ke)},at=ti({adjustHeight:Cc(["table","delta","row"]),adjustWidth:Cc(["table","delta","column"]),startAdjust:Cc([])});return{destroy:Ge,refresh:bt,on:d.on,off:d.off,hideBars:ze(Zi,u),showBars:ze(Cs,u),events:at.registry}},F0=function(u,l,d){var h=o0,y=Rm,k=Tv(u),R=ti({beforeResize:Cc(["table","type"]),afterResize:Cc(["table","type"]),startDrag:Cc([])});return k.events.adjustHeight.bind(function($){var j=$.table;R.trigger.beforeResize(j,"row");var ne=h.delta($.delta,j);XT(j,ne,$.row,h),R.trigger.afterResize(j,"row")}),k.events.startAdjust.bind(function($){R.trigger.startDrag()}),k.events.adjustWidth.bind(function($){var j=$.table;R.trigger.beforeResize(j,"col");var ne=y.delta($.delta,j),he=d(j);x0(j,ne,$.column,l,he),R.trigger.afterResize(j,"col")}),{on:k.on,off:k.off,hideBars:k.hideBars,showBars:k.showBars,destroy:k.destroy,events:R.registry}},H2={create:F0},r1=function(u,l){return u.fire("newrow",{node:l})},If=function(u,l){return u.fire("newcell",{node:l})},kv=function(u,l,d,h,y){u.fire("ObjectResizeStart",{target:l,width:d,height:h,origin:y})},V2=function(u,l,d,h,y){u.fire("ObjectResized",{target:l,width:d,height:h,origin:y})},fk=function(u,l,d,h,y){u.fire("TableSelectionChange",{cells:l,start:d,finish:h,otherCells:y})},a1=function(u){u.fire("TableSelectionClear")},as=function(u,l,d){u.fire("TableModified",An(An({},d),{table:l}))},o1={structure:!1,style:!0},Oi={structure:!0,style:!1},U2={structure:!0,style:!0},vk="tableprops tabledelete | tableinsertrowbefore tableinsertrowafter tabledeleterow | tableinsertcolbefore tableinsertcolafter tabledeletecol",L0={"border-collapse":"collapse",width:"100%"},W2=pa(5,function(u){var l=u+1+"px";return{title:l,value:l}}),j2=yt(["Solid","Dotted","Dashed","Double","Groove","Ridge","Inset","Outset","None","Hidden"],function(u){return{title:u,value:u.toLowerCase()}}),_t=function(u){var l;if(Km(u)){var d=u.dom,h=(l=d.getParent(u.selection.getStart(),d.isBlock))!==null&&l!==void 0?l:u.getBody(),y=sa(st.fromDom(h));return An(An({},L0),{width:y+"px"})}else return Ov(u)?Ye(L0,function(k,R){return R!=="width"}):L0},dk={border:"1"},qo="preservetable",H0=function(u){return u.getParam("table_sizing_mode","auto")},Rd=function(u){return u.getParam("table_responsive_width")},i1=function(u){return u.getParam("table_border_widths",W2,"array")},Hs=function(u){return u.getParam("table_border_styles",j2,"array")},Gm=function(u){return u.getParam("table_default_attributes",dk,"object")},oh=function(u){return u.getParam("table_default_styles",_t(u),"object")},u1=function(u){return u.getParam("table_resize_bars",!0,"boolean")},Jl=function(u){return u.getParam("table_tab_navigation",!0,"boolean")},ih=function(u){return u.getParam("table_cell_advtab",!0,"boolean")},s1=function(u){return u.getParam("table_row_advtab",!0,"boolean")},Vs=function(u){return u.getParam("table_advtab",!0,"boolean")},Kc=function(u){return u.getParam("table_appearance_options",!0,"boolean")},zf=function(u){return u.getParam("table_grid",!0,"boolean")},Ai=function(u){return u.getParam("table_style_by_css",!1,"boolean")},V0=function(u){return u.getParam("table_cell_class_list",[],"array")},Ve=function(u){return u.getParam("table_row_class_list",[],"array")},Ev=function(u){return u.getParam("table_class_list",[],"array")},uh=function(u){return H0(u)==="relative"||Rd(u)===!0},Km=function(u){return H0(u)==="fixed"||Rd(u)===!1},Ov=function(u){return H0(u)==="responsive"},xl=function(u){return u.getParam("table_toolbar",vk)},U0=function(u){return u.getParam("table_use_colgroups",!1,"boolean")},W0=function(u){var l="section",d=u.getParam("table_header_type",l,"string"),h=["section","cells","sectionCells","auto"];return Ir(h,d)?d:l},c1=function(u){var l=["preservetable","resizetable"],d=u.getParam("table_column_resizing",qo,"string");return dt(l,function(h){return h===d}).getOr(qo)},l1=function(u){return c1(u)==="preservetable"},q2=function(u){return c1(u)==="resizetable"},j0=function(u){var l=u.getParam("table_clone_elements");return vt(l)?Y.some(l.split(/[ ,]/)):Array.isArray(l)?Y.some(l):Y.none()},q0=function(u){var l=u.getParam("object_resizing",!0);return vt(l)?l==="table":l},G0=function(u){return u.getParam("table_background_color_map",[],"array")},K0=function(u){return u.getParam("table_border_color_map",[],"array")},X0=function(u,l){return uh(u)?_f.percentageSize(l):Km(u)?_f.pixelSize(l):_f.getTableSize(l)},_d=function(u){Xa(u,"width")},mk=function(u){var l=Pm(u);uc(u,Y.some(l),Y.none()),_d(u)},G2=function(u){var l=FT(u);uc(u,Y.some(l),Y.none()),_d(u)},f1=function(u){ou(u,"width");var l=ml(u),d=l.length>0?l:Sf(u);Ht(d,function(h){ou(h,"width"),_d(h)}),_d(u)},sh=mk,v1=G2,d1=f1,m1=function(u){var l=pr.fromTable(u);pr.hasColumns(l)||Ht(Sf(u),function(d){var h=vl(d,"width");Po(d,"width",h),Xa(d,"width")})},Bd=function(){var u=st.fromTag("div");return zl(u,{position:"static",height:"0",width:"0",padding:"0",margin:"0",border:"0"}),Ao(jn(),u),u},K2=function(u,l){return u.inline?Wp.body(bs(u),Bd(),l):Wp.only(st.fromDom(u.getDoc()),l)},No=function(u,l){u.inline&&gs(l.parent())},g1="bar-",Go=function(u){return Qs(u,"data-mce-resize")!=="false"},h1=function(u){var l=Y.none(),d=Y.none(),h=Y.none(),y,k,R=function(Ke){return Ke.nodeName==="TABLE"},$=function(){return d},j=function(){return h.getOr(Wp.only(st.fromDom(u.getBody()),Go))},ne=function(Ke){return X0(u,Ke)},he=function(){return l1(u)?pv():B2()},Ge=function(Ke){return Sl(Ke).columns},bt=function(Ke,Ot,Et){var kn=_r(Ot,"e");if(k===""&&sh(Ke),Et!==y&&k!==""){Po(Ke,"width",k);var Jr=he(),Nn=ne(Ke),Zn=l1(u)||kn?Ge(Ke)-1:0;x0(Ke,Et-y,Zn,Jr,Nn)}else if(VT(k)){var Hr=parseFloat(k.replace("%","")),yr=Et*Hr/y;Po(Ke,"width",yr+"%")}eh(k)&&m1(Ke)},at=function(){d.each(function(Ke){Ke.destroy()}),h.each(function(Ke){No(u,Ke)})};return u.on("init",function(){var Ke=K2(u,Go);if(h=Y.some(Ke),q0(u)&&u1(u)){var Ot=he(),Et=H2.create(Ke,Ot,ne);Et.on(),Et.events.startDrag.bind(function(kn){l=Y.some(u.selection.getRng())}),Et.events.beforeResize.bind(function(kn){var Jr=kn.table.dom;kv(u,Jr,yl(Jr),Pf(Jr),g1+kn.type)}),Et.events.afterResize.bind(function(kn){var Jr=kn.table,Nn=Jr.dom;Ki(Jr),l.each(function(Zn){u.selection.setRng(Zn),u.focus()}),V2(u,Nn,yl(Nn),Pf(Nn),g1+kn.type),u.undoManager.add()}),d=Y.some(Et)}}),u.on("ObjectResizeStart",function(Ke){var Ot=Ke.target;if(R(Ot)){var Et=st.fromDom(Ot);Ht(u.dom.select(".mce-clonedresizable"),function(kn){u.dom.addClass(kn,"mce-"+c1(u)+"-columns")}),!bv(Et)&&Km(u)?v1(Et):!$2(Et)&&uh(u)&&sh(Et),rh(Et)&&xr(Ke.origin,g1)&&sh(Et),y=Ke.width,k=Ov(u)?"":zm(u,Ot).getOr("")}}),u.on("ObjectResized",function(Ke){var Ot=Ke.target;if(R(Ot)){var Et=st.fromDom(Ot),kn=Ke.origin;xr(kn,"corner-")&&bt(Et,kn,Ke.width),Ki(Et),as(u,Et.dom,o1)}}),u.on("SwitchMode",function(){$().each(function(Ke){u.mode.isReadOnly()?Ke.hideBars():Ke.showBars()})}),{lazyResize:$,lazyWire:j,destroy:at}},Xm=function(u,l){return{element:u,offset:l}},p1=function(u,l,d){return u.property().isText(l)&&u.property().getText(l).trim().length===0||u.property().isComment(l)?d(l).bind(function(h){return p1(u,h,d).orThunk(function(){return Y.some(h)})}):Y.none()},Ym=function(u,l){if(u.property().isText(l))return u.property().getText(l).length;var d=u.property().children(l);return d.length},X2=function(u,l){var d=p1(u,l,u.query().prevSibling).getOr(l);if(u.property().isText(d))return Xm(d,Ym(u,d));var h=u.property().children(d);return h.length>0?X2(u,h[h.length-1]):Xm(d,Ym(u,d))},Y2=X2,gk=Vg(),hk=function(u){return Y2(gk,u)},J2=function(u,l){var d=xi(u,"colspan");if(d===1){var h=Bm(u);h.each(function(y){var k=y.value/2;Mm(u,k,y.unit),Mm(l,k,y.unit)})}},b1=to("th"),y1=function(u){return cn(u,function(l){return b1(l.element)})},pk=function(u,l){return u&&l?"sectionCells":u?"section":"cells"},Z2=function(u){var l=u.section==="thead",d=fl(Y0(u.cells),"th");return l||d?{type:"header",subType:pk(l,d)}:u.section==="tfoot"?{type:"footer"}:{type:"body"}},Y0=function(u){var l=nr(u,function(d){return b1(d.element)});return l.length===0?Y.some("td"):l.length===u.length?Y.some("th"):Y.none()},Q2=function(u){var l=yt(u,function(k){return Z2(k).type}),d=Ir(l,"header"),h=Ir(l,"footer");if(!d&&!h)return Y.some("body");var y=Ir(l,"body");return d&&!y&&!h?Y.some("header"):!d&&!y&&h?Y.some("footer"):Y.none()},bk=function(u){return Qr(u.all,function(l){var d=Z2(l);return d.type==="header"?Y.from(d.subType):Y.none()})},vu=function(u,l,d){return Co(d(u.element,l),!0,u.isLocked)},Md=function(u,l){return u.section!==l?Cn(u.element,u.cells,l,u.isNew):u},J0=function(){return{transformRow:Md,transformCell:function(u,l,d){var h=d(u.element,l),y=Sr(h)!=="td"?BT(h,"td"):h;return Co(y,u.isNew,u.isLocked)}}},eC=function(){return{transformRow:Md,transformCell:vu}},Jm=function(){return{transformRow:function(u,l){var d=l==="thead"?"tbody":l;return Md(u,d)},transformCell:vu}},tC=function(){return{transformRow:sn,transformCell:vu}},yk=function(u,l){var d=pr.fromTable(u),h=bk(d).getOr(l);switch(h){case"section":return J0();case"sectionCells":return eC();case"cells":return Jm()}},ch={getTableSectionType:yk,section:J0,sectionCells:eC,cells:Jm,fallback:tC},lh=function(u,l,d,h){d===h?Xa(u,l):Si(u,l,d)},Av=function(u,l,d){Kr(fr(u,l)).fold(function(){return uu(u,d)},function(h){return Ua(h,d)})},w1=function(u,l){var d=Yn(u,l).getOrThunk(function(){var h=st.fromTag(l,Ds(u).dom);return l==="thead"?Av(u,"caption,colgroup",h):l==="colgroup"?Av(u,"caption",h):Ao(u,h),h});return Lg(d),d},C1=function(u,l){var d=[],h=[],y=function(at){return yt(at,function(Ke){Ke.isNew&&d.push(Ke.element);var Ot=Ke.element;return Lg(Ot),Ht(Ke.cells,function(Et){Et.isNew&&h.push(Et.element),lh(Et.element,"colspan",Et.colspan,1),lh(Et.element,"rowspan",Et.rowspan,1),Ao(Ot,Et.element)}),Ot})},k=function(at){return $n(at,function(Ke){return yt(Ke.cells,function(Ot){return lh(Ot.element,"span",Ot.colspan,1),Ot.element})})},R=function(at,Ke){var Ot=w1(u,Ke),Et=Ke==="colgroup"?k:y,kn=Et(at);gl(Ot,kn)},$=function(at){Yn(u,at).each(gs)},j=function(at,Ke){at.length>0?R(at,Ke):$(Ke)},ne=[],he=[],Ge=[],bt=[];return Ht(l,function(at){switch(at.section){case"thead":ne.push(at);break;case"tbody":he.push(at);break;case"tfoot":Ge.push(at);break;case"colgroup":bt.push(at);break}}),j(bt,"colgroup"),j(ne,"thead"),j(he,"tbody"),j(Ge,"tfoot"),{newRows:d,newCells:h}},S1=function(u){return yt(u,function(l){var d=Fc(l.element);return Ht(l.cells,function(h){var y=ba(h.element);lh(y,"colspan",h.colspan,1),lh(y,"rowspan",h.rowspan,1),Ao(d,y)}),d})},wk=function(u,l){return yt(u,function(d){return Zu(d,l)})},Ff=function(u,l){return u[l]},x1=function(u,l){if(u.length===0)return 0;var d=u[0],h=Nt(u,function(y){return!l(d.element,y.element)});return h.getOr(u.length)},Ck=function(u,l,d,h){var y=Ff(u,l),k=y.section==="colgroup",R=x1(y.cells.slice(d),h),$=k?1:x1(wk(u.slice(l),d),h);return{colspan:R,rowspan:$}},Dv=function(u,l){var d=yt(u,function(y){return yt(y.cells,qt)}),h=function(y,k,R,$){for(var j=y;j<y+R;j++)for(var ne=k;ne<k+$;ne++)d[j][ne]=!0};return yt(u,function(y,k){var R=$n(y.cells,function($,j){if(d[k][j]===!1){var ne=Ck(u,k,j,l);return h(k,j,ne.rowspan,ne.colspan),[rr($.element,ne.rowspan,ne.colspan,$.isNew)]}else return[]});return bu(y.element,R,y.section,y.isNew)})},Rv=function(u,l,d){var h=[];Ht(u.colgroups,function(he){for(var Ge=[],bt=0;bt<u.grid.columns;bt++){var at=pr.getColumnAt(u,bt).map(function(Ke){return Co(Ke.element,d,!1)}).getOrThunk(function(){return Co(l.colGap(),!0,!1)});Ge.push(at)}h.push(Cn(he.element,Ge,"colgroup",d))});for(var y=0;y<u.grid.rows;y++){for(var k=[],R=0;R<u.grid.columns;R++){var $=pr.getAt(u,y,R).map(function(he){return Co(he.element,d,he.isLocked)}).getOrThunk(function(){return Co(l.gap(),!0,!1)});k.push($)}var j=u.all[y],ne=Cn(j.element,k,j.section,d);h.push(ne)}return h},nC=function(u,l){return Rv(u,l,!1)},fh=function(u){return Dv(u,Cr)},Z0=function(u,l){return Qr(u.all,function(d){return dt(d.cells,function(h){return Cr(l,h.element)})})},T1=function(u,l,d){var h=yt(l.selection,function(k){return dl(k).bind(function(R){return Z0(u,R)}).filter(d)}),y=fi(h);return $a(y.length>0,y)},Qi=function(u,l,d,h,y){return function(k,R,$,j,ne){var he=pr.fromTable(R),Ge=Y.from(ne==null?void 0:ne.section).getOrThunk(ch.fallback),bt=l(he,$).map(function(at){var Ke=nC(he,j),Ot=u(Ke,at,Cr,y(j),Ge),Et=iu(Ot.grid),kn=fh(Ot.grid);return{info:at,grid:kn,cursor:Ot.cursor,lockedColumns:Et}});return bt.bind(function(at){var Ke=C1(R,at.grid),Ot=Y.from(ne==null?void 0:ne.sizing).getOrThunk(function(){return _f.getTableSize(R)}),Et=Y.from(ne==null?void 0:ne.resize).getOrThunk(pv);return d(R,at.grid,at.info,{sizing:Ot,resize:Et,section:Ge}),h(R),Ei(k,R),Xa(R,Qo),at.lockedColumns.length>0&&Si(R,Qo,at.lockedColumns.join(",")),Y.some({cursor:at.cursor,newRows:Ke.newRows,newCells:Ke.newCells})})}},Sk=function(u,l){return dl(l.element).bind(function(d){return Z0(u,d).map(function(h){var y=An(An({},h),{generators:l.generators,clipboard:l.clipboard});return y})})},k1=function(u,l){return T1(u,l,pt).map(function(d){return{cells:d,generators:l.generators,clipboard:l.clipboard}})},rC=function(u,l){return l.mergable},xk=function(u,l){return l.unmergable},Xc=function(u,l){return T1(u,l,pt)},Lf=function(u,l){return T1(u,l,function(d){return!d.isLocked})},Tk=function(u,l){return Z0(u,l).exists(function(d){return!d.isLocked})},Q0=function(u,l){return cn(l,function(d){return Tk(u,d)})},ey=function(u,l){return rC(u,l).filter(function(d){return Q0(u,d.cells)})},Pd=function(u,l){return xk(u,l).filter(function(d){return Q0(u,d)})},aC=function(u,l,d,h){var y=Uo(u).rows;if(y.length===0)return u;for(var k=l.startRow;k<=l.finishRow;k++)for(var R=l.startCol;R<=l.finishCol;R++){var $=y[k],j=Zu($,R).isLocked;Fl($,R,Co(h(),!1,j))}return u},Zm=function(u,l,d,h){for(var y=Uo(u).rows,k=!0,R=0;R<y.length;R++)for(var $=0;$<tc(y[0]);$++){var j=y[R],ne=Zu(j,$),he=ne.element,Ge=d(he,l);Ge===!0&&k===!1?Fl(j,$,Co(h(),!0,ne.isLocked)):Ge===!0&&(k=!1)}return u},kk=function(u,l){return J(u,function(d,h){return _(d,function(y){return l(y.element,h.element)})?d:d.concat([h])},[])},Ek=function(u,l,d,h){return l>0&&l<u[0].cells.length&&Ht(u,function(y){var k=y.cells[l-1],R=y.cells[l],$=d(R.element,k.element);$&&Fl(y,l,Co(h(),!0,R.isLocked))}),u},Ok=function(u,l,d,h){var y=Uo(u).rows;if(l>0&&l<y.length){var k=y[l-1].cells,R=kk(k,d);Ht(R,function($){for(var j=Y.none(),ne=l;ne<y.length;ne++)for(var he=function(bt){var at=y[ne],Ke=Zu(at,bt),Ot=d(Ke.element,$.element);Ot&&(j.isNone()&&(j=Y.some(h())),j.each(function(Et){Fl(at,bt,Co(Et,!0,Ke.isLocked))}))},Ge=0;Ge<tc(y[0]);Ge++)he(Ge)})}return u},Qm=function(u){var l=function(Ge){return Qm(u)},d=function(Ge){return Qm(u)},h=function(Ge){return Qm(Ge(u))},y=function(Ge){return Qm(u)},k=function(Ge){Ge(u)},R=function(Ge){return Ge(u)},$=function(Ge,bt){return bt(u)},j=function(Ge){return Ge(u)},ne=function(Ge){return Ge(u)},he=function(){return Y.some(u)};return{isValue:pt,isError:qt,getOr:Fe(u),getOrThunk:Fe(u),getOrDie:Fe(u),or:l,orThunk:d,fold:$,map:h,mapError:y,each:k,bind:R,exists:j,forall:ne,toOptional:he}},$d=function(u){var l=function(ne){return ne()},d=function(){return $t(String(u))()},h=sn,y=function(ne){return ne()},k=function(ne){return $d(u)},R=function(ne){return $d(ne(u))},$=function(ne){return $d(u)},j=function(ne,he){return ne(u)};return{isValue:qt,isError:pt,getOr:sn,getOrThunk:l,getOrDie:d,or:h,orThunk:y,fold:j,map:k,mapError:R,each:We,bind:$,exists:qt,forall:pt,toOptional:Y.none}},ty=function(u,l){return u.fold(function(){return $d(l)},Qm)},oC={value:Qm,error:$d,fromOption:ty},Ak=function(u,l,d){if(u.row>=l.length||u.column>tc(l[0]))return oC.error("invalid start address out of table bounds, row: "+u.row+", column: "+u.column);var h=l.slice(u.row),y=h[0].cells.slice(u.column),k=tc(d[0]),R=d.length;return oC.value({rowDelta:h.length-R,colDelta:y.length-k})},iC=function(u,l){var d=tc(u[0]),h=tc(l[0]);return{rowDelta:0,colDelta:d-h}},uC=function(u,l){var d=u.length,h=l.length;return{rowDelta:d-h,colDelta:0}},ny=function(u,l,d,h){var y=l.section==="colgroup"?d.col:d.cell;return pa(u,function(k){return Co(y(),!0,h(k))})},Dk=function(u,l,d,h){var y=u[u.length-1];return u.concat(pa(l,function(){var k=y.section==="colgroup"?d.colgroup:d.row,R=Ti(y,k,sn),$=ny(R.cells.length,R,d,function(j){return V(h,j.toString())});return Qn(R,$)}))},E1=function(u,l,d,h){return yt(u,function(y){var k=ny(l,y,d,qt);return xf(y,h,k)})},Rk=function(u,l,d){return yt(u,function(h){return J(d,function(y,k){var R=ny(1,h,l,pt)[0];return Tf(y,k,R)},h)})},vh=function(u,l,d){var h=l.colDelta<0?E1:sn,y=l.rowDelta<0?Dk:sn,k=iu(u),R=tc(u[0]),$=_(k,function(he){return he===R-1}),j=h(u,Math.abs(l.colDelta),d,$?R-1:R),ne=iu(j);return y(j,Math.abs(l.rowDelta),d,Kn(ne,pt))},_k=function(u,l,d,h){var y=Zu(u[l],d),k=ze(h,y.element),R=u[l];return u.length>1&&tc(R)>1&&(d>0&&k(Su(R,d-1))||d<R.cells.length-1&&k(Su(R,d+1))||l>0&&k(Su(u[l-1],d))||l<u.length-1&&k(Su(u[l+1],d)))},ry=function(u,l,d,h,y,k){for(var R=u.row,$=u.column,j=d.length,ne=tc(d[0]),he=R+j,Ge=$+ne+k.length,bt=Kn(k,pt),at=R;at<he;at++)for(var Ke=0,Ot=$;Ot<Ge;Ot++){if(bt[Ot]){Ke++;continue}_k(l,at,Ot,y)&&Zm(l,Su(l[at],Ot),y,h.cell);var Et=Ot-$-Ke,kn=Zu(d[at-R],Et),Jr=kn.element,Nn=h.replace(Jr);Fl(l[at],Ot,Co(Nn,!0,kn.isLocked))}return l},Bk=function(u,l,d){var h=tc(l[0]),y=Uo(l).cols.length+u.row,k=pa(h-u.column,function($){return $+u.column}),R=dt(k,function($){return cn(d,function(j){return j!==$})}).getOr(h-1);return{row:y,column:R}},sC=function(u,l,d){return nr(d,function(h){return h>=u.column&&h<=tc(l[0])+u.column})},Mk=function(u,l,d,h,y){var k=iu(l),R=Bk(u,l,k),$=Uo(d).rows,j=sC(R,$,k),ne=Ak(R,l,$);return ne.map(function(he){var Ge=An(An({},he),{colDelta:he.colDelta-j.length}),bt=vh(l,Ge,h),at=iu(bt),Ke=sC(R,$,at);return ry(R,bt,$,h,y,Ke)})},eg=function(u,l,d,h,y){Ek(l,u,y,h.cell);var k=uC(d,l),R=vh(d,k,h),$=uC(l,R),j=vh(l,$,h);return yt(j,function(ne,he){return xf(ne,u,R[he].cells)})},cC=function(u,l,d,h,y){Ok(l,u,y,h.cell);var k=iu(l),R=iC(l,d),$=An(An({},R),{colDelta:R.colDelta-k.length}),j=vh(l,$,h),ne=Uo(j),he=ne.cols,Ge=ne.rows,bt=iu(j),at=iC(d,l),Ke=An(An({},at),{colDelta:at.colDelta+bt.length}),Ot=Rk(d,h,bt),Et=vh(Ot,Ke,h);return he.concat(Ge.slice(0,u)).concat(Et).concat(Ge.slice(u,Ge.length))},Pk=function(u,l,d,h){return Ti(u,function(y){return h(y,d)},l)},ay=function(u,l,d,h,y){var k=Uo(u),R=k.rows,$=k.cols,j=R.slice(0,l),ne=R.slice(l),he=Pk(R[d],function(Ge,bt){var at=l>0&&l<R.length&&h(Su(R[l-1],bt),Su(R[l],bt)),Ke=at?Zu(R[l],bt):Co(y(Ge.element,h),!0,Ge.isLocked);return Ke},h,y);return $.concat(j).concat([he]).concat(ne)},oy=function(u,l,d,h,y,k,R){if(d==="colgroup"||!h){var $=Zu(u,y);return Co(R($.element,k),!0,!1)}else return Zu(u,l)},O1=function(u,l,d,h,y){return yt(u,function(k){var R=l>0&&l<tc(k)&&h(Su(k,l-1),Su(k,l)),$=oy(k,l,k.section,R,d,h,y);return Tf(k,l,$)})},lC=function(u,l){return $n(u,function(d){var h=d.cells,y=va(l,function(k,R){return R>=0&&R<k.length?k.slice(0,R).concat(k.slice(R+1)):k},h);return y.length>0?[Cn(d.element,y,d.section,d.isNew)]:[]})},fC=function(u,l,d){var h=Uo(u),y=h.rows,k=h.cols;return k.concat(y.slice(0,l)).concat(y.slice(d+1))},tg=function(u,l,d,h){return Su(u[l],d)!==void 0&&l>0&&h(Su(u[l-1],d),Su(u[l],d))},vC=function(u,l,d){return l>0&&d(Su(u,l-1),Su(u,l))},dC=function(u,l,d,h){return tg(u,l,d,h)||vC(u[l],d,h)},$k=function(u,l){var d=cn(l,sn)&&y1(u.cells);return d?pt:function(h,y,k){var R=Sr(h.element);return!(R==="th"&&l[k])}},Nk=function(u,l){var d=cn(l,sn)&&y1(u);return d?pt:function(h,y,k){var R=Sr(h.element);return!(R==="th"&&l[y])}},iy=function(u,l,d,h){var y=function($){return $==="row"?Ap(l):ud(l)},k=function($){return y($)?$+"group":$};if(u)return b1(l)?k(d):null;if(h&&b1(l)){var R=d==="row"?"col":"row";return k(R)}else return null},Nd=function(u,l){return function(d,h,y){return Y.some(iy(u,d.element,"col",l[y]))}},A1=function(u,l){return function(d,h){return Y.some(iy(u,d.element,"row",l[h]))}},mC=function(u,l,d){return Co(d(u.element,l),!0,u.isLocked)},D1=function(u,l,d,h,y,k,R){var $=function(j){return _(l,function(ne){return d(j.element,ne.element)})};return yt(u,function(j,ne){return ec(j,function(he,Ge){if($(he)){var bt=R(he,ne,Ge)?y(he,d,h):he;return k(bt,ne,Ge).each(function(at){hf(bt.element,{scope:Y.from(at)})}),bt}else return he})})},gC=function(u,l,d){return $n(u,function(h,y){return dC(u,y,l,d)?[]:[Zu(h,l)]})},Ik=function(u,l,d){var h=u[l];return $n(h.cells,function(y,k){return dC(u,l,k,d)?[]:[y]})},uy=function(u,l,d,h,y){var k=Uo(u).rows,R=$n(l,function(he){return gC(k,he,h)}),$=yt(u,function(he){return y1(he.cells)}),j=Nk(R,$),ne=A1(d,$);return D1(u,R,h,y,mC,ne,j)},zk=function(u,l,d,h,y,k,R){var $=Uo(u),j=$.cols,ne=$.rows,he=ne[l[0]],Ge=$n(l,function(kn){return Ik(ne,kn,y)}),bt=yt(he.cells,function(kn,Jr){return y1(gC(ne,Jr,y))}),at=da([],ne,!0);Ht(l,function(kn){at[kn]=R.transformRow(ne[kn],d)});var Ke=j.concat(at),Ot=$k(he,bt),Et=Nd(h,bt);return D1(Ke,Ge,y,k,R.transformCell,Et,Ot)},hC=function(u,l,d,h){var y=Uo(u).rows,k=yt(l,function(R){return Zu(y[R.row],R.column)});return D1(u,k,d,h,mC,Y.none,pt)},Id=function(u){var l=function(d,h){var y=_(d,function(k){return k.column===h.column});return y?d:d.concat([h])};return J(u,l,[]).sort(function(d,h){return d.column-h.column})},Mi=to("col"),_v=to("colgroup"),R1=function(u){return Sr(u)==="tr"||_v(u)},Fk=function(u){var l=gc(u,"colspan",1),d=gc(u,"rowspan",1);return{element:u,colspan:l,rowspan:d}},pC=function(u,l){l===void 0&&(l=Fk);var d=function($){return Mi($.element)?u.col($):u.cell($)},h=function($){return _v($.element)?u.colgroup($):u.row($)},y=function($){if(R1($))return h({element:$});var j=d(l($));return k=Y.some({item:$,replacement:j}),j},k=Y.none(),R=function($,j){return k.fold(function(){return y($)},function(ne){return j($,ne.item)?ne.replacement:y($)})};return{getOrInit:R}},bC=function(u){return function(l){var d=[],h=function(R,$){return dt(d,function(j){return $(j.item,R)})},y=function(R){var $=u==="td"?{scope:null}:{},j=l.replace(R,u,$);return d.push({item:R,sub:j}),j},k=function(R,$){return R1(R)||Mi(R)?R:h(R,$).fold(function(){return y(R)},function(j){return $(R,j.item)?j.sub:y(R)})};return{replaceOrInit:k}}},sy=function(u){return ua(u,"scope").map(function(l){return l.substr(0,3)})},cy=function(u){var l=function(h){var y=sy(h);return y.each(function(k){return Si(h,"scope",k)}),function(){var k=u.cell({element:h,colspan:1,rowspan:1});return ou(k,"width"),ou(h,"width"),y.each(function(R){return Si(k,"scope",R)}),k}},d=function(h){var y=function(){var k=fi(yt(h,sy));if(k.length===0)return Y.none();var R=k[0],$=["row","col"],j=_(k,function(ne){return ne!==R&&Ir($,ne)});return j?Y.none():Y.from(R)};return ou(h[0],"width"),y().fold(function(){return Xa(h[0],"scope")},function(k){return Si(h[0],"scope",k+"group")}),Fe(h[0])};return{unmerge:l,merge:d}},Us={modification:pC,transform:bC,merging:cy},Hf=["body","p","div","article","aside","figcaption","figure","footer","header","nav","section","ol","ul","table","thead","tfoot","tbody","caption","tr","td","th","h1","h2","h3","h4","h5","h6","blockquote","pre","address"],zd=function(u,l){var d=u.property().name(l);return Ir(["ol","ul"],d)},dh=function(u,l){var d=u.property().name(l);return Ir(Hf,d)},Fd=function(u,l){return Ir(["br","img","hr","input"],u.property().name(l))},Zl=Vg(),Yc=function(u){return dh(Zl,u)},ng=function(u){return zd(Zl,u)},ly=function(u){return Fd(Zl,u)},yC=function(u){var l=function(j){return Sr(j)==="br"},d=function(j){return cn(j,function(ne){return l(ne)||wi(ne)&&Rp(ne).trim().length===0})},h=function(j){return Sr(j)==="li"||xo(j,ng).isSome()},y=function(j){return T(j).map(function(ne){return Yc(ne)?!0:ly(ne)?Sr(ne)!=="img":!1}).getOr(!1)},k=function(j){return Fp(j).bind(function(ne){var he=y(ne);return no(ne).map(function(Ge){return he===!0||h(Ge)||l(ne)||Yc(Ge)&&!Cr(j,Ge)?[]:[st.fromTag("br")]})}).getOr([])},R=function(){var j=$n(u,function(ne){var he=w(ne);return d(he)?[]:he.concat(k(ne))});return j.length===0?[st.fromTag("br")]:j},$=R();Lg(u[0]),gl(u[0],$)},_1=function(u){return jm(u,!0)},Ld=function(u){var l=Sf(u);l.length===0&&gs(u)},Vf=function(u,l){return{grid:u,cursor:l}},B1=function(u){return Qr(u,function(l){return Qr(l.cells,function(d){var h=d.element;return $a(_1(h),h)})})},fy=function(u,l,d){var h,y,k=Uo(u).rows;return Y.from((y=(h=k[l])===null||h===void 0?void 0:h.cells[d])===null||y===void 0?void 0:y.element).filter(_1).orThunk(function(){return B1(k)})},eu=function(u,l,d){var h=fy(u,l,d);return Vf(u,h)},Bv=function(u){var l=function(d,h){var y=_(d,function(k){return k.row===h.row});return y?d:d.concat([h])};return J(u,l,[]).sort(function(d,h){return d.row-h.row})},wC=function(u,l,d,h){var y=l[0].row,k=Bv(l),R=va(k,function($,j){var ne=ay($.grid,y,j.row+$.delta,d,h.getOrInit);return{grid:ne,delta:$.delta+1}},{grid:u,delta:0}).grid;return eu(R,y,l[0].column)},vy=function(u,l,d,h){var y=Bv(l),k=y[y.length-1],R=k.row+k.rowspan,$=va(y,function(j,ne){return ay(j,R,ne.row,d,h.getOrInit)},u);return eu($,R,l[0].column)},M1=function(u,l,d,h){var y=l.details,k=Id(y),R=k[0].column,$=va(k,function(j,ne){var he=O1(j.grid,R,ne.column+j.delta,d,h.getOrInit);return{grid:he,delta:j.delta+1}},{grid:u,delta:0}).grid;return eu($,y[0].row,R)},du=function(u,l,d,h){var y=l.details,k=y[y.length-1],R=k.column+k.colspan,$=Id(y),j=va($,function(ne,he){return O1(ne,R,he.column,d,h.getOrInit)},u);return eu(j,y[0].row,R)},Lk=function(u,l,d,h){var y=Id(l),k=yt(y,function($){return $.column}),R=uy(u,k,!0,d,h.replaceOrInit);return eu(R,l[0].row,l[0].column)},Ql=function(u,l,d,h){var y=hC(u,l,d,h.replaceOrInit);return eu(y,l[0].row,l[0].column)},CC=function(u,l,d,h){var y=Id(l),k=yt(y,function($){return $.column}),R=uy(u,k,!1,d,h.replaceOrInit);return eu(R,l[0].row,l[0].column)},dy=function(u,l,d,h){var y=hC(u,l,d,h.replaceOrInit);return eu(y,l[0].row,l[0].column)},Mv=function(u,l){return function(d,h,y,k,R){var $=Bv(h),j=yt($,function(he){return he.row}),ne=zk(d,j,u,l,y,k.replaceOrInit,R);return eu(ne,h[0].row,h[0].column)}},SC=Mv("thead",!0),P1=Mv("tbody",!1),xC=Mv("tfoot",!1),my=function(u,l,d,h){var y=Id(l.details),k=lC(u,yt(y,function($){return $.column})),R=k.length>0?k[0].cells.length-1:0;return eu(k,y[0].row,Math.min(y[0].column,R))},TC=function(u,l,d,h){var y=Bv(l),k=fC(u,y[0].row,y[y.length-1].row),R=k.length>0?k.length-1:0;return eu(k,Math.min(l[0].row,R),l[0].column)},Hk=function(u,l,d,h){var y=l.cells;yC(y);var k=aC(u,l.bounds,d,h.merge(y));return Vf(k,Y.from(y[0]))},gy=function(u,l,d,h){var y=function(R,$){return Zm(R,$,d,h.unmerge($))},k=va(l,y,u);return Vf(k,Y.from(l[0]))},Tl=function(u,l,d,h){var y=function(j,ne){var he=pr.fromTable(j);return Rv(he,ne,!0)},k=y(l.clipboard,l.generators),R=wn(l.row,l.column),$=Mk(R,u,k,l.generators,d);return $.fold(function(){return Vf(u,Y.some(l.element))},function(j){return eu(j,l.row,l.column)})},$1=function(u,l,d){var h=zg(u,d.section),y=pr.generate(h);return Rv(y,l,!0)},os=function(u,l,d,h){var y=Uo(u).rows,k=l.cells[0].column,R=y[l.cells[0].row],$=$1(l.clipboard,l.generators,R),j=eg(k,u,$,l.generators,d);return eu(j,l.cells[0].row,l.cells[0].column)},mh=function(u,l,d,h){var y=Uo(u).rows,k=l.cells[l.cells.length-1].column+l.cells[l.cells.length-1].colspan,R=y[l.cells[0].row],$=$1(l.clipboard,l.generators,R),j=eg(k,u,$,l.generators,d);return eu(j,l.cells[0].row,l.cells[0].column)},gh=function(u,l,d,h){var y=Uo(u).rows,k=l.cells[0].row,R=y[k],$=$1(l.clipboard,l.generators,R),j=cC(k,u,$,l.generators,d);return eu(j,l.cells[0].row,l.cells[0].column)},hy=function(u,l,d,h){var y=Uo(u).rows,k=l.cells[l.cells.length-1].row+l.cells[l.cells.length-1].rowspan,R=y[l.cells[0].row],$=$1(l.clipboard,l.generators,R),j=cC(k,u,$,l.generators,d);return eu(j,l.cells[0].row,l.cells[0].column)},Vk=function(u,l){var d=pr.fromTable(u),h=Xc(d,l);return h.bind(function(y){var k=y[y.length-1],R=y[0].column,$=k.column+k.colspan,j=po(yt(d.all,function(ne){return nr(ne.cells,function(he){return he.column>=R&&he.column<$})}));return Y0(j)}).getOr("")},kC=function(u,l){var d=pr.fromTable(u),h=Xc(d,l);return h.bind(Y0).getOr("")},Ou=function(u,l){var d=pr.fromTable(u),h=Xc(d,l);return h.bind(function(y){var k=y[y.length-1],R=y[0].row,$=k.row+k.rowspan,j=d.all.slice(R,$);return Q2(j)}).getOr("")},Hd=function(u,l,d,h){return ts(u,l,d,h.sizing)},hh=function(u,l,d,h){return YT(u,l,d,h.sizing,h.resize)},Sc=function(u,l){return _(l,function(d){return d.column===0&&d.isLocked})},xc=function(u,l){return _(l,function(d){return d.column+d.colspan>=u.grid.columns&&d.isLocked})},Tc=function(u,l){var d=ld(u),h=Id(l);return J(h,function(y,k){var R=d[k.column],$=R.map(Tu).getOr(0);return y+$},0)},is=function(u){return function(l,d){return Xc(l,d).filter(function(h){var y=u?Sc:xc;return!y(l,h)}).map(function(h){return{details:h,pixelDelta:Tc(l,h)}})}},kl=function(u,l){return Lf(u,l).map(function(d){return{details:d,pixelDelta:-Tc(u,d)}})},N1=function(u){return function(l,d){return k1(l,d).filter(function(h){var y=u?Sc:xc;return!y(l,h.cells)})}},kc=Us.transform("th"),El=Us.transform("td"),Uk=Qi(wC,Xc,We,We,Us.modification),Wk=Qi(vy,Xc,We,We,Us.modification),EC=Qi(M1,is(!0),hh,We,Us.modification),OC=Qi(du,is(!1),hh,We,Us.modification),AC=Qi(my,kl,hh,Ld,Us.modification),DC=Qi(TC,Xc,We,Ld,Us.modification),jk=Qi(Lk,Lf,We,We,kc),qk=Qi(CC,Lf,We,We,El),RC=Qi(SC,Lf,We,We,kc),Gk=Qi(P1,Lf,We,We,El),py=Qi(xC,Lf,We,We,El),_C=Qi(Ql,Lf,We,We,kc),by=Qi(dy,Lf,We,We,El),BC=Qi(Hk,ey,Hd,We,Us.merging),Kk=Qi(gy,Pd,Hd,We,Us.merging),Xk=Qi(Tl,Sk,Hd,We,Us.modification),Yk=Qi(os,N1(!0),We,We,Us.modification),Ur=Qi(mh,N1(!1),We,We,Us.modification),Vd=Qi(gh,k1,We,We,Us.modification),rg=Qi(hy,k1,We,We,Us.modification),Ws=Vk,Jk=kC,Pv=Ou,ag=function(u,l,d){var h=function(gu){return Sr(bs(gu))==="table"},y=function(gu){return h(u)===!1||Sl(gu).rows>1},k=function(gu){return h(u)===!1||Sl(gu).columns>1},R=j0(u),$=q2(u)?We:J2,j=function(gu){switch(W0(u)){case"section":return ch.section();case"sectionCells":return ch.sectionCells();case"cells":return ch.cells();default:return ch.getTableSectionType(gu,"section")}},ne=function(gu,Gh){return Gh.cursor.fold(function(){var am=Sf(gu);return bn(am).filter(tr).map(function(Dl){l.clear(gu);var Dc=u.dom.createRng();return Dc.selectNode(Dl.dom),u.selection.setRng(Dc),Si(Dl,"data-mce-selected","1"),Dc})},function(am){var Dl=hk(am),Dc=u.dom.createRng();return Dc.setStart(Dl.element.dom,Dl.offset),Dc.setEnd(Dl.element.dom,Dl.offset),u.selection.setRng(Dc),l.clear(gu),Y.some(Dc)})},he=function(gu,Gh,am,Dl,Dc){return function(Rl,Kh,kg){kg===void 0&&(kg=!1),Ki(Rl);var Xh=Dl(),om=st.fromDom(u.getDoc()),tl=lo(am,om,R),im={sizing:X0(u,Rl),resize:q2(u)?B2():pv(),section:j(Rl)};return Gh(Rl)?gu(Xh,Rl,Kh,tl,im).bind(function(wb){Ht(wb.newRows,function(Yh){r1(u,Yh.dom)}),Ht(wb.newCells,function(Yh){If(u,Yh.dom)});var Cb=ne(Rl,wb);return tr(Rl)&&(Ki(Rl),kg||as(u,Rl.dom,Dc)),Cb.map(function(Yh){return{rng:Yh,effect:Dc}})}):Y.none()}},Ge=he(DC,y,We,d,Oi),bt=he(AC,k,We,d,Oi),at=he(Uk,pt,We,d,Oi),Ke=he(Wk,pt,We,d,Oi),Ot=he(EC,pt,$,d,Oi),Et=he(OC,pt,$,d,Oi),kn=he(BC,pt,We,d,Oi),Jr=he(Kk,pt,We,d,Oi),Nn=he(Yk,pt,We,d,Oi),Zn=he(Ur,pt,We,d,Oi),Hr=he(Vd,pt,We,d,Oi),yr=he(rg,pt,We,d,Oi),Io=he(Xk,pt,We,d,U2),Ni=he(_C,pt,We,d,Oi),Hu=he(by,pt,We,d,Oi),ra=he(jk,pt,We,d,Oi),sr=he(qk,pt,We,d,Oi),qr=he(RC,pt,We,d,Oi),Ea=he(Gk,pt,We,d,Oi),fo=he(py,pt,We,d,Oi),uf=Jk,ya=Ws,qs=Pv;return{deleteRow:Ge,deleteColumn:bt,insertRowsBefore:at,insertRowsAfter:Ke,insertColumnsBefore:Ot,insertColumnsAfter:Et,mergeCells:kn,unmergeCells:Jr,pasteColsBefore:Nn,pasteColsAfter:Zn,pasteRowsBefore:Hr,pasteRowsAfter:yr,pasteCells:Io,makeCellsHeader:Ni,unmakeCellsHeader:Hu,makeColumnsHeader:ra,unmakeColumnsHeader:sr,makeRowsHeader:qr,makeRowsBody:Ea,makeRowsFooter:fo,getTableRowType:qs,getTableCellType:uf,getTableColType:ya}},ph={styles:{"border-collapse":"collapse",width:"100%"},attributes:{border:"1"},colGroups:!1},og=function(){return st.fromTag("th")},MC=function(){return st.fromTag("td")},PC=function(){return st.fromTag("col")},yy=function(u,l,d,h){for(var y=st.fromTag("tr"),k=0;k<u;k++){var R=h<l||k<d?og():MC();k<d&&Si(R,"scope","row"),h<l&&Si(R,"scope","col"),Ao(R,st.fromTag("br")),Ao(y,R)}return y},wy=function(u){var l=st.fromTag("colgroup");return pa(u,function(){return Ao(l,PC())}),l},Ud=function(u,l,d,h){return pa(u,function(y){return yy(l,d,h,y)})},Cy=function(u,l,d,h,y,k){k===void 0&&(k=ph);var R=st.fromTag("table"),$=y!=="cells";zl(R,k.styles),Zo(R,k.attributes),k.colGroups&&Ao(R,wy(l));var j=Math.min(u,d);if($&&d>0){var ne=st.fromTag("thead");Ao(R,ne);var he=y==="sectionCells"?j:0,Ge=Ud(d,l,he,h);gl(ne,Ge)}var bt=st.fromTag("tbody");Ao(R,bt);var at=$?u-j:u,Ke=$?0:d,Ot=Ud(at,l,Ke,h);return gl(bt,Ot),R},Zk=function(u){return u.dom.innerHTML},ef=function(u){var l=st.fromTag("div"),d=st.fromDom(u.dom.cloneNode(!0));return Ao(l,d),Zk(l)},Sy=function(u,l){u.selection.select(l.dom,!0),u.selection.collapse(!0)},I1=function(u,l){_s(l,"td,th").each(ze(Sy,u))},z1=function(u,l){Ht(Rs(l,"tr"),function(d){r1(u,d.dom),Ht(Rs(d,"th,td"),function(h){If(u,h.dom)})})},$C=function(u){return vt(u)&&u.indexOf("%")!==-1},ig=function(u,l,d,h,y){var k=oh(u),R={styles:k,attributes:Gm(u),colGroups:U0(u)};return u.undoManager.ignore(function(){var $=Cy(d,l,y,h,W0(u),R);Si($,"data-mce-id","__mce");var j=ef($);u.insertContent(j),u.addVisual()}),_s(bs(u),'table[data-mce-id="__mce"]').map(function($){return Km(u)?v1($):Ov(u)?d1($):(uh(u)||$C(k.width))&&sh($),Ki($),Xa($,"data-mce-id"),z1(u,$),I1(u,$),$.dom}).getOr(null)},NC=function(u,l,d,h,y){h===void 0&&(h={});var k=function(j){return pn(j)&&j>0};if(k(l)&&k(d)){var R=h.headerRows||0,$=h.headerColumns||0;return ig(u,d,l,$,R)}else return console.error(y),null},IC=function(u){return function(){return u().fold(function(){return[]},function(l){return yt(l,function(d){return d.dom})})}},Ol=function(u){return function(l){var d=l.length>0?Y.some(jc(l)):Y.none();u(d)}},cc=function(u){return function(l,d,h){h===void 0&&(h={});var y=NC(u,d,l,h,"Invalid values for insertTable - rows and columns values are required to insert a table.");return u.undoManager.add(),y}},mu=function(u,l,d,h){return{insertTable:cc(u),setClipboardRows:Ol(l.setRows),getClipboardRows:IC(l.getRows),setClipboardCols:Ol(l.setColumns),getClipboardCols:IC(l.getColumns),resizeHandler:d,selectionTargets:h}},zC=function(u,l,d){var h=gc(u,l,1);d===1||h<=1?Xa(u,l):Si(u,l,Math.min(d,h))},xy=function(u,l,d){if(pr.hasColumns(u)){var h=nr(pr.justColumns(u),function(R){return R.column>=l&&R.column<d}),y=yt(h,function(R){var $=ba(R.element);return zC($,"span",d-l),$}),k=st.fromTag("colgroup");return gl(k,y),[k]}else return[]},ug=function(u,l,d){return yt(u.all,function(h){var y=nr(h.cells,function($){return $.column>=l&&$.column<d}),k=yt(y,function($){var j=ba($.element);return zC(j,"colspan",d-l),j}),R=st.fromTag("tr");return gl(R,k),R})},FC=function(u,l){var d=pr.fromTable(u),h=Lf(d,l);return h.map(function(y){var k=y[y.length-1],R=y[0].column,$=k.column+k.colspan,j=xy(d,R,$),ne=ug(d,R,$);return da(da([],j,!0),ne,!0)})},LC=function(u,l,d){var h=pr.fromTable(u),y=Xc(h,l);return y.bind(function(k){var R=Rv(h,d,!1),$=Uo(R).rows,j=$.slice(k[0].row,k[k.length-1].row+k[k.length-1].rowspan),ne=$n(j,function(Ge){var bt=nr(Ge.cells,function(at){return!at.isLocked});return bt.length>0?[An(An({},Ge),{cells:bt})]:[]}),he=fh(ne);return $a(he.length>0,he)}).map(function(k){return S1(k)})},HC=tinymce.util.Tools.resolve("tinymce.util.Tools"),F1=function(u,l,d){var h=u.select("td,th",l),y,k=function(R,$){for(var j=0;j<$.length;j++){var ne=u.getStyle($[j],d);if(typeof R=="undefined"&&(R=ne),R!==ne)return""}return R};return k(y,h)},L1=function(u,l,d){d&&u.formatter.apply("align"+d,{},l)},VC=function(u,l,d){d&&u.formatter.apply("valign"+d,{},l)},Vt=function(u,l){HC.each("left center right".split(" "),function(d){u.formatter.remove("align"+d,{},l)})},Pi=function(u,l){HC.each("top middle bottom".split(" "),function(d){u.formatter.remove("valign"+d,{},l)})},Wd=[{text:"None",value:""},{text:"Top",value:"top"},{text:"Middle",value:"middle"},{text:"Bottom",value:"bottom"}],$i=function(u){return{value:u}},Ec=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,Ty=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,jd=function(u){return Ec.test(u)||Ty.test(u)},H1=function(u){return ln(u,"#").toUpperCase()},sg=function(u){return jd(u)?Y.some({value:H1(u)}):Y.none()},qd=function(u){var l=u.toString(16);return(l.length===1?"0"+l:l).toUpperCase()},bh=function(u){var l=qd(u.red)+qd(u.green)+qd(u.blue);return $i(l)},Qk=/^rgb\((\d+),\s*(\d+),\s*(\d+)\)/,eE=/^rgba\((\d+),\s*(\d+),\s*(\d+),\s*(\d?(?:\.\d+)?)\)/,ky=function(u,l,d,h){return{red:u,green:l,blue:d,alpha:h}},Ey=function(u,l,d,h){var y=parseInt(u,10),k=parseInt(l,10),R=parseInt(d,10),$=parseFloat(h);return ky(y,k,R,$)},UC=function(u){if(u==="transparent")return Y.some(ky(0,0,0,0));var l=Qk.exec(u);if(l!==null)return Y.some(Ey(l[1],l[2],l[3],"1"));var d=eE.exec(u);return d!==null?Y.some(Ey(d[1],d[2],d[3],d[4])):Y.none()},Gd=function(u){return sg(u).orThunk(function(){return UC(u).map(bh)}).getOrThunk(function(){var l=document.createElement("canvas");l.height=1,l.width=1;var d=l.getContext("2d");d.clearRect(0,0,l.width,l.height),d.fillStyle="#FFFFFF",d.fillStyle=u,d.fillRect(0,0,1,1);var h=d.getImageData(0,0,1,1).data,y=h[0],k=h[1],R=h[2],$=h[3];return bh(ky(y,k,R,$))})},Jc=function(u){var l=u,d=function(){return l},h=function(y){l=y};return{get:d,set:h}},yh=function(u){var l=Jc(Y.none()),d=function(){return l.get().each(u)},h=function(){d(),l.set(Y.none())},y=function(){return l.get().isSome()},k=function(){return l.get()},R=function($){d(),l.set(Y.some($))};return{clear:h,isSet:y,get:k,set:R}},Oy=function(){return yh(function(u){return u.unbind()})},Kd=function(){var u=yh(We),l=function(d){return u.get().each(d)};return An(An({},u),{on:l})},wh=function(u,l,d,h){return function(y){var k=Oy(),R=ma(h),$=function(){var j=Xi(l),ne=function(he){return u.formatter.match(d,{value:h},he.dom,R)};R?(y.setActive(!_(j,ne)),k.set(u.formatter.formatChanged(d,function(he){return y.setActive(!he)},!0))):(y.setActive(cn(j,ne)),k.set(u.formatter.formatChanged(d,y.setActive,!1,{value:h})))};return u.initialized?$():u.on("init",$),k.clear}},Ch=function(u){return fe(u,"menu")},tf=function(u){return yt(u,function(l){var d=l.text||l.title;return Ch(l)?{text:d,items:tf(l.menu)}:{text:d,value:l.value}})},Oc=function(u,l,d,h,y){return yt(d,function(k){var R=k.text||k.title;return Ch(k)?{type:"nestedmenuitem",text:R,getSubmenuItems:function(){return Oc(u,l,k.menu,h,y)}}:{text:R,type:"togglemenuitem",onAction:function(){return y(k.value)},onSetup:wh(u,l,h,k.value)}})},$v=function(u,l){return function(d){var h;u.execCommand("mceTableApplyCellStyle",!1,(h={},h[l]=d,h))}},Xd=function(u){return $n(u,function(l){return Ch(l)?[An(An({},l),{menu:Xd(l.menu)})]:Tr(l.value)?[l]:[]})},Sh=function(u,l,d,h,y){return function(k){return k(Oc(u,l,d,h,y))}},V1=function(u,l,d){var h=yt(l,function(y){return{text:y.title,value:"#"+Gd(y.value).value,type:"choiceitem"}});return[{type:"fancymenuitem",fancytype:"colorswatch",initData:{colors:h.length>0?h:void 0,allowCustomColors:!1},onAction:function(y){var k,R=y.value==="remove"?"":y.value;u.execCommand("mceTableApplyCellStyle",!1,(k={},k[d]=R,k))}}]},xh=function(u){return function(){var l=u.queryCommandValue("mceTableRowType"),d=l==="header"?"body":"header";u.execCommand("mceTableRowType",!1,{type:d})}},Ay=function(u){return function(){var l=u.queryCommandValue("mceTableColType"),d=l==="th"?"td":"th";u.execCommand("mceTableColType",!1,{type:d})}},tE=function(u){var l=tf(V0(u));return l.length>0?Y.some({name:"class",type:"listbox",label:"Class",items:l}):Y.none()},U1=[{name:"width",type:"input",label:"Width"},{name:"height",type:"input",label:"Height"},{name:"celltype",type:"listbox",label:"Cell type",items:[{text:"Cell",value:"td"},{text:"Header cell",value:"th"}]},{name:"scope",type:"listbox",label:"Scope",items:[{text:"None",value:""},{text:"Row",value:"row"},{text:"Column",value:"col"},{text:"Row group",value:"rowgroup"},{text:"Column group",value:"colgroup"}]},{name:"halign",type:"listbox",label:"Horizontal align",items:[{text:"None",value:""},{text:"Left",value:"left"},{text:"Center",value:"center"},{text:"Right",value:"right"}]},{name:"valign",type:"listbox",label:"Vertical align",items:Wd}],tu=function(u){return U1.concat(tE(u).toArray())},lc=function(u,l){var d=[{text:"Select...",value:""}],h=[{name:"borderstyle",type:"listbox",label:"Border style",items:d.concat(tf(Hs(u)))},{name:"bordercolor",type:"colorinput",label:"Border color"},{name:"backgroundcolor",type:"colorinput",label:"Background color"}],y={name:"borderwidth",type:"input",label:"Border width"},k=l==="cell"?[y].concat(h):h;return{title:"Advanced",name:"advanced",items:k}},Zc=function(u){return function(l,d){var h=l.dom,y=function($,j){(!u||j)&&h.setAttrib(d,$,j)},k=function($,j){(!u||j)&&h.setStyle(d,$,j)},R=function($,j){(!u||j)&&(j===""?l.formatter.remove($,{value:null},d,!0):l.formatter.apply($,{value:j},d))};return{setAttrib:y,setStyle:k,setFormat:R}}},Al={normal:Zc(!1),ifTruthy:Zc(!0)},nf=function(u){return function(l){return xr(l,"rgb")?u.toHex(l):l}},Nv=function(u,l){var d=st.fromDom(l);return{borderwidth:Ju(d,"border-width").getOr(""),borderstyle:Ju(d,"border-style").getOr(""),bordercolor:Ju(d,"border-color").map(nf(u)).getOr(""),backgroundcolor:Ju(d,"background-color").map(nf(u)).getOr("")}},cg=function(u){var l=u[0],d=u.slice(1);return Ht(d,function(h){Ht(Jo(l),function(y){la(h,function(k,R){var $=l[y];$!==""&&y===R&&$!==k&&(l[y]="")})})}),l},WC=function(u,l,d,h){return dt(u,function(y){return!Ar(d.formatter.matchNode(h,l+y))}).getOr("")},Th=ze(WC,["left","center","right"],"align"),nE=ze(WC,["top","middle","bottom"],"valign"),Dy=function(u,l){var d=oh(u),h=Gm(u),y=function(he){return{borderstyle:lr(d,"border-style").getOr(""),bordercolor:nf(he)(lr(d,"border-color").getOr("")),backgroundcolor:nf(he)(lr(d,"background-color").getOr(""))}},k={height:"",width:"100%",cellspacing:"",cellpadding:"",caption:!1,class:"",align:"",border:""},R=function(){var he=d["border-width"];return Ai(u)&&he?{border:he}:lr(h,"border").fold(function(){return{}},function(Ge){return{border:Ge}})},$=l?y(u.dom):{},j=function(){var he=lr(d,"border-spacing").or(lr(h,"cellspacing")).fold(function(){return{}},function(bt){return{cellspacing:bt}}),Ge=lr(d,"border-padding").or(lr(h,"cellpadding")).fold(function(){return{}},function(bt){return{cellpadding:bt}});return An(An({},he),Ge)},ne=An(An(An(An(An(An({},k),d),h),$),R()),j());return ne},jC=function(u){return so(st.fromDom(u)).map(function(l){var d={selection:jc(u.cells)};return Pv(l,d)}).getOr("")},qC=function(u,l,d){var h=function($,j){var ne=Ju(st.fromDom(j),"border-width");return Ai(u)&&ne.isSome()?ne.getOr(""):$.getAttrib(j,"border")||F1(u.dom,j,"border-width")||F1(u.dom,j,"border")},y=u.dom,k=Ai(u)?y.getStyle(l,"border-spacing")||y.getAttrib(l,"cellspacing"):y.getAttrib(l,"cellspacing")||y.getStyle(l,"border-spacing"),R=Ai(u)?F1(y,l,"padding")||y.getAttrib(l,"cellpadding"):y.getAttrib(l,"cellpadding")||F1(y,l,"padding");return An({width:y.getStyle(l,"width")||y.getAttrib(l,"width"),height:y.getStyle(l,"height")||y.getAttrib(l,"height"),cellspacing:k,cellpadding:R,border:h(y,l),caption:!!y.select("caption",l)[0],class:y.getAttrib(l,"class",""),align:Th(u,l)},d?Nv(y,l):{})},Ry=function(u,l,d){var h=u.dom;return An({height:h.getStyle(l,"height")||h.getAttrib(l,"height"),class:h.getAttrib(l,"class",""),type:jC(l),align:Th(u,l)},d?Nv(h,l):{})},_y=function(u,l,d,h){var y=u.dom,k=h.getOr(l),R=function($,j){return y.getStyle($,j)||y.getAttrib($,j)};return An({width:R(k,"width"),height:R(l,"height"),scope:y.getAttrib(l,"scope"),celltype:Lp(l),class:y.getAttrib(l,"class",""),halign:Th(u,l),valign:nE(u,l)},d?Nv(y,l):{})},Ba=function(u,l){var d=pr.fromTable(u),h=pr.justCells(d),y=nr(h,function(k){return _(l,function(R){return Cr(k.element,R)})});return yt(y,function(k){return{element:k.element.dom,column:pr.getColumnAt(d,k.column).map(function(R){return R.element.dom})}})},rf=function(u,l,d){u.setAttrib("scope",d.scope),u.setAttrib("class",d.class),u.setStyle("height",ku(d.height)),l.setStyle("width",ku(d.width))},GC=function(u,l){u.setFormat("tablecellbackgroundcolor",l.backgroundcolor),u.setFormat("tablecellbordercolor",l.bordercolor),u.setFormat("tablecellborderstyle",l.borderstyle),u.setFormat("tablecellborderwidth",ku(l.borderwidth))},By=function(u,l,d){var h=l.length===1;Ht(l,function(y){var k=y.element,R=h?Al.normal(u,k):Al.ifTruthy(u,k),$=y.column.map(function(j){return h?Al.normal(u,j):Al.ifTruthy(u,j)}).getOr(R);rf(R,$,d),ih(u)&&GC(R,d),h&&(Vt(u,k),Pi(u,k)),d.halign&&L1(u,k,d.halign),d.valign&&VC(u,k,d.valign)})},My=function(u,l){u.execCommand("mceTableCellType",!1,{type:l.celltype,no_events:!0})},kh=function(u,l,d,h){var y=Ye(h,function(k,R){return d[R]!==k});hn(y)>0&&l.length>=1&&so(l[0]).each(function(k){var R=Ba(k,l),$=hn(Ye(y,function(ne,he){return he!=="scope"&&he!=="celltype"}))>0,j=V(y,"celltype");($||V(y,"scope"))&&By(u,R,h),j&&My(u,h),as(u,k.dom,{structure:j,style:$})})},Wn=function(u,l,d,h){var y=h.getData();h.close(),u.undoManager.transact(function(){kh(u,l,d,y),u.focus()})},Py=function(u,l){var d=so(l[0]).map(function(h){return yt(Ba(h,l),function(y){return _y(u,y.element,ih(u),y.column)})});return cg(d.getOrDie())},KC=function(u,l){var d=Xi(l);if(d.length!==0){var h=Py(u,d),y={type:"tabpanel",tabs:[{title:"General",name:"general",items:tu(u)},lc(u,"cell")]},k={type:"panel",items:[{type:"grid",columns:2,items:tu(u)}]};u.windowManager.open({title:"Cell Properties",size:"normal",body:ih(u)?y:k,buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:h,onSubmit:ze(Wn,u,d,h)})}},rE=function(u){var l=tf(Ve(u));return l.length>0?Y.some({name:"class",type:"listbox",label:"Class",items:l}):Y.none()},XC=[{type:"listbox",name:"type",label:"Row type",items:[{text:"Header",value:"header"},{text:"Body",value:"body"},{text:"Footer",value:"footer"}]},{type:"listbox",name:"align",label:"Alignment",items:[{text:"None",value:""},{text:"Left",value:"left"},{text:"Center",value:"center"},{text:"Right",value:"right"}]},{label:"Height",name:"height",type:"input"}],YC=function(u){return XC.concat(rE(u).toArray())},$y=function(u,l){u.setAttrib("class",l.class),u.setStyle("height",ku(l.height))},Ny=function(u,l){u.setStyle("background-color",l.backgroundcolor),u.setStyle("border-color",l.bordercolor),u.setStyle("border-style",l.borderstyle)},W1=function(u,l,d,h){var y=l.length===1;Ht(l,function(k){var R=y?Al.normal(u,k):Al.ifTruthy(u,k);$y(R,d),s1(u)&&Ny(R,d),d.align!==h.align&&(Vt(u,k),L1(u,k,d.align))})},aE=function(u,l){u.execCommand("mceTableRowType",!1,{type:l.type,no_events:!0})},JC=function(u,l,d,h){var y=Ye(h,function($,j){return d[j]!==$});if(hn(y)>0){var k=V(y,"type"),R=k?hn(y)>1:!0;R&&W1(u,l,h,d),k&&aE(u,h),so(st.fromDom(l[0])).each(function($){return as(u,$.dom,{structure:k,style:R})})}},oE=function(u,l,d,h){var y=h.getData();h.close(),u.undoManager.transact(function(){JC(u,l,d,y),u.focus()})},js=function(u){var l=jT(di(u),bd.selected);if(l.length!==0){var d=yt(l,function(R){return Ry(u,R.dom,s1(u))}),h=cg(d),y={type:"tabpanel",tabs:[{title:"General",name:"general",items:YC(u)},lc(u,"row")]},k={type:"panel",items:[{type:"grid",columns:2,items:YC(u)}]};u.windowManager.open({title:"Row Properties",size:"normal",body:s1(u)?y:k,buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:h,onSubmit:ze(oE,u,yt(l,function(R){return R.dom}),h)})}},us=function(u,l,d){var h=d?[{type:"input",name:"cols",label:"Cols",inputMode:"numeric"},{type:"input",name:"rows",label:"Rows",inputMode:"numeric"}]:[],y=[{type:"input",name:"width",label:"Width"},{type:"input",name:"height",label:"Height"}],k=Kc(u)?[{type:"input",name:"cellspacing",label:"Cell spacing",inputMode:"numeric"},{type:"input",name:"cellpadding",label:"Cell padding",inputMode:"numeric"},{type:"input",name:"border",label:"Border width"},{type:"label",label:"Caption",items:[{type:"checkbox",name:"caption",label:"Show caption"}]}]:[],R=[{type:"listbox",name:"align",label:"Alignment",items:[{text:"None",value:""},{text:"Left",value:"left"},{text:"Center",value:"center"},{text:"Right",value:"right"}]}],$=l.length>0?[{type:"listbox",name:"class",label:"Class",items:l}]:[];return h.concat(y).concat(k).concat(R).concat($)},Iv=function(u,l,d,h){if(l.tagName==="TD"||l.tagName==="TH")vt(d)?u.setStyle(l,d,h):u.setStyle(l,d);else if(l.children)for(var y=0;y<l.children.length;y++)Iv(u,l.children[y],d,h)},ZC=function(u,l,d){var h=u.dom,y={},k={};if(y.class=d.class,k.height=ku(d.height),h.getAttrib(l,"width")&&!Ai(u)?y.width=Hp(d.width):k.width=ku(d.width),Ai(u)?(k["border-width"]=ku(d.border),k["border-spacing"]=ku(d.cellspacing)):(y.border=d.border,y.cellpadding=d.cellpadding,y.cellspacing=d.cellspacing),Ai(u)&&l.children)for(var R=0;R<l.children.length;R++)Iv(h,l.children[R],{"border-width":ku(d.border),padding:ku(d.cellpadding)}),Vs(u)&&Iv(h,l.children[R],{"border-color":d.bordercolor});Vs(u)&&(k["background-color"]=d.backgroundcolor,k["border-color"]=d.bordercolor,k["border-style"]=d.borderstyle),y.style=h.serializeStyle(An(An({},oh(u)),k)),h.setAttribs(l,An(An({},Gm(u)),y))},iE=function(u,l,d,h){var y=u.dom,k=h.getData(),R=Ye(k,function($,j){return d[j]!==$});h.close(),k.class===""&&delete k.class,u.undoManager.transact(function(){if(!l){var $=parseInt(k.cols,10)||1,j=parseInt(k.rows,10)||1;l=ig(u,$,j,0,0)}if(hn(R)>0){ZC(u,l,k);var ne=y.select("caption",l)[0];(ne&&!k.caption||!ne&&k.caption)&&u.execCommand("mceTableToggleCaption"),k.align===""?Vt(u,l):L1(u,l,k.align)}if(u.focus(),u.addVisual(),hn(R)>0){var he=V(R,"caption"),Ge=he?hn(R)>1:!0;as(u,l,{structure:he,style:Ge})}})},QC=function(u,l){var d=u.dom,h,y=Dy(u,Vs(u));l===!1?(h=d.getParent(u.selection.getStart(),"table",u.getBody()),h?y=qC(u,h,Vs(u)):Vs(u)&&(y.borderstyle="",y.bordercolor="",y.backgroundcolor="")):(y.cols="1",y.rows="1",Vs(u)&&(y.borderstyle="",y.bordercolor="",y.backgroundcolor=""));var k=tf(Ev(u));k.length>0&&y.class&&(y.class=y.class.replace(/\s*mce\-item\-table\s*/g,""));var R={type:"grid",columns:2,items:us(u,k,l)},$=function(){return{type:"panel",items:[R]}},j=function(){return{type:"tabpanel",tabs:[{title:"General",name:"general",items:[R]},lc(u,"table")]}},ne=Vs(u)?j():$();u.windowManager.open({title:"Table Properties",size:"normal",body:ne,onSubmit:ze(iE,u,h,y),buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:y})},Or=function(u){return wd(di(u),Gi(u))},eS=function(u){return Fs(di(u),Gi(u))},Eh=function(u,l,d,h,y){var k=Gi(u),R=function(){return Or(u).each(function(Nn){so(Nn,k).filter(Ee(k)).each(function(Zn){var Hr=st.fromText("");if(Ua(Zn,Hr),gs(Zn),u.dom.isEmpty(u.getBody()))u.setContent(""),u.selection.setCursorLocation();else{var yr=u.dom.createRng();yr.setStart(Hr.dom,0),yr.setEnd(Hr.dom,0),u.selection.setRng(yr),u.nodeChanged()}})})},$=function(Nn){return Or(u).each(function(Zn){var Hr=Ov(u)||Km(u)||uh(u);Hr||so(Zn,k).each(function(yr){Nn==="relative"&&!$2(yr)?sh(yr):Nn==="fixed"&&!bv(yr)?v1(yr):Nn==="responsive"&&!rh(yr)&&d1(yr),Ki(yr),as(u,yr.dom,Oi)})})},j=function(Nn){return so(Nn,k)},ne=function(Nn){return eS(u).bind(function(Zn){return j(Zn).map(function(Hr){return Nn(Hr,Zn)})})},he=function(Nn,Zn){ne(function(Hr){u.formatter.toggle("tableclass",{value:Zn},Hr.dom),as(u,Hr.dom,o1)})},Ge=function(Nn,Zn){ne(function(Hr){var yr=Xi(h),Io=cn(yr,function(Hu){return u.formatter.match("tablecellclass",{value:Zn},Hu.dom)}),Ni=Io?u.formatter.remove:u.formatter.apply;Ht(yr,function(Hu){return Ni("tablecellclass",{value:Zn},Hu.dom)}),as(u,Hr.dom,o1)})},bt=function(){Or(u).each(function(Nn){so(Nn,k).each(function(Zn){Yn(Zn,"caption").fold(function(){var Hr=st.fromTag("caption");Ao(Hr,st.fromText("Caption")),kT(Zn,Hr,0),u.selection.setCursorLocation(Hr.dom,0)},function(Hr){to("caption")(Nn)&&qu("td",Zn).each(function(yr){return u.selection.setCursorLocation(yr.dom,0)}),gs(Hr)}),as(u,Zn.dom,Oi)})})},at=function(Nn){u.focus()},Ke=function(Nn,Zn){return Zn===void 0&&(Zn=!1),ne(function(Hr,yr){var Io=dv(h,Hr,yr);Nn(Hr,Io,Zn).each(at)})},Ot=function(){return ne(function(Nn,Zn){var Hr=dv(h,Nn,Zn),yr=lo(We,st.fromDom(u.getDoc()),Y.none());return LC(Nn,Hr,yr)})},Et=function(){return ne(function(Nn,Zn){var Hr=dv(h,Nn,Zn);return FC(Nn,Hr)})},kn=function(Nn,Zn){return Zn().each(function(Hr){var yr=yt(Hr,function(Io){return ba(Io)});ne(function(Io,Ni){var Hu=zs(st.fromDom(u.getDoc())),ra=D2(h,Ni,yr,Hu);Nn(Io,ra).each(at)})})},Jr=function(Nn){return function(Zn,Hr){return lr(Hr,"type").each(function(yr){Ke(Nn(yr),Hr.no_events)})}};la({mceTableSplitCells:function(){return Ke(l.unmergeCells)},mceTableMergeCells:function(){return Ke(l.mergeCells)},mceTableInsertRowBefore:function(){return Ke(l.insertRowsBefore)},mceTableInsertRowAfter:function(){return Ke(l.insertRowsAfter)},mceTableInsertColBefore:function(){return Ke(l.insertColumnsBefore)},mceTableInsertColAfter:function(){return Ke(l.insertColumnsAfter)},mceTableDeleteCol:function(){return Ke(l.deleteColumn)},mceTableDeleteRow:function(){return Ke(l.deleteRow)},mceTableCutCol:function(){return Et().each(function(Nn){y.setColumns(Nn),Ke(l.deleteColumn)})},mceTableCutRow:function(){return Ot().each(function(Nn){y.setRows(Nn),Ke(l.deleteRow)})},mceTableCopyCol:function(){return Et().each(function(Nn){return y.setColumns(Nn)})},mceTableCopyRow:function(){return Ot().each(function(Nn){return y.setRows(Nn)})},mceTablePasteColBefore:function(){return kn(l.pasteColsBefore,y.getColumns)},mceTablePasteColAfter:function(){return kn(l.pasteColsAfter,y.getColumns)},mceTablePasteRowBefore:function(){return kn(l.pasteRowsBefore,y.getRows)},mceTablePasteRowAfter:function(){return kn(l.pasteRowsAfter,y.getRows)},mceTableDelete:R,mceTableCellToggleClass:Ge,mceTableToggleClass:he,mceTableToggleCaption:bt,mceTableSizingMode:function(Nn,Zn){return $(Zn)},mceTableCellType:Jr(function(Nn){return Nn==="th"?l.makeCellsHeader:l.unmakeCellsHeader}),mceTableColType:Jr(function(Nn){return Nn==="th"?l.makeColumnsHeader:l.unmakeColumnsHeader}),mceTableRowType:Jr(function(Nn){switch(Nn){case"header":return l.makeRowsHeader;case"footer":return l.makeRowsFooter;default:return l.makeRowsBody}})},function(Nn,Zn){return u.addCommand(Zn,Nn)}),la({mceTableProps:ze(QC,u,!1),mceTableRowProps:ze(js,u),mceTableCellProps:ze(KC,u,h)},function(Nn,Zn){return u.addCommand(Zn,function(){return Nn()})}),u.addCommand("mceInsertTable",function(Nn,Zn){Xt(Zn)&&Jo(Zn).length>0?NC(u,Zn.rows,Zn.columns,Zn.options,"Invalid values for mceInsertTable - rows and columns values are required to insert a table."):QC(u,!0)}),u.addCommand("mceTableApplyCellStyle",function(Nn,Zn){var Hr=function(Ni){return"tablecell"+Ni.toLowerCase().replace("-","")};if(!!Xt(Zn)){var yr=Xi(h);if(yr.length!==0){var Io=Ye(Zn,function(Ni,Hu){return u.formatter.has(Hr(Hu))&&vt(Ni)});Te(Io)||(la(Io,function(Ni,Hu){Ht(yr,function(ra){Al.normal(u,ra.dom).setFormat(Hr(Hu),Ni)})}),j(yr[0]).each(function(Ni){return as(u,Ni.dom,o1)}))}}})},lg=function(u,l,d){var h=Gi(u),y=function(k){return Fs(di(u)).bind(function(R){return so(R,h).map(function($){var j=dv(d,$,R);return k($,j)})}).getOr("")};la({mceTableRowType:function(){return y(l.getTableRowType)},mceTableCellType:function(){return y(l.getTableCellType)},mceTableColType:function(){return y(l.getTableColType)}},function(k,R){return u.addQueryValueHandler(R,k)})},j1=function(){var u=Kd(),l=Kd();return{getRows:u.get,setRows:function(d){d.fold(u.clear,u.set),l.clear()},clearRows:u.clear,getColumns:l.get,setColumns:function(d){d.fold(l.clear,l.set),u.clear()},clearColumns:l.clear}},fg={remove_similar:!0,inherit:!1},vg=An({selector:"td,th"},fg),uE={tablecellbackgroundcolor:An({styles:{backgroundColor:"%value"}},vg),tablecellverticalalign:An({styles:{"vertical-align":"%value"}},vg),tablecellbordercolor:An({styles:{borderColor:"%value"}},vg),tablecellclass:An({classes:["%value"]},vg),tableclass:An({selector:"table",classes:["%value"]},fg),tablecellborderstyle:An({styles:{borderStyle:"%value"}},vg),tablecellborderwidth:An({styles:{borderWidth:"%value"}},vg)},sE=function(u){u.formatter.register(uE)},Iy=Hl.generate([{none:["current"]},{first:["current"]},{middle:["current","target"]},{last:["current"]}]),zy=function(u){return u===void 0&&(u=void 0),Iy.none(u)},Yd=An(An({},Iy),{none:zy}),q1=function(u,l,d,h,y){y===void 0&&(y=pt);var k=h===1;if(!k&&d<=0)return Yd.first(u[0]);if(k&&d>=u.length-1)return Yd.last(u[u.length-1]);var R=d+h,$=u[R];return y($)?Yd.middle(l,$):q1(u,l,R,h,y)},tS=function(u,l){return so(u,l).bind(function(d){var h=Sf(d),y=Nt(h,function(k){return Cr(u,k)});return y.map(function(k){return{index:k,all:h}})})},cE=function(u,l,d){var h=tS(u,d);return h.fold(function(){return Yd.none(u)},function(y){return q1(y.all,u,y.index,1,l)})},Fy=function(u,l,d){var h=tS(u,d);return h.fold(function(){return Yd.none()},function(y){return q1(y.all,u,y.index,-1,l)})},lE=function(u,l,d,h){return{start:u,soffset:l,finish:d,foffset:h}},Oh={create:lE},Ly=Hl.generate([{before:["element"]},{on:["element","offset"]},{after:["element"]}]),Mn=function(u,l,d,h){return u.fold(l,d,h)},nS=function(u){return u.fold(sn,sn,sn)},fE=Ly.before,rS=Ly.on,dg=Ly.after,ss={before:fE,on:rS,after:dg,cata:Mn,getStart:nS},Ah=Hl.generate([{domRange:["rng"]},{relative:["startSitu","finishSitu"]},{exact:["start","soffset","finish","foffset"]}]),vE=function(u){return Ah.exact(u.start,u.soffset,u.finish,u.foffset)},Hy=function(u){return u.match({domRange:function(l){return st.fromDom(l.startContainer)},relative:function(l,d){return ss.getStart(l)},exact:function(l,d,h,y){return l}})},G1=Ah.domRange,aS=Ah.relative,oS=Ah.exact,iS=function(u){var l=Hy(u);return Zs(l)},uS=Oh.create,Uf={domRange:G1,relative:aS,exact:oS,exactFromRange:vE,getWin:iS,range:uS},dE=function(u,l){var d=u.document.createRange();return d.selectNode(l.dom),d},mE=function(u,l){var d=u.document.createRange();return mg(d,l),d},mg=function(u,l){return u.selectNodeContents(l.dom)},gE=function(u,l){l.fold(function(d){u.setStartBefore(d.dom)},function(d,h){u.setStart(d.dom,h)},function(d){u.setStartAfter(d.dom)})},hE=function(u,l){l.fold(function(d){u.setEndBefore(d.dom)},function(d,h){u.setEnd(d.dom,h)},function(d){u.setEndAfter(d.dom)})},ca=function(u,l,d){var h=u.document.createRange();return gE(h,l),hE(h,d),h},gg=function(u,l,d,h,y){var k=u.document.createRange();return k.setStart(l.dom,d),k.setEnd(h.dom,y),k},zv=function(u){return{left:u.left,top:u.top,right:u.right,bottom:u.bottom,width:u.width,height:u.height}},af=function(u){var l=u.getClientRects(),d=l.length>0?l[0]:u.getBoundingClientRect();return d.width>0||d.height>0?Y.some(d).map(zv):Y.none()},Fv=Hl.generate([{ltr:["start","soffset","finish","foffset"]},{rtl:["start","soffset","finish","foffset"]}]),Lu=function(u,l,d){return l(st.fromDom(d.startContainer),d.startOffset,st.fromDom(d.endContainer),d.endOffset)},K1=function(u,l){return l.match({domRange:function(d){return{ltr:Fe(d),rtl:Y.none}},relative:function(d,h){return{ltr:Fo(function(){return ca(u,d,h)}),rtl:Fo(function(){return Y.some(ca(u,h,d))})}},exact:function(d,h,y,k){return{ltr:Fo(function(){return gg(u,d,h,y,k)}),rtl:Fo(function(){return Y.some(gg(u,y,k,d,h))})}}})},Dh=function(u,l){var d=l.ltr();if(d.collapsed){var h=l.rtl().filter(function(y){return y.collapsed===!1});return h.map(function(y){return Fv.rtl(st.fromDom(y.endContainer),y.endOffset,st.fromDom(y.startContainer),y.startOffset)}).getOrThunk(function(){return Lu(u,Fv.ltr,d)})}else return Lu(u,Fv.ltr,d)},hg=function(u,l){var d=K1(u,l);return Dh(u,d)},Lv=function(u,l){var d=hg(u,l);return d.match({ltr:function(h,y,k,R){var $=u.document.createRange();return $.setStart(h.dom,y),$.setEnd(k.dom,R),$},rtl:function(h,y,k,R){var $=u.document.createRange();return $.setStart(k.dom,R),$.setEnd(h.dom,y),$}})};Fv.ltr,Fv.rtl;var pE=function(u,l,d,h,y){if(y===0)return 0;if(l===h)return y-1;for(var k=h,R=1;R<y;R++){var $=u(R),j=Math.abs(l-$.left);if(d<=$.bottom){if(d<$.top||j>k)return R-1;k=j}}return 0},sS=function(u,l,d){return l>=u.left&&l<=u.right&&d>=u.top&&d<=u.bottom},X1=function(u,l,d,h,y){var k=function(ne){var he=u.dom.createRange();return he.setStart(l.dom,ne),he.collapse(!0),he},R=function(ne){var he=k(ne);return he.getBoundingClientRect()},$=Rp(l).length,j=pE(R,d,h,y.right,$);return k(j)},bE=function(u,l,d,h){var y=u.dom.createRange();y.selectNode(l.dom);var k=y.getClientRects(),R=Qr(k,function($){return sS($,d,h)?Y.some($):Y.none()});return R.map(function($){return X1(u,l,d,h,$)})},Lr=function(u,l,d,h){var y=u.dom.createRange(),k=w(l);return Qr(k,function(R){return y.selectNode(R.dom),sS(y.getBoundingClientRect(),d,h)?Qc(u,R,d,h):Y.none()})},Qc=function(u,l,d,h){return wi(l)?bE(u,l,d,h):Lr(u,l,d,h)},pg=function(u,l,d,h){var y=u.dom.createRange();y.selectNode(l.dom);var k=y.getBoundingClientRect(),R=Math.max(k.left,Math.min(k.right,d)),$=Math.max(k.top,Math.min(k.bottom,h));return Qc(u,l,R,$)},cS=!0,Rh=!1,Wr=function(u,l){return l-u.left<u.right-l?cS:Rh},Vy=function(u,l,d){var h=u.dom.createRange();return h.selectNode(l.dom),h.collapse(d),h},lS=function(u,l,d){var h=u.dom.createRange();h.selectNode(l.dom);var y=h.getBoundingClientRect(),k=Wr(y,d),R=k===cS?Zg:Fp;return R(l).map(function($){return Vy(u,$,k)})},_h=function(u,l,d){var h=l.dom.getBoundingClientRect(),y=Wr(h,d);return Y.some(Vy(u,l,y))},fS=function(u,l,d){var h=w(l).length===0?_h:lS;return h(u,l,d)},Bh=function(u,l,d){var h,y;return Y.from((y=(h=u.dom).caretPositionFromPoint)===null||y===void 0?void 0:y.call(h,l,d)).bind(function(k){if(k.offsetNode===null)return Y.none();var R=u.dom.createRange();return R.setStart(k.offsetNode,k.offset),R.collapse(),Y.some(R)})},Wf=function(u,l,d){var h,y;return Y.from((y=(h=u.dom).caretRangeFromPoint)===null||y===void 0?void 0:y.call(h,l,d))},Uy=function(u,l,d,h){var y=u.dom.createRange();y.selectNode(l.dom);var k=y.getBoundingClientRect(),R=Math.max(k.left,Math.min(k.right,d)),$=Math.max(k.top,Math.min(k.bottom,h));return pg(u,l,R,$)},vS=function(u,l,d){return st.fromPoint(u,l,d).bind(function(h){var y=function(){return fS(u,h,l)};return w(h).length===0?y():Uy(u,h,l,d).orThunk(y)})},yE=function(){return document.caretPositionFromPoint?Bh:document.caretRangeFromPoint?Wf:vS}(),wE=function(u,l,d){var h=st.fromDom(u.document);return yE(h,l,d).map(function(y){return Oh.create(st.fromDom(y.startContainer),y.startOffset,st.fromDom(y.endContainer),y.endOffset)})},Hv=function(u,l){var d=Sr(u);return d==="input"?ss.after(u):Ir(["br","img"],d)?l===0?ss.before(u):ss.after(u):ss.on(u,l)},Jd=function(u,l){var d=u.fold(ss.before,Hv,ss.after),h=l.fold(ss.before,Hv,ss.after);return Uf.relative(d,h)},bg=function(u,l,d,h){var y=Hv(u,l),k=Hv(d,h);return Uf.relative(y,k)},dS=function(u){return u.match({domRange:function(l){var d=st.fromDom(l.startContainer),h=st.fromDom(l.endContainer);return bg(d,l.startOffset,h,l.endOffset)},relative:Jd,exact:bg})},Wy=function(u,l,d,h){var y=Ds(u),k=y.dom.createRange();return k.setStart(u.dom,l),k.setEnd(d.dom,h),k},CE=function(u,l,d,h){var y=Wy(u,l,d,h),k=Cr(u,d)&&l===h;return y.collapsed&&!k},Y1=function(u){return Y.from(u.getSelection())},J1=function(u,l){Y1(u).each(function(d){d.removeAllRanges(),d.addRange(l)})},jy=function(u,l,d,h,y){var k=gg(u,l,d,h,y);J1(u,k)},SE=function(u,l,d,h,y,k){l.collapse(d.dom,h),l.extend(y.dom,k)},qy=function(u,l){return hg(u,l).match({ltr:function(d,h,y,k){jy(u,d,h,y,k)},rtl:function(d,h,y,k){Y1(u).each(function(R){if(R.setBaseAndExtent)R.setBaseAndExtent(d.dom,h,y.dom,k);else if(R.extend)try{SE(u,R,d,h,y,k)}catch{jy(u,y,k,d,h)}else jy(u,y,k,d,h)})}})},Z1=function(u,l,d,h,y){var k=bg(l,d,h,y);qy(u,k)},Q1=function(u,l,d){var h=Jd(l,d);qy(u,h)},Gy=function(u){var l=Uf.getWin(u).dom,d=function(y,k,R,$){return gg(l,y,k,R,$)},h=dS(u);return hg(l,h).match({ltr:d,rtl:d})},Zd=function(u){if(u.rangeCount>0){var l=u.getRangeAt(0),d=u.getRangeAt(u.rangeCount-1);return Y.some(Oh.create(st.fromDom(l.startContainer),l.startOffset,st.fromDom(d.endContainer),d.endOffset))}else return Y.none()},eb=function(u){if(u.anchorNode===null||u.focusNode===null)return Zd(u);var l=st.fromDom(u.anchorNode),d=st.fromDom(u.focusNode);return CE(l,u.anchorOffset,d,u.focusOffset)?Y.some(Oh.create(l,u.anchorOffset,d,u.focusOffset)):Zd(u)},Ky=function(u,l,d){d===void 0&&(d=!0);var h=d?mE:dE,y=h(u,l);J1(u,y)},tb=function(u){return Y1(u).filter(function(l){return l.rangeCount>0}).bind(eb)},Mh=function(u){return tb(u).map(function(l){return Uf.exact(l.start,l.soffset,l.finish,l.foffset)})},mS=function(u,l){var d=Lv(u,l);return af(d)},xE=function(u,l,d){return wE(u,l,d)},gS=function(u){Y1(u).each(function(l){return l.removeAllRanges()})},hS=tinymce.util.Tools.resolve("tinymce.util.VK"),Xy=function(u,l,d){return Yy(u,l,cE(d,jm))},pS=function(u,l,d){return Yy(u,l,Fy(d,jm))},bS=function(u,l){var d=Uf.exact(l,0,l,0);return Gy(d)},Yy=function(u,l,d){return d.fold(Y.none,Y.none,function(h,y){return Zg(y).map(function(k){return bS(u,k)})},function(h){return u.execCommand("mceTableInsertRowAfter"),Xy(u,l,h)})},Jy=["table","li","dl"],TE=function(u,l,d){if(u.keyCode===hS.TAB){var h=bs(l),y=function($){var j=Sr($);return Cr($,h)||Ir(Jy,j)},k=l.selection.getRng(),R=st.fromDom(u.shiftKey?k.startContainer:k.endContainer);dl(R,y).each(function($){u.preventDefault(),so($,y).each(d.clear),l.selection.collapse(u.shiftKey);var j=u.shiftKey?pS:Xy,ne=j(l,y,$);ne.each(function(he){l.selection.setRng(he)})})}},kE=function(u,l){return{selection:u,kill:l}},yg={create:kE},EE=function(u,l,d,h){return{start:ss.on(u,l),finish:ss.on(d,h)}},Vv={create:EE},yS=function(u,l){var d=Lv(u,l);return Oh.create(st.fromDom(d.startContainer),d.startOffset,st.fromDom(d.endContainer),d.endOffset)},Qd=Vv.create,nb=function(u,l,d,h,y,k,R){return Cr(d,y)&&h===k?Y.none():Eo(d,"td,th",l).bind(function($){return Eo(y,"td,th",l).bind(function(j){return wS(u,l,$,j,R)})})},wS=function(u,l,d,h,y){return Cr(d,h)?Y.none():iv(d,h,l).bind(function(k){var R=k.boxes.getOr([]);return R.length>1?(y(u,R,k.start,k.finish),Y.some(yg.create(Y.some(Qd(d,0,d,Wc(d))),!0))):Y.none()})},Zy=function(u,l,d,h,y){var k=function(R){return y.clearBeforeUpdate(d),y.selectRange(d,R.boxes,R.start,R.finish),R.boxes};return Em(h,u,l,y.firstSelectedSelector,y.lastSelectedSelector).map(k)},Ph=function(u,l){return{item:u,mode:l}},Qy=function(u,l,d,h){return h===void 0&&(h=em),u.property().parent(l).map(function(y){return Ph(y,h)})},em=function(u,l,d,h){return h===void 0&&(h=$h),d.sibling(u,l).map(function(y){return Ph(y,h)})},$h=function(u,l,d,h){h===void 0&&(h=$h);var y=u.property().children(l),k=d.first(y);return k.map(function(R){return Ph(R,h)})},OE=[{current:Qy,next:em,fallback:Y.none()},{current:em,next:$h,fallback:Y.some(Qy)},{current:$h,next:$h,fallback:Y.some(em)}],CS=function(u,l,d,h,y){y===void 0&&(y=OE);var k=dt(y,function(R){return R.current===d});return k.bind(function(R){return R.current(u,l,h,R.next).orThunk(function(){return R.fallback.bind(function($){return CS(u,l,$,h)})})})},wg=function(){var u=function(d,h){return d.query().prevSibling(h)},l=function(d){return d.length>0?Y.some(d[d.length-1]):Y.none()};return{sibling:u,first:l}},AE=function(){var u=function(d,h){return d.query().nextSibling(h)},l=function(d){return d.length>0?Y.some(d[0]):Y.none()};return{sibling:u,first:l}},Nh={left:wg,right:AE},Ih=function(u,l,d,h,y,k){var R=CS(u,l,h,y);return R.bind(function($){return k($.item)?Y.none():d($.item)?Y.some($.item):Ih(u,$.item,d,$.mode,y,k)})},SS=function(u,l,d,h){return Ih(u,l,d,em,Nh.left(),h)},Ac=function(u,l,d,h){return Ih(u,l,d,em,Nh.right(),h)},ew=function(u){return function(l){return u.property().children(l).length===0}},rb=function(u,l,d){return tw(u,l,ew(u),d)},DE=function(u,l,d){return xS(u,l,ew(u),d)},tw=SS,xS=Ac,ab=Vg(),zh=function(u,l){return rb(ab,u,l)},nw=function(u,l){return DE(ab,u,l)},TS=function(u,l,d){return tw(ab,u,l,d)},kS=function(u,l,d){return xS(ab,u,l,d)},jf=function(u,l,d){return xo(u,l,d).isSome()},ob=Hl.generate([{none:["message"]},{success:[]},{failedUp:["cell"]},{failedDown:["cell"]}]),RE=function(u,l,d){var h=u.getRect(l),y=u.getRect(d);return y.right>h.left&&y.left<h.right},rw=function(u){return Eo(u,"tr")},_E=function(u,l,d,h,y,k,R){return Eo(h,"td,th",R).bind(function($){return Eo(l,"td,th",R).map(function(j){return Cr($,j)?Cr(h,$)&&Wc($)===y?k(j):ob.none("in same cell"):Dn(rw,[$,j]).fold(function(){return RE(u,j,$)?ob.success():k(j)},function(ne){return k(j)})})}).getOr(ob.none("default"))},aw=function(u,l,d,h,y){return u.fold(l,d,h,y)},Cg=An(An({},ob),{verify:_E,cata:aw}),ib=function(u,l,d,h){return{parent:u,children:l,element:d,index:h}},BE=function(u){return no(u).bind(function(l){var d=w(l);return ES(d,u).map(function(h){return ib(l,d,u,h)})})},ES=function(u,l){return Nt(u,ze(Cr,l))},ow=function(u){return Sr(u)==="br"},iw=function(u,l,d){return l(u,d).bind(function(h){return wi(h)&&Rp(h).trim().length===0?iw(h,l,d):Y.some(h)})},ME=function(u,l,d){return d.traverse(l).orThunk(function(){return iw(l,d.gather,u)}).map(d.relative)},ub=function(u,l){return D(u,l).filter(ow).orThunk(function(){return D(u,l-1).filter(ow)})},OS=function(u,l,d,h){return ub(l,d).bind(function(y){return h.traverse(y).fold(function(){return iw(y,h.gather,u).map(h.relative)},function(k){return BE(k).map(function(R){return ss.on(R.parent,R.index)})})})},AS=function(u,l,d,h){var y=ow(l)?ME(u,l,h):OS(u,l,d,h);return y.map(function(k){return{start:k,finish:k}})},DS=function(u){return Cg.cata(u,function(l){return Y.none()},function(){return Y.none()},function(l){return Y.some(Xm(l,0))},function(l){return Y.some(Xm(l,Wc(l)))})},Fh=function(u,l){return{left:u.left,top:u.top+l,right:u.right,bottom:u.bottom+l}},Lh=function(u,l){return{left:u.left,top:u.top-l,right:u.right,bottom:u.bottom-l}},tm=function(u,l,d){return{left:u.left+l,top:u.top+d,right:u.right+l,bottom:u.bottom+d}},RS=function(u){return u.top},_S=function(u){return u.bottom},sb=function(u,l,d){return d>=0&&d<Wc(l)?u.getRangedRect(l,d,l,d+1):d>0?u.getRangedRect(l,d-1,l,d):Y.none()},cb=function(u){return{left:u.left,top:u.top,right:u.right,bottom:u.bottom}},uw=function(u,l){return Y.some(u.getRect(l))},sw=function(u,l,d){return Vr(l)?uw(u,l).map(cb):wi(l)?sb(u,l,d).map(cb):Y.none()},BS=function(u,l){return Vr(l)?uw(u,l).map(cb):wi(l)?u.getRangedRect(l,0,l,Wc(l)).map(cb):Y.none()},of=5,cw=100,el=Hl.generate([{none:[]},{retry:["caret"]}]),PE=function(u,l){return u.left<l.left||Math.abs(l.right-u.left)<1||u.left>l.right},qf=function(u,l,d){return Ep(l,Yc).fold(qt,function(h){return BS(u,h).exists(function(y){return PE(d,y)})})},MS=function(u,l,d,h,y){var k=Fh(y,of);return Math.abs(d.bottom-h.bottom)<1||d.top>y.bottom?el.retry(k):d.top===y.bottom?el.retry(Fh(y,1)):qf(u,l,y)?el.retry(tm(k,of,0)):el.none()},PS=function(u,l,d,h,y){var k=Lh(y,of);return Math.abs(d.top-h.top)<1||d.bottom<y.top?el.retry(k):d.bottom===y.top?el.retry(Lh(y,1)):qf(u,l,y)?el.retry(tm(k,of,0)):el.none()},$E={point:RS,adjuster:PS,move:Lh,gather:zh},NE={point:_S,adjuster:MS,move:Fh,gather:nw},Sg=function(u,l,d){return u.elementFromPoint(l,d).filter(function(h){return Sr(h)==="table"}).isSome()},xg=function(u,l,d,h,y){return lb(u,l,d,l.move(h,of),y)},lb=function(u,l,d,h,y){return y===0?Y.some(h):Sg(u,h.left,l.point(h))?xg(u,l,d,h,y-1):u.situsFromPoint(h.left,l.point(h)).bind(function(k){return k.start.fold(Y.none,function(R){return BS(u,R).bind(function($){return l.adjuster(u,R,$,d,h).fold(Y.none,function(j){return lb(u,l,d,j,y-1)})}).orThunk(function(){return Y.some(h)})},Y.none)})},$S=function(u,l){return u.situsFromPoint(l.left,l.bottom+of)},Uv=function(u,l){return u.situsFromPoint(l.left,l.top-of)},Wv=function(u,l,d){return u.point(l)>d.getInnerHeight()?Y.some(u.point(l)-d.getInnerHeight()):u.point(l)<0?Y.some(-u.point(l)):Y.none()},NS=function(u,l,d){var h=u.move(d,of),y=lb(l,u,d,h,cw).getOr(h);return Wv(u,y,l).fold(function(){return l.situsFromPoint(y.left,u.point(y))},function(k){return l.scrollBy(0,k),l.situsFromPoint(y.left,u.point(y)-k)})},Hh={tryUp:ze(NS,$E),tryDown:ze(NS,NE),ieTryUp:Uv,ieTryDown:$S,getJumpSize:Fe(of)},nm=20,Vn=function(u,l,d){return u.getSelection().bind(function(h){return AS(l,h.finish,h.foffset,d).fold(function(){return Y.some(Xm(h.finish,h.foffset))},function(y){var k=u.fromSitus(y),R=Cg.verify(u,h.finish,h.foffset,k.finish,k.foffset,d.failure,l);return DS(R)})})},lw=function(u,l,d,h,y,k){return k===0?Y.none():Gf(u,l,d,h,y).bind(function(R){var $=u.fromSitus(R),j=Cg.verify(u,d,h,$.finish,$.foffset,y.failure,l);return Cg.cata(j,function(){return Y.none()},function(){return Y.some(R)},function(ne){return Cr(d,ne)&&h===0?fb(u,d,h,Lh,y):lw(u,l,ne,0,y,k-1)},function(ne){return Cr(d,ne)&&h===Wc(ne)?fb(u,d,h,Fh,y):lw(u,l,ne,Wc(ne),y,k-1)})})},fb=function(u,l,d,h,y){return sw(u,l,d).bind(function(k){return fw(u,y,h(k,Hh.getJumpSize()))})},fw=function(u,l,d){var h=Fn().browser;return h.isChrome()||h.isSafari()||h.isFirefox()||h.isEdge()?l.otherRetry(u,d):h.isIE()?l.ieRetry(u,d):Y.none()},Gf=function(u,l,d,h,y){return sw(u,d,h).bind(function(k){return fw(u,y,k)})},vb=function(u,l,d){return Vn(u,l,d).bind(function(h){return lw(u,l,h.element,h.offset,d,nm).map(u.fromSitus)})},Vh=function(u,l){return jf(u,function(d){return no(d).exists(function(h){return Cr(h,l)})})},db=function(u,l,d,h,y){return Eo(h,"td,th",l).bind(function(k){return Eo(k,"table",l).bind(function(R){return Vh(y,R)?vb(u,l,d).bind(function($){return Eo($.finish,"td,th",l).map(function(j){return{start:k,finish:j,range:$}})}):Y.none()})})},vw=function(u,l,d,h,y,k){return Fn().browser.isIE()?Y.none():k(h,l).orThunk(function(){return db(u,l,d,h,y).map(function(R){var $=R.range;return yg.create(Y.some(Qd($.start,$.soffset,$.finish,$.foffset)),!0)})})},dw=function(u,l){return Eo(u,"tr",l).bind(function(d){return Eo(d,"table",l).bind(function(h){var y=Rs(h,"tr");return Cr(d,y[0])?TS(h,function(k){return Fp(k).isSome()},l).map(function(k){var R=Wc(k);return yg.create(Y.some(Qd(k,R,k,R)),!0)}):Y.none()})})},ir=function(u,l){return Eo(u,"tr",l).bind(function(d){return Eo(d,"table",l).bind(function(h){var y=Rs(h,"tr");return Cr(d,y[y.length-1])?kS(h,function(k){return Zg(k).isSome()},l).map(function(k){return yg.create(Y.some(Qd(k,0,k,0)),!0)}):Y.none()})})},IS=function(u,l,d,h,y,k,R){return db(u,d,h,y,k).bind(function($){return wS(l,d,$.start,$.finish,R)})},gr=function(u,l){return Eo(u,"td,th",l)},zS=function(u,l,d,h){var y=Kd(),k=y.clear,R=function(he){y.on(function(Ge){h.clearBeforeUpdate(l),gr(he.target,d).each(function(bt){iv(Ge,bt,d).each(function(at){var Ke=at.boxes.getOr([]);if(Ke.length===1){var Ot=Ke[0],Et=e1(Ot)==="false",kn=fl(Qp(he.target),Ot,Cr);Et&&kn&&(h.selectRange(l,Ke,Ot,Ot),u.selectContents(Ot))}else Ke.length>1&&(h.selectRange(l,Ke,at.start,at.finish),u.selectContents(bt))})})})},$=function(he){h.clear(l),gr(he.target,d).each(y.set)},j=function(he){R(he)},ne=function(he){R(he),k()};return{clearstate:k,mousedown:$,mouseover:j,mouseup:ne}},Uh={traverse:T,gather:nw,relative:ss.before,otherRetry:Hh.tryDown,ieRetry:Hh.ieTryDown,failure:Cg.failedDown},mb={traverse:M,gather:zh,relative:ss.before,otherRetry:Hh.tryUp,ieRetry:Hh.ieTryUp,failure:Cg.failedUp},jv=function(u){return function(l){return l===u}},mw=jv(38),gb=jv(40),Wh=function(u){return u>=37&&u<=40},FS={isBackward:jv(37),isForward:jv(39)},Jn={isBackward:jv(39),isForward:jv(37)},LS=function(u){var l=u!==void 0?u.dom:document,d=l.body.scrollLeft||l.documentElement.scrollLeft,h=l.body.scrollTop||l.documentElement.scrollTop;return Ia(d,h)},HS=function(u,l,d){var h=d!==void 0?d.dom:document,y=h.defaultView;y&&y.scrollBy(u,l)},Tg=function(u){var l=function(Et,kn){return st.fromPoint(st.fromDom(u.document),Et,kn)},d=function(Et){return Et.dom.getBoundingClientRect()},h=function(Et,kn,Jr,Nn){var Zn=Uf.exact(Et,kn,Jr,Nn);return mS(u,Zn)},y=function(){return Mh(u).map(function(Et){return yS(u,Et)})},k=function(Et){var kn=Uf.relative(Et.start,Et.finish);return yS(u,kn)},R=function(Et,kn){return xE(u,Et,kn).map(function(Jr){return Vv.create(Jr.start,Jr.soffset,Jr.finish,Jr.foffset)})},$=function(){gS(u)},j=function(Et){Et===void 0&&(Et=!1),Mh(u).each(function(kn){return kn.fold(function(Jr){return Jr.collapse(Et)},function(Jr,Nn){var Zn=Et?Jr:Nn;Q1(u,Zn,Zn)},function(Jr,Nn,Zn,Hr){var yr=Et?Jr:Zn,Io=Et?Nn:Hr;Z1(u,yr,Io,yr,Io)})})},ne=function(Et){Ky(u,Et,!1)},he=function(Et){Ky(u,Et)},Ge=function(Et){Z1(u,Et.start,Et.soffset,Et.finish,Et.foffset)},bt=function(Et,kn){Q1(u,Et,kn)},at=function(){return u.innerHeight},Ke=function(){var Et=LS(st.fromDom(u.document));return Et.top},Ot=function(Et,kn){HS(Et,kn,st.fromDom(u.document))};return{elementFromPoint:l,getRect:d,getRangedRect:h,getSelection:y,fromSitus:k,situsFromPoint:R,clearSelection:$,collapseSelection:j,setSelection:Ge,setRelativeSelection:bt,selectNode:ne,selectContents:he,getInnerHeight:at,getScrollY:Ke,scrollBy:Ot}},rm=function(u,l){return{rows:u,cols:l}},VS=function(u,l,d,h){var y=Tg(u),k=zS(y,l,d,h);return{clearstate:k.clearstate,mousedown:k.mousedown,mouseover:k.mouseover,mouseup:k.mouseup}},US=function(u,l,d,h){var y=Tg(u),k=function(){return h.clear(l),Y.none()},R=function(j,ne,he,Ge,bt,at){var Ke=j.raw,Ot=Ke.which,Et=Ke.shiftKey===!0,kn=km(l,h.selectedSelector).fold(function(){return Wh(Ot)&&!Et&&h.clearBeforeUpdate(l),gb(Ot)&&Et?ze(IS,y,l,d,Uh,Ge,ne,h.selectRange):mw(Ot)&&Et?ze(IS,y,l,d,mb,Ge,ne,h.selectRange):gb(Ot)?ze(vw,y,d,Uh,Ge,ne,ir):mw(Ot)?ze(vw,y,d,mb,Ge,ne,dw):Y.none},function(Jr){var Nn=function(Zn){return function(){var Hr=Qr(Zn,function(yr){return Zy(yr.rows,yr.cols,l,Jr,h)});return Hr.fold(function(){return zc(l,h.firstSelectedSelector,h.lastSelectedSelector).map(function(yr){var Io=gb(Ot)||at.isForward(Ot)?ss.after:ss.before;return y.setRelativeSelection(ss.on(yr.first,0),Io(yr.table)),h.clear(l),yg.create(Y.none(),!0)})},function(yr){return Y.some(yg.create(Y.none(),!0))})}};return gb(Ot)&&Et?Nn([rm(1,0)]):mw(Ot)&&Et?Nn([rm(-1,0)]):at.isBackward(Ot)&&Et?Nn([rm(0,-1),rm(-1,0)]):at.isForward(Ot)&&Et?Nn([rm(0,1),rm(1,0)]):Wh(Ot)&&!Et?k:Y.none});return kn()},$=function(j,ne,he,Ge,bt){return km(l,h.selectedSelector).fold(function(){var at=j.raw,Ke=at.which,Ot=at.shiftKey===!0;return Ot&&Wh(Ke)?nb(l,d,ne,he,Ge,bt,h.selectRange):Y.none()},Y.none)};return{keydown:R,keyup:$}},gw=function(u,l,d,h){var y=Tg(u);return function(k,R){h.clearBeforeUpdate(l),iv(k,R,d).each(function($){var j=$.boxes.getOr([]);h.selectRange(l,j,$.start,$.finish),y.selectContents(R),y.collapseSelection()})}},hb=function(u,l){Ht(l,function(d){Cv(u,d)})},WS=function(u){return function(l){za(l,u)}},pb=function(u){return function(l){hb(l,u)}},jS=function(u){var l=WS(u.selected),d=pb([u.selected,u.lastSelected,u.firstSelected]),h=function(k){var R=Rs(k,u.selectedSelector);Ht(R,d)},y=function(k,R,$,j){h(k),Ht(R,l),za($,u.firstSelected),za(j,u.lastSelected)};return{clearBeforeUpdate:h,clear:h,selectRange:y,selectedSelector:u.selectedSelector,firstSelectedSelector:u.firstSelectedSelector,lastSelectedSelector:u.lastSelectedSelector}},qS=function(u,l,d){var h=function(j){Xa(j,u.selected),Xa(j,u.firstSelected),Xa(j,u.lastSelected)},y=function(j){Si(j,u.selected,"1")},k=function(j){R(j),d()},R=function(j){var ne=Rs(j,u.selectedSelector+","+u.firstSelectedSelector+","+u.lastSelectedSelector);Ht(ne,h)},$=function(j,ne,he,Ge){k(j),Ht(ne,y),Si(he,u.firstSelected,"1"),Si(Ge,u.lastSelected,"1"),l(ne,he,Ge)};return{clearBeforeUpdate:R,clear:k,selectRange:$,selectedSelector:u.selectedSelector,firstSelectedSelector:u.firstSelectedSelector,lastSelectedSelector:u.lastSelectedSelector}},IE={byClass:jS,byAttr:qS},zE=function(u,l){var d=u.slice(0,l[l.length-1].row+1),h=fh(d);return $n(h,function(y){var k=y.cells.slice(0,l[l.length-1].column+1);return yt(k,function(R){return R.element})})},FE=function(u,l){var d=u.slice(l[0].row+l[0].rowspan-1,u.length),h=fh(d);return $n(h,function(y){var k=y.cells.slice(l[0].column+l[0].colspan-1,y.cells.length);return yt(k,function(R){return R.element})})},LE=function(u,l,d){var h=pr.fromTable(u),y=Xc(h,l);return y.map(function(k){var R=Rv(h,d,!1),$=zE(R,k),j=FE(R,k);return{upOrLeftCells:$,downOrRightCells:j}})},GS=tinymce.util.Tools.resolve("tinymce.Env"),hw=function(u){return _a(st.fromDom(u.target),"ephox-snooker-resizer-bar")===!1};function jr(u,l,d){var h=function(R,$,j){d.targets().each(function(ne){var he=so($);he.each(function(Ge){var bt=j0(u),at=lo(We,st.fromDom(u.getDoc()),bt),Ke=LE(Ge,ne,at);fk(u,R,$,j,Ke)})})},y=function(){return a1(u)},k=IE.byAttr(bd,h,y);return u.on("init",function(R){var $=u.getWin(),j=bs(u),ne=Gi(u),he=function(){var ra=u.selection,sr=st.fromDom(ra.getStart()),qr=st.fromDom(ra.getEnd()),Ea=Dn(so,[sr,qr]);Ea.fold(function(){return k.clear(j)},We)},Ge=VS($,j,ne,k),bt=US($,j,ne,k),at=gw($,j,ne,k),Ke=function(ra){return ra.raw.shiftKey===!0};u.on("TableSelectorChange",function(ra){return at(ra.start,ra.finish)});var Ot=function(ra,sr){!Ke(ra)||(sr.kill&&ra.kill(),sr.selection.each(function(qr){var Ea=Uf.relative(qr.start,qr.finish),fo=Lv($,Ea);u.selection.setRng(fo)}))},Et=function(ra){var sr=kd(ra);if(sr.raw.shiftKey&&Wh(sr.raw.which)){var qr=u.selection.getRng(),Ea=st.fromDom(qr.startContainer),fo=st.fromDom(qr.endContainer);bt.keyup(sr,Ea,qr.startOffset,fo,qr.endOffset).each(function(uf){Ot(sr,uf)})}},kn=function(ra){var sr=kd(ra);l().each(function(ya){return ya.hideBars()});var qr=u.selection.getRng(),Ea=st.fromDom(qr.startContainer),fo=st.fromDom(qr.endContainer),uf=Ns(FS,Jn)(st.fromDom(u.selection.getStart()));bt.keydown(sr,Ea,qr.startOffset,fo,qr.endOffset,uf).each(function(ya){Ot(sr,ya)}),l().each(function(ya){return ya.showBars()})},Jr=function(ra){return ra.button===0},Nn=function(ra){return ra.buttons===void 0||GS.browser.isEdge()&&ra.buttons===0?!0:(ra.buttons&1)!==0},Zn=function(ra){Ge.clearstate()},Hr=function(ra){Jr(ra)&&hw(ra)&&Ge.mousedown(kd(ra))},yr=function(ra){Nn(ra)&&hw(ra)&&Ge.mouseover(kd(ra))},Io=function(ra){Jr(ra)&&hw(ra)&&Ge.mouseup(kd(ra))},Ni=function(){var ra=Jc(st.fromDom(j)),sr=Jc(0),qr=function(Ea){var fo=st.fromDom(Ea.target);if(Sr(fo)==="td"||Sr(fo)==="th"){var uf=ra.get(),ya=sr.get();Cr(uf,fo)&&Ea.timeStamp-ya<300&&(Ea.preventDefault(),at(fo,fo))}ra.set(fo),sr.set(Ea.timeStamp)};return{touchEnd:qr}},Hu=Ni();u.on("dragstart",Zn),u.on("mousedown",Hr),u.on("mouseover",yr),u.on("mouseup",Io),u.on("touchend",Hu.touchEnd),u.on("keyup",Et),u.on("keydown",kn),u.on("NodeChange",he)}),{clear:k.clear}}var KS=function(u,l){return Yn(u,l).isSome()},jh=function(u,l){var d=Jc(Y.none()),h=Jc([]),y=Y.none(),k=to("caption"),R=function(sr){return y.forall(function(qr){return!qr[sr]})},$=function(){return wd(di(u),Gi(u))},j=function(){return wd(on(u),Gi(u))},ne=function(){return $().bind(function(sr){return pf(Bs(so(sr),j().bind(so),function(qr,Ea){return Cr(qr,Ea)?k(sr)?Y.some(Gl(sr)):Y.some(dv(l,qr,sr)):Y.none()}))})},he=function(sr){var qr=so(sr.element);return qr.map(function(Ea){var fo=pr.fromTable(Ea),uf=Xc(fo,sr).getOr([]),ya=J(uf,function(qs,gu){return gu.isLocked&&(qs.onAny=!0,gu.column===0?qs.onFirst=!0:gu.column+gu.colspan>=fo.grid.columns&&(qs.onLast=!0)),qs},{onAny:!1,onFirst:!1,onLast:!1});return{mergeable:ey(fo,sr).isSome(),unmergeable:Pd(fo,sr).isSome(),locked:ya}})},Ge=function(){d.set(Fo(ne)()),y=d.get().bind(he),Ht(h.get(),function(sr){return sr()})},bt=function(sr){return sr(),h.set(h.get().concat([sr])),function(){h.set(nr(h.get(),function(qr){return qr!==sr}))}},at=function(sr,qr){return bt(function(){return d.get().fold(function(){sr.setDisabled(!0)},function(Ea){sr.setDisabled(qr(Ea))})})},Ke=function(sr,qr,Ea){return bt(function(){return d.get().fold(function(){sr.setDisabled(!0),sr.setActive(!1)},function(fo){sr.setDisabled(qr(fo)),sr.setActive(Ea(fo))})})},Ot=function(sr){return y.exists(function(qr){return qr.locked[sr]})},Et=function(sr){return at(sr,function(qr){return!1})},kn=function(sr){return at(sr,function(qr){return k(qr.element)})},Jr=function(sr){return function(qr){return at(qr,function(Ea){return k(Ea.element)||Ot(sr)})}},Nn=function(sr){return function(qr){return at(qr,function(Ea){return k(Ea.element)||sr().isNone()})}},Zn=function(sr,qr){return function(Ea){return at(Ea,function(fo){return k(fo.element)||sr().isNone()||Ot(qr)})}},Hr=function(sr){return at(sr,function(qr){return R("mergeable")})},yr=function(sr){return at(sr,function(qr){return R("unmergeable")})},Io=function(sr){return Ke(sr,qt,function(qr){var Ea=so(qr.element,Gi(u));return Ea.exists(function(fo){return KS(fo,"caption")})})},Ni=function(sr,qr){return function(Ea){return Ke(Ea,function(fo){return k(fo.element)},function(){return u.queryCommandValue(sr)===qr})}},Hu=Ni("mceTableRowType","header"),ra=Ni("mceTableColType","th");return u.on("NodeChange ExecCommand TableSelectorChange",Ge),{onSetupTable:Et,onSetupCellOrRow:kn,onSetupColumn:Jr,onSetupPasteable:Nn,onSetupPasteableColumn:Zn,onSetupMergeable:Hr,onSetupUnmergeable:yr,resetTargets:Ge,onSetupTableWithCaption:Io,onSetupTableRowHeaders:Hu,onSetupTableColumnHeaders:ra,targets:d.get}},qh=function(u,l,d,h){u.ui.registry.addMenuButton("table",{tooltip:"Table",icon:"table",fetch:function($){return $("inserttable | cell row column | advtablesort | tableprops deletetable")}});var y=function($){return function(){return u.execCommand($)}};u.ui.registry.addButton("tableprops",{tooltip:"Table properties",onAction:y("mceTableProps"),icon:"table",onSetup:d.onSetupTable}),u.ui.registry.addButton("tabledelete",{tooltip:"Delete table",onAction:y("mceTableDelete"),icon:"table-delete-table",onSetup:d.onSetupTable}),u.ui.registry.addButton("tablecellprops",{tooltip:"Cell properties",onAction:y("mceTableCellProps"),icon:"table-cell-properties",onSetup:d.onSetupCellOrRow}),u.ui.registry.addButton("tablemergecells",{tooltip:"Merge cells",onAction:y("mceTableMergeCells"),icon:"table-merge-cells",onSetup:d.onSetupMergeable}),u.ui.registry.addButton("tablesplitcells",{tooltip:"Split cell",onAction:y("mceTableSplitCells"),icon:"table-split-cells",onSetup:d.onSetupUnmergeable}),u.ui.registry.addButton("tableinsertrowbefore",{tooltip:"Insert row before",onAction:y("mceTableInsertRowBefore"),icon:"table-insert-row-above",onSetup:d.onSetupCellOrRow}),u.ui.registry.addButton("tableinsertrowafter",{tooltip:"Insert row after",onAction:y("mceTableInsertRowAfter"),icon:"table-insert-row-after",onSetup:d.onSetupCellOrRow}),u.ui.registry.addButton("tabledeleterow",{tooltip:"Delete row",onAction:y("mceTableDeleteRow"),icon:"table-delete-row",onSetup:d.onSetupCellOrRow}),u.ui.registry.addButton("tablerowprops",{tooltip:"Row properties",onAction:y("mceTableRowProps"),icon:"table-row-properties",onSetup:d.onSetupCellOrRow}),u.ui.registry.addButton("tableinsertcolbefore",{tooltip:"Insert column before",onAction:y("mceTableInsertColBefore"),icon:"table-insert-column-before",onSetup:d.onSetupColumn("onFirst")}),u.ui.registry.addButton("tableinsertcolafter",{tooltip:"Insert column after",onAction:y("mceTableInsertColAfter"),icon:"table-insert-column-after",onSetup:d.onSetupColumn("onLast")}),u.ui.registry.addButton("tabledeletecol",{tooltip:"Delete column",onAction:y("mceTableDeleteCol"),icon:"table-delete-column",onSetup:d.onSetupColumn("onAny")}),u.ui.registry.addButton("tablecutrow",{tooltip:"Cut row",icon:"cut-row",onAction:y("mceTableCutRow"),onSetup:d.onSetupCellOrRow}),u.ui.registry.addButton("tablecopyrow",{tooltip:"Copy row",icon:"duplicate-row",onAction:y("mceTableCopyRow"),onSetup:d.onSetupCellOrRow}),u.ui.registry.addButton("tablepasterowbefore",{tooltip:"Paste row before",icon:"paste-row-before",onAction:y("mceTablePasteRowBefore"),onSetup:d.onSetupPasteable(h.getRows)}),u.ui.registry.addButton("tablepasterowafter",{tooltip:"Paste row after",icon:"paste-row-after",onAction:y("mceTablePasteRowAfter"),onSetup:d.onSetupPasteable(h.getRows)}),u.ui.registry.addButton("tablecutcol",{tooltip:"Cut column",icon:"cut-column",onAction:y("mceTableCutCol"),onSetup:d.onSetupColumn("onAny")}),u.ui.registry.addButton("tablecopycol",{tooltip:"Copy column",icon:"duplicate-column",onAction:y("mceTableCopyCol"),onSetup:d.onSetupColumn("onAny")}),u.ui.registry.addButton("tablepastecolbefore",{tooltip:"Paste column before",icon:"paste-column-before",onAction:y("mceTablePasteColBefore"),onSetup:d.onSetupPasteableColumn(h.getColumns,"onFirst")}),u.ui.registry.addButton("tablepastecolafter",{tooltip:"Paste column after",icon:"paste-column-after",onAction:y("mceTablePasteColAfter"),onSetup:d.onSetupPasteableColumn(h.getColumns,"onLast")}),u.ui.registry.addButton("tableinsertdialog",{tooltip:"Insert table",onAction:y("mceInsertTable"),icon:"table"});var k=Xd(Ev(u));k.length!==0&&u.ui.registry.addMenuButton("tableclass",{icon:"table-classes",tooltip:"Table styles",fetch:Sh(u,l,k,"tableclass",function($){return u.execCommand("mceTableToggleClass",!1,$)}),onSetup:d.onSetupTable});var R=Xd(V0(u));R.length!==0&&u.ui.registry.addMenuButton("tablecellclass",{icon:"table-cell-classes",tooltip:"Cell styles",fetch:Sh(u,l,R,"tablecellclass",function($){return u.execCommand("mceTableCellToggleClass",!1,$)}),onSetup:d.onSetupCellOrRow}),u.ui.registry.addMenuButton("tablecellvalign",{icon:"vertical-align",tooltip:"Vertical align",fetch:Sh(u,l,Wd,"tablecellverticalalign",$v(u,"vertical-align")),onSetup:d.onSetupCellOrRow}),u.ui.registry.addMenuButton("tablecellborderwidth",{icon:"border-width",tooltip:"Border width",fetch:Sh(u,l,i1(u),"tablecellborderwidth",$v(u,"border-width")),onSetup:d.onSetupCellOrRow}),u.ui.registry.addMenuButton("tablecellborderstyle",{icon:"border-style",tooltip:"Border style",fetch:Sh(u,l,Hs(u),"tablecellborderstyle",$v(u,"border-style")),onSetup:d.onSetupCellOrRow}),u.ui.registry.addToggleButton("tablecaption",{tooltip:"Table caption",onAction:y("mceTableToggleCaption"),icon:"table-caption",onSetup:d.onSetupTableWithCaption}),u.ui.registry.addMenuButton("tablecellbackgroundcolor",{icon:"cell-background-color",tooltip:"Background color",fetch:function($){return $(V1(u,G0(u),"background-color"))},onSetup:d.onSetupCellOrRow}),u.ui.registry.addMenuButton("tablecellbordercolor",{icon:"cell-border-color",tooltip:"Border color",fetch:function($){return $(V1(u,K0(u),"border-color"))},onSetup:d.onSetupCellOrRow}),u.ui.registry.addToggleButton("tablerowheader",{tooltip:"Row header",icon:"table-top-header",onAction:xh(u),onSetup:d.onSetupTableRowHeaders}),u.ui.registry.addToggleButton("tablecolheader",{tooltip:"Column header",icon:"table-left-header",onAction:Ay(u),onSetup:d.onSetupTableColumnHeaders})},bb=function(u){var l=function(h){return u.dom.is(h,"table")&&u.getBody().contains(h)},d=xl(u);d.length>0&&u.ui.registry.addContextToolbar("table",{predicate:l,items:d,scope:"node",position:"node"})},yb=function(u,l,d,h){var y=function(at){return function(){return u.execCommand(at)}},k=function(at){u.execCommand("mceInsertTable",!1,{rows:at.numRows,columns:at.numColumns})},R={text:"Table properties",onSetup:d.onSetupTable,onAction:y("mceTableProps")},$={text:"Delete table",icon:"table-delete-table",onSetup:d.onSetupTable,onAction:y("mceTableDelete")};u.ui.registry.addMenuItem("tableinsertrowbefore",{text:"Insert row before",icon:"table-insert-row-above",onAction:y("mceTableInsertRowBefore"),onSetup:d.onSetupCellOrRow}),u.ui.registry.addMenuItem("tableinsertrowafter",{text:"Insert row after",icon:"table-insert-row-after",onAction:y("mceTableInsertRowAfter"),onSetup:d.onSetupCellOrRow}),u.ui.registry.addMenuItem("tabledeleterow",{text:"Delete row",icon:"table-delete-row",onAction:y("mceTableDeleteRow"),onSetup:d.onSetupCellOrRow}),u.ui.registry.addMenuItem("tablerowprops",{text:"Row properties",icon:"table-row-properties",onAction:y("mceTableRowProps"),onSetup:d.onSetupCellOrRow}),u.ui.registry.addMenuItem("tablecutrow",{text:"Cut row",icon:"cut-row",onAction:y("mceTableCutRow"),onSetup:d.onSetupCellOrRow}),u.ui.registry.addMenuItem("tablecopyrow",{text:"Copy row",icon:"duplicate-row",onAction:y("mceTableCopyRow"),onSetup:d.onSetupCellOrRow}),u.ui.registry.addMenuItem("tablepasterowbefore",{text:"Paste row before",icon:"paste-row-before",onAction:y("mceTablePasteRowBefore"),onSetup:d.onSetupPasteable(h.getRows)}),u.ui.registry.addMenuItem("tablepasterowafter",{text:"Paste row after",icon:"paste-row-after",onAction:y("mceTablePasteRowAfter"),onSetup:d.onSetupPasteable(h.getRows)});var j={type:"nestedmenuitem",text:"Row",getSubmenuItems:Fe("tableinsertrowbefore tableinsertrowafter tabledeleterow tablerowprops | tablecutrow tablecopyrow tablepasterowbefore tablepasterowafter")};u.ui.registry.addMenuItem("tableinsertcolumnbefore",{text:"Insert column before",icon:"table-insert-column-before",onAction:y("mceTableInsertColBefore"),onSetup:d.onSetupColumn("onFirst")}),u.ui.registry.addMenuItem("tableinsertcolumnafter",{text:"Insert column after",icon:"table-insert-column-after",onAction:y("mceTableInsertColAfter"),onSetup:d.onSetupColumn("onLast")}),u.ui.registry.addMenuItem("tabledeletecolumn",{text:"Delete column",icon:"table-delete-column",onAction:y("mceTableDeleteCol"),onSetup:d.onSetupColumn("onAny")}),u.ui.registry.addMenuItem("tablecutcolumn",{text:"Cut column",icon:"cut-column",onAction:y("mceTableCutCol"),onSetup:d.onSetupColumn("onAny")}),u.ui.registry.addMenuItem("tablecopycolumn",{text:"Copy column",icon:"duplicate-column",onAction:y("mceTableCopyCol"),onSetup:d.onSetupColumn("onAny")}),u.ui.registry.addMenuItem("tablepastecolumnbefore",{text:"Paste column before",icon:"paste-column-before",onAction:y("mceTablePasteColBefore"),onSetup:d.onSetupPasteableColumn(h.getColumns,"onFirst")}),u.ui.registry.addMenuItem("tablepastecolumnafter",{text:"Paste column after",icon:"paste-column-after",onAction:y("mceTablePasteColAfter"),onSetup:d.onSetupPasteableColumn(h.getColumns,"onLast")});var ne={type:"nestedmenuitem",text:"Column",getSubmenuItems:Fe("tableinsertcolumnbefore tableinsertcolumnafter tabledeletecolumn | tablecutcolumn tablecopycolumn tablepastecolumnbefore tablepastecolumnafter")};u.ui.registry.addMenuItem("tablecellprops",{text:"Cell properties",icon:"table-cell-properties",onAction:y("mceTableCellProps"),onSetup:d.onSetupCellOrRow}),u.ui.registry.addMenuItem("tablemergecells",{text:"Merge cells",icon:"table-merge-cells",onAction:y("mceTableMergeCells"),onSetup:d.onSetupMergeable}),u.ui.registry.addMenuItem("tablesplitcells",{text:"Split cell",icon:"table-split-cells",onAction:y("mceTableSplitCells"),onSetup:d.onSetupUnmergeable});var he={type:"nestedmenuitem",text:"Cell",getSubmenuItems:Fe("tablecellprops tablemergecells tablesplitcells")};zf(u)===!1?u.ui.registry.addMenuItem("inserttable",{text:"Table",icon:"table",onAction:y("mceInsertTable")}):u.ui.registry.addNestedMenuItem("inserttable",{text:"Table",icon:"table",getSubmenuItems:function(){return[{type:"fancymenuitem",fancytype:"inserttable",onAction:k}]}}),u.ui.registry.addMenuItem("inserttabledialog",{text:"Insert table",icon:"table",onAction:y("mceInsertTable")}),u.ui.registry.addMenuItem("tableprops",R),u.ui.registry.addMenuItem("deletetable",$),u.ui.registry.addNestedMenuItem("row",j),u.ui.registry.addNestedMenuItem("column",ne),u.ui.registry.addNestedMenuItem("cell",he),u.ui.registry.addContextMenu("table",{update:function(){return d.resetTargets(),d.targets().fold(Fe(""),function(at){return Sr(at.element)==="caption"?"tableprops deletetable":"cell row column | advtablesort | tableprops deletetable"})}});var Ge=Xd(Ev(u));Ge.length!==0&&u.ui.registry.addNestedMenuItem("tableclass",{icon:"table-classes",text:"Table styles",getSubmenuItems:function(){return Oc(u,l,Ge,"tableclass",function(at){return u.execCommand("mceTableToggleClass",!1,at)})},onSetup:d.onSetupTable});var bt=Xd(V0(u));bt.length!==0&&u.ui.registry.addNestedMenuItem("tablecellclass",{icon:"table-cell-classes",text:"Cell styles",getSubmenuItems:function(){return Oc(u,l,bt,"tablecellclass",function(at){return u.execCommand("mceTableCellToggleClass",!1,at)})},onSetup:d.onSetupCellOrRow}),u.ui.registry.addNestedMenuItem("tablecellvalign",{icon:"vertical-align",text:"Vertical align",getSubmenuItems:function(){return Oc(u,l,Wd,"tablecellverticalalign",$v(u,"vertical-align"))},onSetup:d.onSetupCellOrRow}),u.ui.registry.addNestedMenuItem("tablecellborderwidth",{icon:"border-width",text:"Border width",getSubmenuItems:function(){return Oc(u,l,i1(u),"tablecellborderwidth",$v(u,"border-width"))},onSetup:d.onSetupCellOrRow}),u.ui.registry.addNestedMenuItem("tablecellborderstyle",{icon:"border-style",text:"Border style",getSubmenuItems:function(){return Oc(u,l,Hs(u),"tablecellborderstyle",$v(u,"border-style"))},onSetup:d.onSetupCellOrRow}),u.ui.registry.addToggleMenuItem("tablecaption",{icon:"table-caption",text:"Table caption",onAction:y("mceTableToggleCaption"),onSetup:d.onSetupTableWithCaption}),u.ui.registry.addNestedMenuItem("tablecellbackgroundcolor",{icon:"cell-background-color",text:"Background color",getSubmenuItems:function(){return V1(u,G0(u),"background-color")},onSetup:d.onSetupCellOrRow}),u.ui.registry.addNestedMenuItem("tablecellbordercolor",{icon:"cell-border-color",text:"Border color",getSubmenuItems:function(){return V1(u,K0(u),"border-color")},onSetup:d.onSetupCellOrRow}),u.ui.registry.addToggleMenuItem("tablerowheader",{text:"Row header",icon:"table-top-header",onAction:xh(u),onSetup:d.onSetupTableRowHeaders}),u.ui.registry.addToggleMenuItem("tablecolheader",{text:"Column header",icon:"table-left-header",onAction:Ay(u),onSetup:d.onSetupTableColumnHeaders})},XS=function(u){var l=xu(function(){return bs(u)},function(){return Fs(di(u),Gi(u))},bd.selectedSelector),d=jh(u,l),h=h1(u),y=jr(u,h.lazyResize,d),k=ag(u,y,h.lazyWire),R=j1();return Eh(u,k,y,l,R),lg(u,k,l),qc(u,l,k),yb(u,l,d,R),qh(u,l,d,R),bb(u),u.on("PreInit",function(){u.serializer.addTempAttr(bd.firstSelected),u.serializer.addTempAttr(bd.lastSelected),sE(u)}),Jl(u)&&u.on("keydown",function($){TE($,u,y)}),u.on("remove",function(){h.destroy()}),mu(u,R,h,d)};function YS(){p2.add("table",XS)}YS()})();tinymce.IconManager.add("default",{icons:{"accessibility-check":'<svg width="24" height="24"><path d="M12 2a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2c0-1.1.9-2 2-2zm8 7h-5v12c0 .6-.4 1-1 1a1 1 0 01-1-1v-5c0-.6-.4-1-1-1a1 1 0 00-1 1v5c0 .6-.4 1-1 1a1 1 0 01-1-1V9H4a1 1 0 110-2h16c.6 0 1 .4 1 1s-.4 1-1 1z" fill-rule="nonzero"/></svg>',"action-next":'<svg width="24" height="24"><path fill-rule="nonzero" d="M5.7 7.3a1 1 0 00-1.4 1.4l7.7 7.7 7.7-7.7a1 1 0 10-1.4-1.4L12 13.6 5.7 7.3z"/></svg>',"action-prev":'<svg width="24" height="24"><path fill-rule="nonzero" d="M18.3 15.7a1 1 0 001.4-1.4L12 6.6l-7.7 7.7a1 1 0 001.4 1.4L12 9.4l6.3 6.3z"/></svg>',"align-center":'<svg width="24" height="24"><path d="M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 110-2zm3 4h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 110-2zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 010-2zm-3-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 010-2z" fill-rule="evenodd"/></svg>',"align-justify":'<svg width="24" height="24"><path d="M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 110-2zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 110-2zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 010-2zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 010-2z" fill-rule="evenodd"/></svg>',"align-left":'<svg width="24" height="24"><path d="M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 110-2zm0 4h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 110-2zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 010-2zm0-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 010-2z" fill-rule="evenodd"/></svg>',"align-none":'<svg width="24" height="24"><path d="M14.2 5L13 7H5a1 1 0 110-2h9.2zm4 0h.8a1 1 0 010 2h-2l1.2-2zm-6.4 4l-1.2 2H5a1 1 0 010-2h6.8zm4 0H19a1 1 0 010 2h-4.4l1.2-2zm-6.4 4l-1.2 2H5a1 1 0 010-2h4.4zm4 0H19a1 1 0 010 2h-6.8l1.2-2zM7 17l-1.2 2H5a1 1 0 010-2h2zm4 0h8a1 1 0 010 2H9.8l1.2-2zm5.2-13.5l1.3.7-9.7 16.3-1.3-.7 9.7-16.3z" fill-rule="evenodd"/></svg>',"align-right":'<svg width="24" height="24"><path d="M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 110-2zm6 4h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 010-2zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 010-2zm-6-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 010-2z" fill-rule="evenodd"/></svg>',"arrow-left":'<svg width="24" height="24"><path d="M5.6 13l12 6a1 1 0 001.4-1V6a1 1 0 00-1.4-.9l-12 6a1 1 0 000 1.8z" fill-rule="evenodd"/></svg>',"arrow-right":'<svg width="24" height="24"><path d="M18.5 13l-12 6A1 1 0 015 18V6a1 1 0 011.4-.9l12 6a1 1 0 010 1.8z" fill-rule="evenodd"/></svg>',bold:'<svg width="24" height="24"><path d="M7.8 19c-.3 0-.5 0-.6-.2l-.2-.5V5.7c0-.2 0-.4.2-.5l.6-.2h5c1.5 0 2.7.3 3.5 1 .7.6 1.1 1.4 1.1 2.5a3 3 0 01-.6 1.9c-.4.6-1 1-1.6 1.2.4.1.9.3 1.3.6s.8.7 1 1.2c.4.4.5 1 .5 1.6 0 1.3-.4 2.3-1.3 3-.8.7-2.1 1-3.8 1H7.8zm5-8.3c.6 0 1.2-.1 1.6-.5.4-.3.6-.7.6-1.3 0-1.1-.8-1.7-2.3-1.7H9.3v3.5h3.4zm.5 6c.7 0 1.3-.1 1.7-.4.4-.4.6-.9.6-1.5s-.2-1-.7-1.4c-.4-.3-1-.4-2-.4H9.4v3.8h4z" fill-rule="evenodd"/></svg>',bookmark:'<svg width="24" height="24"><path d="M6 4v17l6-4 6 4V4c0-.6-.4-1-1-1H7a1 1 0 00-1 1z" fill-rule="nonzero"/></svg>',"border-style":'<svg width="24" height="24"><g fill-rule="evenodd"><rect width="18" height="2" x="3" y="6" rx="1"/><rect width="2.8" height="2" x="3" y="16" rx="1"/><rect width="2.8" height="2" x="6.8" y="16" rx="1"/><rect width="2.8" height="2" x="10.6" y="16" rx="1"/><rect width="2.8" height="2" x="14.4" y="16" rx="1"/><rect width="2.8" height="2" x="18.2" y="16" rx="1"/><rect width="8" height="2" x="3" y="11" rx="1"/><rect width="8" height="2" x="13" y="11" rx="1"/></g></svg>',"border-width":'<svg width="24" height="24"><g fill-rule="evenodd"><rect width="18" height="5" x="3" y="5" rx="1"/><rect width="18" height="3.5" x="3" y="11.5" rx="1"/><rect width="18" height="2" x="3" y="17" rx="1"/></g></svg>',brightness:'<svg width="24" height="24"><path d="M12 17c.3 0 .5.1.7.3.2.2.3.4.3.7v1c0 .3-.1.5-.3.7a1 1 0 01-.7.3 1 1 0 01-.7-.3 1 1 0 01-.3-.7v-1c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3zm0-10a1 1 0 01-.7-.3A1 1 0 0111 6V5c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3.3 0 .5.1.7.3.2.2.3.4.3.7v1c0 .3-.1.5-.3.7a1 1 0 01-.7.3zm7 4c.3 0 .5.1.7.3.2.2.3.4.3.7 0 .3-.1.5-.3.7a1 1 0 01-.7.3h-1a1 1 0 01-.7-.3 1 1 0 01-.3-.7c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h1zM7 12c0 .3-.1.5-.3.7a1 1 0 01-.7.3H5a1 1 0 01-.7-.3A1 1 0 014 12c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h1c.3 0 .5.1.7.3.2.2.3.4.3.7zm10 3.5l.7.8c.2.1.3.4.3.6 0 .3-.1.6-.3.8a1 1 0 01-.8.3 1 1 0 01-.6-.3l-.8-.7a1 1 0 01-.3-.8c0-.2.1-.5.3-.7a1 1 0 011.4 0zm-10-7l-.7-.8a1 1 0 01-.3-.6c0-.3.1-.6.3-.8.2-.2.5-.3.8-.3.2 0 .5.1.7.3l.7.7c.2.2.3.5.3.8 0 .2-.1.5-.3.7a1 1 0 01-.7.3 1 1 0 01-.8-.3zm10 0a1 1 0 01-.8.3 1 1 0 01-.7-.3 1 1 0 01-.3-.7c0-.3.1-.6.3-.8l.8-.7c.1-.2.4-.3.6-.3.3 0 .6.1.8.3.2.2.3.5.3.8 0 .2-.1.5-.3.7l-.7.7zm-10 7c.2-.2.5-.3.8-.3.2 0 .5.1.7.3a1 1 0 010 1.4l-.8.8a1 1 0 01-.6.3 1 1 0 01-.8-.3 1 1 0 01-.3-.8c0-.2.1-.5.3-.6l.7-.8zM12 8a4 4 0 013.7 2.4 4 4 0 010 3.2A4 4 0 0112 16a4 4 0 01-3.7-2.4 4 4 0 010-3.2A4 4 0 0112 8zm0 6.5c.7 0 1.3-.2 1.8-.7.5-.5.7-1.1.7-1.8s-.2-1.3-.7-1.8c-.5-.5-1.1-.7-1.8-.7s-1.3.2-1.8.7c-.5.5-.7 1.1-.7 1.8s.2 1.3.7 1.8c.5.5 1.1.7 1.8.7z" fill-rule="evenodd"/></svg>',browse:'<svg width="24" height="24"><path d="M19 4a2 2 0 012 2v12a2 2 0 01-2 2h-4v-2h4V8H5v10h4v2H5a2 2 0 01-2-2V6c0-1.1.9-2 2-2h14zm-8 9.4l-2.3 2.3a1 1 0 11-1.4-1.4l4-4a1 1 0 011.4 0l4 4a1 1 0 01-1.4 1.4L13 13.4V20a1 1 0 01-2 0v-6.6z" fill-rule="nonzero"/></svg>',cancel:'<svg width="24" height="24"><path d="M12 4.6a7.4 7.4 0 110 14.8 7.4 7.4 0 010-14.8zM12 3a9 9 0 100 18 9 9 0 000-18zm0 8L14.8 8l1 1.1-2.7 2.8 2.7 2.7-1.1 1.1-2.7-2.7-2.7 2.7-1-1.1 2.6-2.7-2.7-2.7 1-1.1 2.8 2.7z" fill-rule="nonzero"/></svg>',"cell-background-color":'<svg width="24" height="24"><path d="M15.7 2l1.6 1.6-2.7 2.6 5.9 5.8c.7.7.7 1.7 0 2.4l-6.3 6.1a1.7 1.7 0 01-2.4 0l-6.3-6.1c-.7-.7-.7-1.7 0-2.4L15.7 2zM18 12l-4.5-4L9 12h9zM4 16s2 2.4 2 3.8C6 21 5.1 22 4 22s-2-1-2-2.2C2 18.4 4 16 4 16z"/></svg>',"cell-border-color":'<svg width="24" height="24"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M5 13v5h2v2H5a2 2 0 01-2-2v-5h2zm8-7V4h6a2 2 0 012 2h-8z" opacity=".2"/><path fill-rule="nonzero" d="M13 4v2H5v7H3V6c0-1.1.9-2 2-2h8zm-2.6 14.1l.1-.1.1.1.2.3.2.2.2.2c.4.6.8 1.2.8 1.7 0 .8-.7 1.5-1.5 1.5S9 21.3 9 20.5c0-.5.4-1.1.8-1.7l.2-.2.2-.2.2-.3z"/><path d="M13 11l-2 2H5v-2h6V6h2z"/><path fill-rule="nonzero" d="M18.4 8l1 1-1.8 1.9 4 4c.5.4.5 1.1 0 1.6l-4.3 4.2a1.2 1.2 0 01-1.6 0l-4.4-4.2c-.4-.5-.4-1.2 0-1.7l7-6.8zm1.6 7l-3-3-3 3h6z"/></g></svg>',"change-case":'<svg width="24" height="24"><path d="M18.4 18.2v-.6c-.5.8-1.3 1.2-2.4 1.2-2.2 0-3.3-1.6-3.3-4.8 0-3.1 1-4.7 3.3-4.7 1.1 0 1.8.3 2.4 1.1v-.6c0-.5.4-.8.8-.8s.8.3.8.8v8.4c0 .5-.4.8-.8.8a.8.8 0 01-.8-.8zm-2-7.4c-1.3 0-1.8.9-1.8 3.2 0 2.4.5 3.3 1.7 3.3 1.3 0 1.8-.9 1.8-3.2 0-2.4-.5-3.3-1.7-3.3zM10 15.7H5.5l-.8 2.6a1 1 0 01-1 .7h-.2a.7.7 0 01-.7-1l4-12a1 1 0 012 0l4 12a.7.7 0 01-.8 1h-.2a1 1 0 01-1-.7l-.8-2.6zm-.3-1.5l-2-6.5-1.9 6.5h3.9z" fill-rule="evenodd"/></svg>',"character-count":'<svg width="24" height="24"><path d="M4 11.5h16v1H4v-1zm4.8-6.8V10H7.7V5.8h-1v-1h2zM11 8.3V9h2v1h-3V7.7l2-1v-.9h-2v-1h3v2.4l-2 1zm6.3-3.4V10h-3.1V9h2.1V8h-2.1V6.8h2.1v-1h-2.1v-1h3.1zM5.8 16.4c0-.5.2-.8.5-1 .2-.2.6-.3 1.2-.3l.8.1c.2 0 .4.2.5.3l.4.4v2.8l.2.3H8.2v-.1-.2l-.6.3H7c-.4 0-.7 0-1-.2a1 1 0 01-.3-.9c0-.3 0-.6.3-.8.3-.2.7-.4 1.2-.4l.6-.2h.3v-.2l-.1-.2a.8.8 0 00-.5-.1 1 1 0 00-.4 0l-.3.4h-1zm2.3.8h-.2l-.2.1-.4.1a1 1 0 00-.4.2l-.2.2.1.3.5.1h.4l.4-.4v-.6zm2-3.4h1.2v1.7l.5-.3h.5c.5 0 .9.1 1.2.5.3.4.5.8.5 1.4 0 .6-.2 1.1-.5 1.5-.3.4-.7.6-1.3.6l-.6-.1-.4-.4v.4h-1.1v-5.4zm1.1 3.3c0 .3 0 .6.2.8a.7.7 0 001.2 0l.2-.8c0-.4 0-.6-.2-.8a.7.7 0 00-.6-.3l-.6.3-.2.8zm6.1-.5c0-.2 0-.3-.2-.4a.8.8 0 00-.5-.2c-.3 0-.5.1-.6.3l-.2.9c0 .3 0 .6.2.8.1.2.3.3.6.3.2 0 .4 0 .5-.2l.2-.4h1.1c0 .5-.3.8-.6 1.1a2 2 0 01-1.3.4c-.5 0-1-.2-1.3-.6a2 2 0 01-.5-1.4c0-.6.1-1.1.5-1.5.3-.4.8-.5 1.4-.5.5 0 1 0 1.2.3.4.3.5.7.5 1.2h-1v-.1z" fill-rule="evenodd"/></svg>',"checklist-rtl":'<svg width="24" height="24"><path d="M5 17h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 010-2zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 010-2zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 110-2zm14.2 11c.2-.4.6-.5.9-.3.3.2.4.6.2 1L18 20c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 010-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8zm0-6c.2-.4.6-.5.9-.3.3.2.4.6.2 1L18 14c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 010-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8zm0-6c.2-.4.6-.5.9-.3.3.2.4.6.2 1L18 8c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 010-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8z" fill-rule="evenodd"/></svg>',checklist:'<svg width="24" height="24"><path d="M11 17h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 010-2zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 010-2zm0-6h8a1 1 0 010 2h-8a1 1 0 010-2zM7.2 16c.2-.4.6-.5.9-.3.3.2.4.6.2 1L6 20c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 010-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8zm0-6c.2-.4.6-.5.9-.3.3.2.4.6.2 1L6 14c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 010-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8zm0-6c.2-.4.6-.5.9-.3.3.2.4.6.2 1L6 8c-.2.3-.7.4-1 0L3.8 6.9a.7.7 0 010-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8z" fill-rule="evenodd"/></svg>',checkmark:'<svg width="24" height="24"><path d="M18.2 5.4a1 1 0 011.6 1.2l-8 12a1 1 0 01-1.5.1l-5-5a1 1 0 111.4-1.4l4.1 4.1 7.4-11z" fill-rule="nonzero"/></svg>',"chevron-down":'<svg width="10" height="10"><path d="M8.7 2.2c.3-.3.8-.3 1 0 .4.4.4.9 0 1.2L5.7 7.8c-.3.3-.9.3-1.2 0L.2 3.4a.8.8 0 010-1.2c.3-.3.8-.3 1.1 0L5 6l3.7-3.8z" fill-rule="nonzero"/></svg>',"chevron-left":'<svg width="10" height="10"><path d="M7.8 1.3L4 5l3.8 3.7c.3.3.3.8 0 1-.4.4-.9.4-1.2 0L2.2 5.7a.8.8 0 010-1.2L6.6.2C7 0 7.4 0 7.8.2c.3.3.3.8 0 1.1z" fill-rule="nonzero"/></svg>',"chevron-right":'<svg width="10" height="10"><path d="M2.2 1.3a.8.8 0 010-1c.4-.4.9-.4 1.2 0l4.4 4.1c.3.4.3.9 0 1.2L3.4 9.8c-.3.3-.8.3-1.2 0a.8.8 0 010-1.1L6 5 2.2 1.3z" fill-rule="nonzero"/></svg>',"chevron-up":'<svg width="10" height="10"><path d="M8.7 7.8L5 4 1.3 7.8c-.3.3-.8.3-1 0a.8.8 0 010-1.2l4.1-4.4c.3-.3.9-.3 1.2 0l4.2 4.4c.3.3.3.9 0 1.2-.3.3-.8.3-1.1 0z" fill-rule="nonzero"/></svg>',close:'<svg width="24" height="24"><path d="M17.3 8.2L13.4 12l3.9 3.8a1 1 0 01-1.5 1.5L12 13.4l-3.8 3.9a1 1 0 01-1.5-1.5l3.9-3.8-3.9-3.8a1 1 0 011.5-1.5l3.8 3.9 3.8-3.9a1 1 0 011.5 1.5z" fill-rule="evenodd"/></svg>',"code-sample":'<svg width="24" height="26"><path d="M7.1 11a2.8 2.8 0 01-.8 2 2.8 2.8 0 01.8 2v1.7c0 .3.1.6.4.8.2.3.5.4.8.4.3 0 .4.2.4.4v.8c0 .2-.1.4-.4.4-.7 0-1.4-.3-2-.8-.5-.6-.8-1.3-.8-2V15c0-.3-.1-.6-.4-.8-.2-.3-.5-.4-.8-.4a.4.4 0 01-.4-.4v-.8c0-.2.2-.4.4-.4.3 0 .6-.1.8-.4.3-.2.4-.5.4-.8V9.3c0-.7.3-1.4.8-2 .6-.5 1.3-.8 2-.8.3 0 .4.2.4.4v.8c0 .2-.1.4-.4.4-.3 0-.6.1-.8.4-.3.2-.4.5-.4.8V11zm9.8 0V9.3c0-.3-.1-.6-.4-.8-.2-.3-.5-.4-.8-.4a.4.4 0 01-.4-.4V7c0-.2.1-.4.4-.4.7 0 1.4.3 2 .8.5.6.8 1.3.8 2V11c0 .3.1.6.4.8.2.3.5.4.8.4.2 0 .4.2.4.4v.8c0 .2-.2.4-.4.4-.3 0-.6.1-.8.4-.3.2-.4.5-.4.8v1.7c0 .7-.3 1.4-.8 2-.6.5-1.3.8-2 .8a.4.4 0 01-.4-.4v-.8c0-.2.1-.4.4-.4.3 0 .6-.1.8-.4.3-.2.4-.5.4-.8V15a2.8 2.8 0 01.8-2 2.8 2.8 0 01-.8-2zm-3.3-.4c0 .4-.1.8-.5 1.1-.3.3-.7.5-1.1.5-.4 0-.8-.2-1.1-.5-.4-.3-.5-.7-.5-1.1 0-.5.1-.9.5-1.2.3-.3.7-.4 1.1-.4.4 0 .8.1 1.1.4.4.3.5.7.5 1.2zM12 13c.4 0 .8.1 1.1.5.4.3.5.7.5 1.1 0 1-.1 1.6-.5 2a3 3 0 01-1.1 1c-.4.3-.8.4-1.1.4a.5.5 0 01-.5-.5V17a3 3 0 001-.2l.6-.6c-.6 0-1-.2-1.3-.5-.2-.3-.3-.7-.3-1 0-.5.1-1 .5-1.2.3-.4.7-.5 1.1-.5z" fill-rule="evenodd"/></svg>',"color-levels":'<svg width="24" height="24"><path d="M17.5 11.4A9 9 0 0118 14c0 .5 0 1-.2 1.4 0 .4-.3.9-.5 1.3a6.2 6.2 0 01-3.7 3 5.7 5.7 0 01-3.2 0A5.9 5.9 0 017.6 18a6.2 6.2 0 01-1.4-2.6 6.7 6.7 0 010-2.8c0-.4.1-.9.3-1.3a13.6 13.6 0 012.3-4A20 20 0 0112 4a26.4 26.4 0 013.2 3.4 18.2 18.2 0 012.3 4zm-2 4.5c.4-.7.5-1.4.5-2a7.3 7.3 0 00-1-3.2c.2.6.2 1.2.2 1.9a4.5 4.5 0 01-1.3 3 5.3 5.3 0 01-2.3 1.5 4.9 4.9 0 01-2 .1 4.3 4.3 0 002.4.8 4 4 0 002-.6 4 4 0 001.5-1.5z" fill-rule="evenodd"/></svg>',"color-picker":'<svg width="24" height="24"><path d="M12 3a9 9 0 000 18 1.5 1.5 0 001.1-2.5c-.2-.3-.4-.6-.4-1 0-.8.7-1.5 1.5-1.5H16a5 5 0 005-5c0-4.4-4-8-9-8zm-5.5 9a1.5 1.5 0 110-3 1.5 1.5 0 010 3zm3-4a1.5 1.5 0 110-3 1.5 1.5 0 010 3zm5 0a1.5 1.5 0 110-3 1.5 1.5 0 010 3zm3 4a1.5 1.5 0 110-3 1.5 1.5 0 010 3z" fill-rule="nonzero"/></svg>',"color-swatch-remove-color":'<svg width="24" height="24"><path stroke="#000" stroke-width="2" d="M21 3L3 21" fill-rule="evenodd"/></svg>',"color-swatch":'<svg width="24" height="24"><rect x="3" y="3" width="18" height="18" rx="1" fill-rule="evenodd"/></svg>',"comment-add":'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M9 19l3-2h7c.6 0 1-.4 1-1V6c0-.6-.4-1-1-1H5a1 1 0 00-1 1v10c0 .6.4 1 1 1h4v2zm-2 4v-4H5a3 3 0 01-3-3V6a3 3 0 013-3h14a3 3 0 013 3v10a3 3 0 01-3 3h-6.4L7 23z"/><path d="M13 10h2a1 1 0 010 2h-2v2a1 1 0 01-2 0v-2H9a1 1 0 010-2h2V8a1 1 0 012 0v2z"/></g></svg>',comment:'<svg width="24" height="24"><path fill-rule="nonzero" d="M9 19l3-2h7c.6 0 1-.4 1-1V6c0-.6-.4-1-1-1H5a1 1 0 00-1 1v10c0 .6.4 1 1 1h4v2zm-2 4v-4H5a3 3 0 01-3-3V6a3 3 0 013-3h14a3 3 0 013 3v10a3 3 0 01-3 3h-6.4L7 23z"/></svg>',contrast:'<svg width="24" height="24"><path d="M12 4a7.8 7.8 0 015.7 2.3A8 8 0 1112 4zm-6 8a6 6 0 006 6V6a6 6 0 00-6 6z" fill-rule="evenodd"/></svg>',copy:'<svg width="24" height="24"><path d="M16 3H6a2 2 0 00-2 2v11h2V5h10V3zm1 4a2 2 0 012 2v10a2 2 0 01-2 2h-7a2 2 0 01-2-2V9c0-1.2.9-2 2-2h7zm0 12V9h-7v10h7z" fill-rule="nonzero"/></svg>',crop:'<svg width="24" height="24"><path d="M17 8v7h2c.6 0 1 .4 1 1s-.4 1-1 1h-2v2c0 .6-.4 1-1 1a1 1 0 01-1-1v-2H7V9H5a1 1 0 110-2h2V5c0-.6.4-1 1-1s1 .4 1 1v2h7l3-3 1 1-3 3zM9 9v5l5-5H9zm1 6h5v-5l-5 5z" fill-rule="evenodd"/></svg>',"cut-column":'<svg width="24" height="24"><path fill-rule="evenodd" d="M7.2 4.5c.9 0 1.6.4 2.2 1A3.7 3.7 0 0110.5 8v.5l1 1 4-4 1-.5a3.3 3.3 0 012 0c.4 0 .7.3 1 .5L17 8h4v13h-6V10l-1.5 1.5.5.5v4l-2.5-2.5-1 1v.5c0 .4 0 .8-.3 1.2-.2.5-.4.9-.8 1.2-.6.7-1.3 1-2.2 1-.8.2-1.5 0-2-.6l-.5-.8-.2-1c0-.4 0-.8.3-1.2A3.9 3.9 0 017 12.7c.5-.2 1-.3 1.5-.2l1-1-1-1c-.5 0-1 0-1.5-.2-.5-.1-1-.4-1.4-.9-.4-.3-.6-.7-.8-1.2L4.5 7c0-.4 0-.7.2-1 0-.3.3-.6.5-.8.5-.5 1.2-.8 2-.7zm12.3 5h-3v10h3v-10zM8 13.8h-.3l-.4.2a2.8 2.8 0 00-.7.4v.1a2.8 2.8 0 00-.6.8l-.1.4v.7l.2.5.5.2h.7a2.6 2.6 0 00.8-.3 2.4 2.4 0 00.7-.7 2.5 2.5 0 00.3-.8 1.5 1.5 0 000-.8 1 1 0 00-.2-.4 1 1 0 00-.5-.2H8zm3.5-3.7c-.4 0-.7.1-1 .4-.3.3-.4.6-.4 1s.1.7.4 1c.3.3.6.4 1 .4s.7-.1 1-.4c.3-.3.4-.6.4-1s-.1-.7-.4-1c-.3-.3-.6-.4-1-.4zM7 5.8h-.4a1 1 0 00-.5.3 1 1 0 00-.2.5v.7a2.5 2.5 0 00.3.8l.2.3h.1l.4.4.4.2.4.1h.7L9 9l.2-.4a1.6 1.6 0 000-.8 2.6 2.6 0 00-.3-.8A2.5 2.5 0 007.7 6l-.4-.1H7z"/></svg>',"cut-row":'<svg width="24" height="24"><path fill-rule="evenodd" d="M22 3v5H9l3 3 2-2h4l-4 4 1 1h.5c.4 0 .8 0 1.2.3.5.2.9.4 1.2.8.7.6 1 1.3 1 2.2.2.8 0 1.5-.6 2l-.8.5-1 .2c-.4 0-.8 0-1.2-.3a3.9 3.9 0 01-2.1-2.2c-.2-.5-.3-1-.2-1.5l-1-1-1 1c0 .5 0 1-.2 1.5-.1.5-.4 1-.9 1.4-.3.4-.7.6-1.2.8l-1.2.3c-.4 0-.7 0-1-.2-.3 0-.6-.3-.8-.5-.5-.5-.8-1.2-.7-2 0-.9.4-1.6 1-2.2A3.7 3.7 0 018.6 14H9l1-1-4-4-.5-1a3.3 3.3 0 010-2c0-.4.3-.7.5-1l2 2V3h14zM8.5 15.3h-.3a2.6 2.6 0 00-.8.4 2.5 2.5 0 00-.9 1.1l-.1.4v.7l.2.5.5.2h.7a2.5 2.5 0 00.8-.3L9 18V18l.4-.4.2-.4.1-.4v-.3-.4a1 1 0 00-.2-.5 1 1 0 00-.4-.2h-.5zm7 0H15a1 1 0 00-.4.3 1 1 0 00-.2.5 1.5 1.5 0 000 .7v.4a2.8 2.8 0 00.5.7h.1a2.8 2.8 0 00.8.6l.4.1h.7l.5-.2.2-.5v-.4-.3a2.6 2.6 0 00-.3-.8 2.4 2.4 0 00-.7-.7 2.5 2.5 0 00-.8-.3h-.3zM12 11.6c-.4 0-.7.1-1 .4-.3.3-.4.6-.4 1s.1.7.4 1c.3.3.6.4 1 .4s.7-.1 1-.4c.3-.3.4-.6.4-1s-.1-.7-.4-1c-.3-.3-.6-.4-1-.4zm8.5-7.1h-11v2h11v-2z"/></svg>',cut:'<svg width="24" height="24"><path d="M18 15c.6.7 1 1.4 1 2.3 0 .8-.2 1.5-.7 2l-.8.5-1 .2c-.4 0-.8 0-1.2-.3a3.9 3.9 0 01-2.1-2.2c-.2-.5-.3-1-.2-1.5l-1-1-1 1c0 .5 0 1-.2 1.5-.1.5-.4 1-.9 1.4-.3.4-.7.6-1.2.8l-1.2.3c-.4 0-.7 0-1-.2-.3 0-.6-.3-.8-.5-.5-.5-.8-1.2-.7-2 0-.9.4-1.6 1-2.2A3.7 3.7 0 018.6 14H9l1-1-4-4-.5-1a3.3 3.3 0 010-2c0-.4.3-.7.5-1l6 6 6-6 .5 1a3.3 3.3 0 010 2c0 .4-.3.7-.5 1l-4 4 1 1h.5c.4 0 .8 0 1.2.3.5.2.9.4 1.2.8zm-8.5 2.2l.1-.4v-.3-.4a1 1 0 00-.2-.5 1 1 0 00-.4-.2 1.6 1.6 0 00-.8 0 2.6 2.6 0 00-.8.3 2.5 2.5 0 00-.9 1.1l-.1.4v.7l.2.5.5.2h.7a2.5 2.5 0 00.8-.3 2.8 2.8 0 001-1zm2.5-2.8c.4 0 .7-.1 1-.4.3-.3.4-.6.4-1s-.1-.7-.4-1c-.3-.3-.6-.4-1-.4s-.7.1-1 .4c-.3.3-.4.6-.4 1s.1.7.4 1c.3.3.6.4 1 .4zm5.4 4l.2-.5v-.4-.3a2.6 2.6 0 00-.3-.8 2.4 2.4 0 00-.7-.7 2.5 2.5 0 00-.8-.3 1.5 1.5 0 00-.8 0 1 1 0 00-.4.2 1 1 0 00-.2.5 1.5 1.5 0 000 .7v.4l.3.4.3.4a2.8 2.8 0 00.8.5l.4.1h.7l.5-.2z" fill-rule="evenodd"/></svg>',"document-properties":'<svg width="24" height="24"><path d="M14.4 3H7a2 2 0 00-2 2v14c0 1.1.9 2 2 2h10a2 2 0 002-2V7.6L14.4 3zM17 19H7V5h6v4h4v10z" fill-rule="nonzero"/></svg>',drag:'<svg width="24" height="24"><path d="M13 5h2v2h-2V5zm0 4h2v2h-2V9zM9 9h2v2H9V9zm4 4h2v2h-2v-2zm-4 0h2v2H9v-2zm0 4h2v2H9v-2zm4 0h2v2h-2v-2zM9 5h2v2H9V5z" fill-rule="evenodd"/></svg>',"duplicate-column":'<svg width="24" height="24"><path d="M17 6v16h-7V6h7zm-2 2h-3v12h3V8zm-2-6v2H8v15H6V2h7z"/></svg>',"duplicate-row":'<svg width="24" height="24"><path d="M22 11v7H6v-7h16zm-2 2H8v3h12v-3zm-1-6v2H4v5H2V7h17z"/></svg>',duplicate:'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M16 3v2H6v11H4V5c0-1.1.9-2 2-2h10zm3 8h-2V9h-7v10h9a2 2 0 01-2 2h-7a2 2 0 01-2-2V9c0-1.2.9-2 2-2h7a2 2 0 012 2v2z"/><path d="M17 14h1a1 1 0 010 2h-1v1a1 1 0 01-2 0v-1h-1a1 1 0 010-2h1v-1a1 1 0 012 0v1z"/></g></svg>',"edit-block":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19.8 8.8l-9.4 9.4c-.2.2-.5.4-.9.4l-5.4 1.2 1.2-5.4.5-.8 9.4-9.4c.7-.7 1.8-.7 2.5 0l2.1 2.1c.7.7.7 1.8 0 2.5zm-2-.2l1-.9v-.3l-2.2-2.2a.3.3 0 00-.3 0l-1 1L18 8.5zm-1 1l-2.5-2.4-6 6 2.5 2.5 6-6zm-7 7.1l-2.6-2.4-.3.3-.1.2-.7 3 3.1-.6h.1l.4-.5z"/></svg>',"edit-image":'<svg width="24" height="24"><path d="M18 16h2V7a2 2 0 00-2-2H7v2h11v9zM6 17h15a1 1 0 010 2h-1v1a1 1 0 01-2 0v-1H6a2 2 0 01-2-2V7H3a1 1 0 110-2h1V4a1 1 0 112 0v13zm3-5.3l1.3 2 3-4.7 3.7 6H7l2-3.3z" fill-rule="nonzero"/></svg>',"embed-page":'<svg width="24" height="24"><path d="M19 6V5H5v14h2A13 13 0 0119 6zm0 1.4c-.8.8-1.6 2.4-2.2 4.6H19V7.4zm0 5.6h-2.4c-.4 1.8-.6 3.8-.6 6h3v-6zm-4 6c0-2.2.2-4.2.6-6H13c-.7 1.8-1.1 3.8-1.1 6h3zm-4 0c0-2.2.4-4.2 1-6H9.6A12 12 0 008 19h3zM4 3h16c.6 0 1 .4 1 1v16c0 .6-.4 1-1 1H4a1 1 0 01-1-1V4c0-.6.4-1 1-1zm11.8 9c.4-1.9 1-3.4 1.8-4.5a9.2 9.2 0 00-4 4.5h2.2zm-3.4 0a12 12 0 012.8-4 12 12 0 00-5 4h2.2z" fill-rule="nonzero"/></svg>',embed:'<svg width="24" height="24"><path d="M4 3h16c.6 0 1 .4 1 1v16c0 .6-.4 1-1 1H4a1 1 0 01-1-1V4c0-.6.4-1 1-1zm1 2v14h14V5H5zm4.8 2.6l5.6 4a.5.5 0 010 .8l-5.6 4A.5.5 0 019 16V8a.5.5 0 01.8-.4z" fill-rule="nonzero"/></svg>',emoji:'<svg width="24" height="24"><path d="M9 11c.6 0 1-.4 1-1s-.4-1-1-1a1 1 0 00-1 1c0 .6.4 1 1 1zm6 0c.6 0 1-.4 1-1s-.4-1-1-1a1 1 0 00-1 1c0 .6.4 1 1 1zm-3 5.5c2.1 0 4-1.5 4.4-3.5H7.6c.5 2 2.3 3.5 4.4 3.5zM12 4a8 8 0 100 16 8 8 0 000-16zm0 14.5a6.5 6.5 0 110-13 6.5 6.5 0 010 13z" fill-rule="nonzero"/></svg>',export:'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M14.4 3L18 7v1h-5V5H7v14h9a1 1 0 012 0c0 1-.8 2-1.9 2H7c-1 0-2-.8-2-1.9V5c0-1 .8-2 1.9-2h7.5z"/><path d="M18.1 12c.5 0 .9.4.9 1 0 .5-.3 1-.8 1h-7.3c-.5 0-.9-.4-.9-1 0-.5.3-1 .8-1h7.3z"/><path d="M16.4 9.2a1 1 0 011.4.2l2.4 3.6-2.4 3.6a1 1 0 01-1.7-1v-.2l1.7-2.4-1.6-2.4a1 1 0 01.2-1.4z"/></g></svg>',fill:'<svg width="24" height="26"><path d="M16.6 12l-9-9-1.4 1.4 2.4 2.4-5.2 5.1c-.5.6-.5 1.6 0 2.2L9 19.6a1.5 1.5 0 002.2 0l5.5-5.5c.5-.6.5-1.6 0-2.2zM5.2 13L10 8.2l4.8 4.8H5.2zM19 14.5s-2 2.2-2 3.5c0 1.1.9 2 2 2a2 2 0 002-2c0-1.3-2-3.5-2-3.5z" fill-rule="nonzero"/></svg>',"flip-horizontally":'<svg width="24" height="24"><path d="M14 19h2v-2h-2v2zm4-8h2V9h-2v2zM4 7v10c0 1.1.9 2 2 2h3v-2H6V7h3V5H6a2 2 0 00-2 2zm14-2v2h2a2 2 0 00-2-2zm-7 16h2V3h-2v18zm7-6h2v-2h-2v2zm-4-8h2V5h-2v2zm4 12a2 2 0 002-2h-2v2z" fill-rule="nonzero"/></svg>',"flip-vertically":'<svg width="24" height="24"><path d="M5 14v2h2v-2H5zm8 4v2h2v-2h-2zm4-14H7a2 2 0 00-2 2v3h2V6h10v3h2V6a2 2 0 00-2-2zm2 14h-2v2a2 2 0 002-2zM3 11v2h18v-2H3zm6 7v2h2v-2H9zm8-4v2h2v-2h-2zM5 18c0 1.1.9 2 2 2v-2H5z" fill-rule="nonzero"/></svg>',"format-painter":'<svg width="24" height="24"><path d="M18 5V4c0-.5-.4-1-1-1H5a1 1 0 00-1 1v4c0 .6.5 1 1 1h12c.6 0 1-.4 1-1V7h1v4H9v9c0 .6.4 1 1 1h2c.6 0 1-.4 1-1v-7h8V5h-3z" fill-rule="nonzero"/></svg>',format:'<svg width="24" height="24"><path fill-rule="evenodd" d="M17 5a1 1 0 010 2h-4v11a1 1 0 01-2 0V7H7a1 1 0 110-2h10z"/></svg>',fullscreen:'<svg width="24" height="24"><path d="M15.3 10l-1.2-1.3 2.9-3h-2.3a.9.9 0 110-1.7H19c.5 0 .9.4.9.9v4.4a.9.9 0 11-1.8 0V7l-2.9 3zm0 4l3 3v-2.3a.9.9 0 111.7 0V19c0 .5-.4.9-.9.9h-4.4a.9.9 0 110-1.8H17l-3-2.9 1.3-1.2zM10 15.4l-2.9 3h2.3a.9.9 0 110 1.7H5a.9.9 0 01-.9-.9v-4.4a.9.9 0 111.8 0V17l2.9-3 1.2 1.3zM8.7 10L5.7 7v2.3a.9.9 0 01-1.7 0V5c0-.5.4-.9.9-.9h4.4a.9.9 0 010 1.8H7l3 2.9-1.3 1.2z" fill-rule="nonzero"/></svg>',gallery:'<svg width="24" height="24"><path fill-rule="nonzero" d="M5 15.7l2.3-2.2c.3-.3.7-.3 1 0L11 16l5.1-5c.3-.4.8-.4 1 0l2 1.9V8H5v7.7zM5 18V19h3l1.8-1.9-2-2L5 17.9zm14-3l-2.5-2.4-6.4 6.5H19v-4zM4 6h16c.6 0 1 .4 1 1v13c0 .6-.4 1-1 1H4a1 1 0 01-1-1V7c0-.6.4-1 1-1zm6 7a2 2 0 110-4 2 2 0 010 4zM4.5 4h15a.5.5 0 110 1h-15a.5.5 0 010-1zm2-2h11a.5.5 0 110 1h-11a.5.5 0 010-1z"/></svg>',gamma:'<svg width="24" height="24"><path d="M4 3h16c.6 0 1 .4 1 1v16c0 .6-.4 1-1 1H4a1 1 0 01-1-1V4c0-.6.4-1 1-1zm1 2v14h14V5H5zm6.5 11.8V14L9.2 8.7a5.1 5.1 0 00-.4-.8l-.1-.2H8 8v-1l.3-.1.3-.1h.7a1 1 0 01.6.5l.1.3a8.5 8.5 0 01.3.6l1.9 4.6 2-5.2a1 1 0 011-.6.5.5 0 01.5.6L13 14v2.8a.7.7 0 01-1.4 0z" fill-rule="nonzero"/></svg>',help:'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M12 5.5a6.5 6.5 0 00-6 9 6.3 6.3 0 001.4 2l1 1a6.3 6.3 0 003.6 1 6.5 6.5 0 006-9 6.3 6.3 0 00-1.4-2l-1-1a6.3 6.3 0 00-3.6-1zM12 4a7.8 7.8 0 015.7 2.3A8 8 0 1112 4z"/><path d="M9.6 9.7a.7.7 0 01-.7-.8c0-1.1 1.5-1.8 3.2-1.8 1.8 0 3.2.8 3.2 2.4 0 1.4-.4 2.1-1.5 2.8-.2 0-.3.1-.3.2a2 2 0 00-.8.8.8.8 0 01-1.4-.6c.3-.7.8-1 1.3-1.5l.4-.2c.7-.4.8-.6.8-1.5 0-.5-.6-.9-1.7-.9-.5 0-1 .1-1.4.3-.2 0-.3.1-.3.2v-.2c0 .4-.4.8-.8.8z" fill-rule="nonzero"/><circle cx="12" cy="16" r="1"/></g></svg>',"highlight-bg-color":'<svg width="24" height="24"><g fill-rule="evenodd"><path id="tox-icon-highlight-bg-color__color" d="M3 18h18v3H3z"/><path fill-rule="nonzero" d="M7.7 16.7H3l3.3-3.3-.7-.8L10.2 8l4 4.1-4 4.2c-.2.2-.6.2-.8 0l-.6-.7-1.1 1.1zm5-7.5L11 7.4l3-2.9a2 2 0 012.6 0L18 6c.7.7.7 2 0 2.7l-2.9 2.9-1.8-1.8-.5-.6"/></g></svg>',home:'<svg width="24" height="24"><path fill-rule="nonzero" d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/></svg>',"horizontal-rule":'<svg width="24" height="24"><path d="M4 11h16v2H4z" fill-rule="evenodd"/></svg>',"image-options":'<svg width="24" height="24"><path d="M6 10a2 2 0 00-2 2c0 1.1.9 2 2 2a2 2 0 002-2 2 2 0 00-2-2zm12 0a2 2 0 00-2 2c0 1.1.9 2 2 2a2 2 0 002-2 2 2 0 00-2-2zm-6 0a2 2 0 00-2 2c0 1.1.9 2 2 2a2 2 0 002-2 2 2 0 00-2-2z" fill-rule="nonzero"/></svg>',image:'<svg width="24" height="24"><path d="M5 15.7l3.3-3.2c.3-.3.7-.3 1 0L12 15l4.1-4c.3-.4.8-.4 1 0l2 1.9V5H5v10.7zM5 18V19h3l2.8-2.9-2-2L5 17.9zm14-3l-2.5-2.4-6.4 6.5H19v-4zM4 3h16c.6 0 1 .4 1 1v16c0 .6-.4 1-1 1H4a1 1 0 01-1-1V4c0-.6.4-1 1-1zm6 8a2 2 0 100-4 2 2 0 000 4z" fill-rule="nonzero"/></svg>',indent:'<svg width="24" height="24"><path d="M7 5h12c.6 0 1 .4 1 1s-.4 1-1 1H7a1 1 0 110-2zm5 4h7c.6 0 1 .4 1 1s-.4 1-1 1h-7a1 1 0 010-2zm0 4h7c.6 0 1 .4 1 1s-.4 1-1 1h-7a1 1 0 010-2zm-5 4h12a1 1 0 010 2H7a1 1 0 010-2zm-2.6-3.8L6.2 12l-1.8-1.2a1 1 0 011.2-1.6l3 2a1 1 0 010 1.6l-3 2a1 1 0 11-1.2-1.6z" fill-rule="evenodd"/></svg>',info:'<svg width="24" height="24"><path d="M12 4a7.8 7.8 0 015.7 2.3A8 8 0 1112 4zm-1 3v2h2V7h-2zm3 10v-1h-1v-5h-3v1h1v4h-1v1h4z" fill-rule="evenodd"/></svg>',"insert-character":'<svg width="24" height="24"><path d="M15 18h4l1-2v4h-6v-3.3l1.4-1a6 6 0 001.8-2.9 6.3 6.3 0 00-.1-4.1 5.8 5.8 0 00-3-3.2c-.6-.3-1.3-.5-2.1-.5a5.1 5.1 0 00-3.9 1.8 6.3 6.3 0 00-1.3 6 6.2 6.2 0 001.8 3l1.4.9V20H4v-4l1 2h4v-.5l-2-1L5.4 15A6.5 6.5 0 014 11c0-1 .2-1.9.6-2.7A7 7 0 016.3 6C7.1 5.4 8 5 9 4.5c1-.3 2-.5 3.1-.5a8.8 8.8 0 015.7 2 7 7 0 011.7 2.3 6 6 0 01.2 4.8c-.2.7-.6 1.3-1 1.9a7.6 7.6 0 01-3.6 2.5v.5z" fill-rule="evenodd"/></svg>',"insert-time":'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M12 19a7 7 0 100-14 7 7 0 000 14zm0 2a9 9 0 110-18 9 9 0 010 18z"/><path d="M16 12h-3V7c0-.6-.4-1-1-1a1 1 0 00-1 1v7h5c.6 0 1-.4 1-1s-.4-1-1-1z"/></g></svg>',invert:'<svg width="24" height="24"><path d="M18 19.3L16.5 18a5.8 5.8 0 01-3.1 1.9 6.1 6.1 0 01-5.5-1.6A5.8 5.8 0 016 14v-.3l.1-1.2A13.9 13.9 0 017.7 9l-3-3 .7-.8 2.8 2.9 9 8.9 1.5 1.6-.7.6zm0-5.5v.3l-.1 1.1-.4 1-1.2-1.2a4.3 4.3 0 00.2-1v-.2c0-.4 0-.8-.2-1.3l-.5-1.4a14.8 14.8 0 00-3-4.2L12 6a26.1 26.1 0 00-2.2 2.5l-1-1a20.9 20.9 0 012.9-3.3L12 4l1 .8a22.2 22.2 0 014 5.4c.6 1.2 1 2.4 1 3.6z" fill-rule="evenodd"/></svg>',italic:'<svg width="24" height="24"><path d="M16.7 4.7l-.1.9h-.3c-.6 0-1 0-1.4.3-.3.3-.4.6-.5 1.1l-2.1 9.8v.6c0 .5.4.8 1.4.8h.2l-.2.8H8l.2-.8h.2c1.1 0 1.8-.5 2-1.5l2-9.8.1-.5c0-.6-.4-.8-1.4-.8h-.3l.2-.9h5.8z" fill-rule="evenodd"/></svg>',language:'<svg width="24" height="24"><path d="M12 3a9 9 0 110 18 9 9 0 010-18zm4.3 13.3c-.5 1-1.2 2-2 2.9a7.5 7.5 0 003.2-2.1l-.2-.2a6 6 0 00-1-.6zm-8.6 0c-.5.2-.9.5-1.2.8.9 1 2 1.7 3.2 2a10 10 0 01-2-2.8zm3.6-.8c-.8 0-1.6.1-2.2.3.5 1 1.2 1.9 2.1 2.7zm1.5 0v3c.9-.8 1.6-1.7 2.1-2.7-.6-.2-1.4-.3-2.1-.3zm-6-2.7H4.5c.2 1 .5 2.1 1 3h.3l1.3-1a10 10 0 01-.3-2zm12.7 0h-2.3c0 .7-.1 1.4-.3 2l1.6 1.1c.5-1 .9-2 1-3.1zm-3.8 0h-3V14c1 0 2 .1 2.7.4.2-.5.3-1 .3-1.6zm-4.4 0h-3l.3 1.6c.8-.3 1.7-.4 2.7-.4v-1.3zm-5.5-5c-.7 1-1.1 2.2-1.3 3.5h2.3c0-1 .2-1.8.5-2.6l-1.5-1zm2.9 1.4v.1c-.2.6-.4 1.3-.4 2h3V9.4c-1 0-1.8-.1-2.6-.3zm6.6 0h-.1l-2.4.3v1.8h3l-.5-2.1zm3-1.4l-.3.1-1.3.8c.3.8.5 1.6.5 2.6h2.3a7.5 7.5 0 00-1.3-3.5zm-9 0l2 .2V5.5a9 9 0 00-2 2.2zm3.5-2.3V8c.6 0 1.3 0 1.9-.2a9 9 0 00-2-2.3zm-3-.7h-.1c-1.1.4-2.1 1-3 1.8l1.2.7a10 10 0 011.9-2.5zm4.4 0l.1.1a10 10 0 011.8 2.4l1.1-.7a7.5 7.5 0 00-3-1.8z"/></svg>',"line-height":'<svg width="24" height="24"><path d="M21 5a1 1 0 01.1 2H13a1 1 0 01-.1-2H21zm0 4a1 1 0 01.1 2H13a1 1 0 01-.1-2H21zm0 4a1 1 0 01.1 2H13a1 1 0 01-.1-2H21zm0 4a1 1 0 01.1 2H13a1 1 0 01-.1-2H21zM7 3.6l3.7 3.7a1 1 0 01-1.3 1.5h-.1L8 7.3v9.2l1.3-1.3a1 1 0 011.3 0h.1c.4.4.4 1 0 1.3v.1L7 20.4l-3.7-3.7a1 1 0 011.3-1.5h.1L6 16.7V7.4L4.7 8.7a1 1 0 01-1.3 0h-.1a1 1 0 010-1.3v-.1L7 3.6z"/></svg>',line:'<svg width="24" height="24"><path d="M15 9l-8 8H4v-3l8-8 3 3zm1-1l-3-3 1-1h1c-.2 0 0 0 0 0l2 2s0 .2 0 0v1l-1 1zM4 18h16v2H4v-2z" fill-rule="evenodd"/></svg>',link:'<svg width="24" height="24"><path d="M6.2 12.3a1 1 0 011.4 1.4l-2.1 2a2 2 0 102.7 2.8l4.8-4.8a1 1 0 000-1.4 1 1 0 111.4-1.3 2.9 2.9 0 010 4L9.6 20a3.9 3.9 0 01-5.5-5.5l2-2zm11.6-.6a1 1 0 01-1.4-1.4l2-2a2 2 0 10-2.6-2.8L11 10.3a1 1 0 000 1.4A1 1 0 119.6 13a2.9 2.9 0 010-4L14.4 4a3.9 3.9 0 015.5 5.5l-2 2z" fill-rule="nonzero"/></svg>',"list-bull-circle":'<svg width="48" height="48"><g fill-rule="evenodd"><path d="M11 16a2 2 0 100-4 2 2 0 000 4zm0 1a3 3 0 110-6 3 3 0 010 6zM11 26a2 2 0 100-4 2 2 0 000 4zm0 1a3 3 0 110-6 3 3 0 010 6zM11 36a2 2 0 100-4 2 2 0 000 4zm0 1a3 3 0 110-6 3 3 0 010 6z" fill-rule="nonzero"/><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/></g></svg>',"list-bull-default":'<svg width="48" height="48"><g fill-rule="evenodd"><circle cx="11" cy="14" r="3"/><circle cx="11" cy="24" r="3"/><circle cx="11" cy="34" r="3"/><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/></g></svg>',"list-bull-square":'<svg width="48" height="48"><g fill-rule="evenodd"><path d="M8 11h6v6H8zM8 21h6v6H8zM8 31h6v6H8z"/><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/></g></svg>',"list-num-default-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M37.4 17v-4.8l-1.6 1v-1.1l1.6-1h1.2V17zM33.3 17.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zm1.7 5.7c0-1.2 1-2 2.2-2 1.3 0 2.1.8 2.1 1.8 0 .7-.3 1.2-1.3 2.2l-1.2 1v.2h2.6v1h-4.3v-.9l2-1.9c.8-.8 1-1.1 1-1.5 0-.5-.4-.8-1-.8-.5 0-.9.3-.9.9H35zm-1.7 4.3c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zm3.2 7.3v-1h.7c.6 0 1-.3 1-.8 0-.4-.4-.7-1-.7s-1 .3-1 .8H35c0-1.1 1-1.8 2.2-1.8 1.2 0 2.1.6 2.1 1.6 0 .7-.4 1.2-1 1.3v.1c.7.1 1.3.7 1.3 1.4 0 1-1 1.9-2.4 1.9-1.3 0-2.2-.8-2.3-2h1.2c0 .6.5 1 1.1 1 .6 0 1-.4 1-1 0-.5-.3-.8-1-.8h-.7zm-3.3 2.7c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7z"/></g></svg>',"list-num-default":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M10 17v-4.8l-1.5 1v-1.1l1.6-1h1.2V17h-1.2zm3.6.1c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .7.3.7.7 0 .4-.2.7-.7.7zm-5 5.7c0-1.2.8-2 2.1-2s2.1.8 2.1 1.8c0 .7-.3 1.2-1.4 2.2l-1.1 1v.2h2.6v1H8.6v-.9l2-1.9c.8-.8 1-1.1 1-1.5 0-.5-.4-.8-1-.8-.5 0-.9.3-.9.9H8.5zm6.3 4.3c-.5 0-.7-.3-.7-.7 0-.4.2-.7.7-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zM10 34.4v-1h.7c.6 0 1-.3 1-.8 0-.4-.4-.7-1-.7s-1 .3-1 .8H8.6c0-1.1 1-1.8 2.2-1.8 1.3 0 2.1.6 2.1 1.6 0 .7-.4 1.2-1 1.3v.1c.8.1 1.3.7 1.3 1.4 0 1-1 1.9-2.4 1.9-1.3 0-2.2-.8-2.3-2h1.2c0 .6.5 1 1.1 1 .7 0 1-.4 1-1 0-.5-.3-.8-1-.8h-.7zm4.7 2.7c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7z"/></g></svg>',"list-num-lower-alpha-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M36.5 16c-.9 0-1.5-.5-1.5-1.3s.6-1.3 1.8-1.4h1v-.4c0-.4-.2-.6-.7-.6-.4 0-.7.1-.8.4h-1.1c0-.8.8-1.4 2-1.4S39 12 39 13V16h-1.2v-.6c-.3.4-.8.7-1.4.7zm.4-.8c.6 0 1-.4 1-.9V14h-1c-.5.1-.7.3-.7.6 0 .4.3.6.7.6zM33.1 16.1c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7zM37.7 26c-.7 0-1.2-.2-1.5-.7v.7H35v-6.3h1.2v2.5c.3-.5.8-.9 1.5-.9 1.1 0 1.8 1 1.8 2.4 0 1.5-.7 2.4-1.8 2.4zm-.5-3.6c-.6 0-1 .5-1 1.3s.4 1.4 1 1.4c.7 0 1-.6 1-1.4 0-.8-.3-1.3-1-1.3zM33.2 26.1c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7zm6 7h-1c-.1-.5-.4-.8-1-.8s-1 .5-1 1.4c0 1 .4 1.4 1 1.4.5 0 .9-.2 1-.7h1c0 1-.8 1.7-2 1.7-1.4 0-2.2-.9-2.2-2.4s.8-2.4 2.2-2.4c1.2 0 2 .7 2 1.7zm-6.1 3c-.5 0-.7-.3-.7-.7 0-.4.2-.7.7-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7z"/></g></svg>',"list-num-lower-alpha":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M10.3 15.2c.5 0 1-.4 1-.9V14h-1c-.5.1-.8.3-.8.6 0 .4.3.6.8.6zm-.4.9c-1 0-1.5-.6-1.5-1.4 0-.8.6-1.3 1.7-1.4h1.1v-.4c0-.4-.2-.6-.7-.6-.5 0-.8.1-.9.4h-1c0-.8.8-1.4 2-1.4 1.1 0 1.8.6 1.8 1.6V16h-1.1v-.6h-.1c-.2.4-.7.7-1.3.7zm4.6 0c-.5 0-.7-.3-.7-.7 0-.4.2-.7.7-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zm-3.2 10c-.6 0-1.2-.3-1.4-.8v.7H8.5v-6.3H10v2.5c.3-.5.8-.9 1.4-.9 1.2 0 1.9 1 1.9 2.4 0 1.5-.7 2.4-1.9 2.4zm-.4-3.7c-.7 0-1 .5-1 1.3s.3 1.4 1 1.4c.6 0 1-.6 1-1.4 0-.8-.4-1.3-1-1.3zm4 3.7c-.5 0-.7-.3-.7-.7 0-.4.2-.7.7-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zm-2.2 7h-1.2c0-.5-.4-.8-.9-.8-.6 0-1 .5-1 1.4 0 1 .4 1.4 1 1.4.5 0 .8-.2 1-.7h1c0 1-.8 1.7-2 1.7-1.4 0-2.2-.9-2.2-2.4s.8-2.4 2.2-2.4c1.2 0 2 .7 2 1.7zm1.8 3c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7z"/></g></svg>',"list-num-lower-greek-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M37.4 16c-1.2 0-2-.8-2-2.3 0-1.5.8-2.4 2-2.4.6 0 1 .4 1.3 1v-.9H40v3.2c0 .4.1.5.4.5h.2v.9h-.6c-.6 0-1-.2-1-.7h-.2c-.2.4-.7.8-1.3.8zm.3-1c.6 0 1-.5 1-1.3s-.4-1.3-1-1.3-1 .5-1 1.3.4 1.4 1 1.4zM33.3 16.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zM36 21.9c0-1.5.8-2.3 2.1-2.3 1.2 0 2 .6 2 1.6 0 .6-.3 1-.9 1.3.9.3 1.3.8 1.3 1.7 0 1.2-.7 1.9-1.8 1.9-.6 0-1.1-.3-1.4-.8v2.2H36V22zm1.8 1.2v-1h.3c.5 0 .9-.2.9-.7 0-.5-.3-.8-.9-.8-.5 0-.8.3-.8 1v2.2c0 .8.4 1.3 1 1.3s1-.4 1-1-.4-1-1.2-1h-.3zM33.3 26.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zM37.1 34.6L34.8 30h1.4l1.7 3.5 1.7-3.5h1.1l-2.2 4.6v.1c.5.8.7 1.4.7 1.8 0 .4-.2.8-.4 1-.2.2-.6.3-1 .3-.9 0-1.3-.4-1.3-1.2 0-.5.2-1 .5-1.7l.1-.2zm.7 1a2 2 0 00-.4.9c0 .3.1.4.4.4.3 0 .4-.1.4-.4 0-.2-.1-.6-.4-1zM33.3 36.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7z"/></g></svg>',"list-num-lower-greek":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M10.5 15c.7 0 1-.5 1-1.3s-.3-1.3-1-1.3c-.5 0-.9.5-.9 1.3s.4 1.4 1 1.4zm-.3 1c-1.1 0-1.8-.8-1.8-2.3 0-1.5.7-2.4 1.8-2.4.7 0 1.1.4 1.3 1h.1v-.9h1.2v3.2c0 .4.1.5.4.5h.2v.9h-.6c-.6 0-1-.2-1.1-.7h-.1c-.2.4-.7.8-1.4.8zm5 .1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7zm-4.9 7v-1h.3c.6 0 1-.2 1-.7 0-.5-.4-.8-1-.8-.5 0-.8.3-.8 1v2.2c0 .8.4 1.3 1.1 1.3.6 0 1-.4 1-1s-.5-1-1.3-1h-.3zM8.6 22c0-1.5.7-2.3 2-2.3 1.2 0 2 .6 2 1.6 0 .6-.3 1-.8 1.3.8.3 1.3.8 1.3 1.7 0 1.2-.8 1.9-1.9 1.9-.6 0-1.1-.3-1.3-.8v2.2H8.5V22zm6.2 4.2c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .7.3.7.7 0 .4-.2.7-.7.7zm-4.5 8.5L8 30h1.4l1.7 3.5 1.7-3.5h1.1l-2.2 4.6v.1c.5.8.7 1.4.7 1.8 0 .4-.1.8-.4 1-.2.2-.6.3-1 .3-.9 0-1.3-.4-1.3-1.2 0-.5.2-1 .5-1.7l.1-.2zm.7 1a2 2 0 00-.4.9c0 .3.1.4.4.4.3 0 .4-.1.4-.4 0-.2-.1-.6-.4-1zm4.5.5c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7z"/></g></svg>',"list-num-lower-roman-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M32.9 16v-1.2h-1.3V16H33zm0 10v-1.2h-1.3V26H33zm0 10v-1.2h-1.3V36H33z"/><path fill-rule="nonzero" d="M36 21h-1.5v5H36zM36 31h-1.5v5H36zM39 21h-1.5v5H39zM39 31h-1.5v5H39zM42 31h-1.5v5H42zM36 11h-1.5v5H36zM36 19h-1.5v1H36zM36 29h-1.5v1H36zM39 19h-1.5v1H39zM39 29h-1.5v1H39zM42 29h-1.5v1H42zM36 9h-1.5v1H36z"/></g></svg>',"list-num-lower-roman":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M15.1 16v-1.2h1.3V16H15zm0 10v-1.2h1.3V26H15zm0 10v-1.2h1.3V36H15z"/><path fill-rule="nonzero" d="M12 21h1.5v5H12zM12 31h1.5v5H12zM9 21h1.5v5H9zM9 31h1.5v5H9zM6 31h1.5v5H6zM12 11h1.5v5H12zM12 19h1.5v1H12zM12 29h1.5v1H12zM9 19h1.5v1H9zM9 29h1.5v1H9zM6 29h1.5v1H6zM12 9h1.5v1H12z"/></g></svg>',"list-num-upper-alpha-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M39.3 17l-.5-1.4h-2l-.5 1.4H35l2-6h1.6l2 6h-1.3zm-1.6-4.7l-.7 2.3h1.6l-.8-2.3zM33.4 17c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .7.3.7.7 0 .4-.2.7-.7.7zm4.7 9.9h-2.7v-6H38c1.2 0 1.9.6 1.9 1.5 0 .6-.5 1.2-1 1.3.7.1 1.3.7 1.3 1.5 0 1-.8 1.7-2 1.7zm-1.4-5v1.5h1c.6 0 1-.3 1-.8 0-.4-.4-.7-1-.7h-1zm0 4h1.1c.7 0 1.1-.3 1.1-.8 0-.6-.4-.9-1.1-.9h-1.1V26zM33 27.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zm4.9 10c-1.8 0-2.8-1.1-2.8-3.1s1-3.1 2.8-3.1c1.4 0 2.5.9 2.6 2.2h-1.3c0-.7-.6-1.1-1.3-1.1-1 0-1.6.7-1.6 2s.6 2 1.6 2c.7 0 1.2-.4 1.4-1h1.2c-.1 1.3-1.2 2.2-2.6 2.2zm-4.5 0c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7z"/></g></svg>',"list-num-upper-alpha":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M12.6 17l-.5-1.4h-2L9.5 17H8.3l2-6H12l2 6h-1.3zM11 12.3l-.7 2.3h1.6l-.8-2.3zm4.7 4.8c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .7.3.7.7 0 .4-.2.7-.7.7zM11.4 27H8.7v-6h2.6c1.2 0 1.9.6 1.9 1.5 0 .6-.5 1.2-1 1.3.7.1 1.3.7 1.3 1.5 0 1-.8 1.7-2 1.7zM10 22v1.5h1c.6 0 1-.3 1-.8 0-.4-.4-.7-1-.7h-1zm0 4H11c.7 0 1.1-.3 1.1-.8 0-.6-.4-.9-1.1-.9H10V26zm5.4 1.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zm-4.1 10c-1.8 0-2.8-1.1-2.8-3.1s1-3.1 2.8-3.1c1.4 0 2.5.9 2.6 2.2h-1.3c0-.7-.6-1.1-1.3-1.1-1 0-1.6.7-1.6 2s.6 2 1.6 2c.7 0 1.2-.4 1.4-1h1.2c-.1 1.3-1.2 2.2-2.6 2.2zm4.5 0c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7z"/></g></svg>',"list-num-upper-roman-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M31.6 17v-1.2H33V17h-1.3zm0 10v-1.2H33V27h-1.3zm0 10v-1.2H33V37h-1.3z"/><path fill-rule="nonzero" d="M34.5 20H36v7h-1.5zM34.5 30H36v7h-1.5zM37.5 20H39v7h-1.5zM37.5 30H39v7h-1.5zM40.5 30H42v7h-1.5zM34.5 10H36v7h-1.5z"/></g></svg>',"list-num-upper-roman":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M15.1 17v-1.2h1.3V17H15zm0 10v-1.2h1.3V27H15zm0 10v-1.2h1.3V37H15z"/><path fill-rule="nonzero" d="M12 20h1.5v7H12zM12 30h1.5v7H12zM9 20h1.5v7H9zM9 30h1.5v7H9zM6 30h1.5v7H6zM12 10h1.5v7H12z"/></g></svg>',lock:'<svg width="24" height="24"><path d="M16.3 11c.2 0 .3 0 .5.2l.2.6v7.4c0 .3 0 .4-.2.6l-.6.2H7.8c-.3 0-.4 0-.6-.2a.7.7 0 01-.2-.6v-7.4c0-.3 0-.4.2-.6l.5-.2H8V8c0-.8.3-1.5.9-2.1.6-.6 1.3-.9 2.1-.9h2c.8 0 1.5.3 2.1.9.6.6.9 1.3.9 2.1v3h.3zM10 8v3h4V8a1 1 0 00-.3-.7A1 1 0 0013 7h-2a1 1 0 00-.7.3 1 1 0 00-.3.7z" fill-rule="evenodd"/></svg>',ltr:'<svg width="24" height="24"><path d="M11 5h7a1 1 0 010 2h-1v11a1 1 0 01-2 0V7h-2v11a1 1 0 01-2 0v-6c-.5 0-1 0-1.4-.3A3.4 3.4 0 017.8 10a3.3 3.3 0 010-2.8 3.4 3.4 0 011.8-1.8L11 5zM4.4 16.2L6.2 15l-1.8-1.2a1 1 0 011.2-1.6l3 2a1 1 0 010 1.6l-3 2a1 1 0 11-1.2-1.6z" fill-rule="evenodd"/></svg>',"more-drawer":'<svg width="24" height="24"><path d="M6 10a2 2 0 00-2 2c0 1.1.9 2 2 2a2 2 0 002-2 2 2 0 00-2-2zm12 0a2 2 0 00-2 2c0 1.1.9 2 2 2a2 2 0 002-2 2 2 0 00-2-2zm-6 0a2 2 0 00-2 2c0 1.1.9 2 2 2a2 2 0 002-2 2 2 0 00-2-2z" fill-rule="nonzero"/></svg>',"new-document":'<svg width="24" height="24"><path d="M14.4 3H7a2 2 0 00-2 2v14c0 1.1.9 2 2 2h10a2 2 0 002-2V7.6L14.4 3zM17 19H7V5h6v4h4v10z" fill-rule="nonzero"/></svg>',"new-tab":'<svg width="24" height="24"><path d="M15 13l2-2v8H5V7h8l-2 2H7v8h8v-4zm4-8v5.5l-2-2-5.6 5.5H10v-1.4L15.5 7l-2-2H19z" fill-rule="evenodd"/></svg>',"non-breaking":'<svg width="24" height="24"><path d="M11 11H8a1 1 0 110-2h3V6c0-.6.4-1 1-1s1 .4 1 1v3h3c.6 0 1 .4 1 1s-.4 1-1 1h-3v3c0 .6-.4 1-1 1a1 1 0 01-1-1v-3zm10 4v5H3v-5c0-.6.4-1 1-1s1 .4 1 1v3h14v-3c0-.6.4-1 1-1s1 .4 1 1z" fill-rule="evenodd"/></svg>',notice:'<svg width="24" height="24"><path d="M17.8 9.8L15.4 4 20 8.5v7L15.5 20h-7L4 15.5v-7L8.5 4h7l2.3 5.8zm0 0l2.2 5.7-2.3-5.8zM13 17v-2h-2v2h2zm0-4V7h-2v6h2z" fill-rule="evenodd"/></svg>',"ordered-list-rtl":'<svg width="24" height="24"><path d="M6 17h8a1 1 0 010 2H6a1 1 0 010-2zm0-6h8a1 1 0 010 2H6a1 1 0 010-2zm0-6h8a1 1 0 010 2H6a1 1 0 110-2zm13-1v3.5a.5.5 0 11-1 0V5h-.5a.5.5 0 110-1H19zm-1 8.8l.2.2h1.3a.5.5 0 110 1h-1.6a1 1 0 01-.9-1V13c0-.4.3-.8.6-1l1.2-.4.2-.3a.2.2 0 00-.2-.2h-1.3a.5.5 0 01-.5-.5c0-.3.2-.5.5-.5h1.6c.5 0 .9.4.9 1v.1c0 .4-.3.8-.6 1l-1.2.4-.2.3zm2 4.2v2c0 .6-.4 1-1 1h-1.5a.5.5 0 010-1h1.2a.3.3 0 100-.6h-1.3a.4.4 0 110-.8h1.3a.3.3 0 000-.6h-1.2a.5.5 0 110-1H19c.6 0 1 .4 1 1z" fill-rule="evenodd"/></svg>',"ordered-list":'<svg width="24" height="24"><path d="M10 17h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 010-2zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 010-2zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 110-2zM6 4v3.5c0 .3-.2.5-.5.5a.5.5 0 01-.5-.5V5h-.5a.5.5 0 010-1H6zm-1 8.8l.2.2h1.3c.3 0 .5.2.5.5s-.2.5-.5.5H4.9a1 1 0 01-.9-1V13c0-.4.3-.8.6-1l1.2-.4.2-.3a.2.2 0 00-.2-.2H4.5a.5.5 0 01-.5-.5c0-.3.2-.5.5-.5h1.6c.5 0 .9.4.9 1v.1c0 .4-.3.8-.6 1l-1.2.4-.2.3zM7 17v2c0 .6-.4 1-1 1H4.5a.5.5 0 010-1h1.2c.2 0 .3-.1.3-.3 0-.2-.1-.3-.3-.3H4.4a.4.4 0 110-.8h1.3c.2 0 .3-.1.3-.3 0-.2-.1-.3-.3-.3H4.5a.5.5 0 110-1H6c.6 0 1 .4 1 1z" fill-rule="evenodd"/></svg>',orientation:'<svg width="24" height="24"><path d="M7.3 6.4L1 13l6.4 6.5 6.5-6.5-6.5-6.5zM3.7 13l3.6-3.7L11 13l-3.7 3.7-3.6-3.7zM12 6l2.8 2.7c.3.3.3.8 0 1-.3.4-.9.4-1.2 0L9.2 5.7a.8.8 0 010-1.2L13.6.2c.3-.3.9-.3 1.2 0 .3.3.3.8 0 1.1L12 4h1a9 9 0 11-4.3 16.9l1.5-1.5A7 7 0 1013 6h-1z" fill-rule="nonzero"/></svg>',outdent:'<svg width="24" height="24"><path d="M7 5h12c.6 0 1 .4 1 1s-.4 1-1 1H7a1 1 0 110-2zm5 4h7c.6 0 1 .4 1 1s-.4 1-1 1h-7a1 1 0 010-2zm0 4h7c.6 0 1 .4 1 1s-.4 1-1 1h-7a1 1 0 010-2zm-5 4h12a1 1 0 010 2H7a1 1 0 010-2zm1.6-3.8a1 1 0 01-1.2 1.6l-3-2a1 1 0 010-1.6l3-2a1 1 0 011.2 1.6L6.8 12l1.8 1.2z" fill-rule="evenodd"/></svg>',"page-break":'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M5 11c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 010-2zm3 0h1c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 010-2zm4 0c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 010-2zm3 0h1c.6 0 1 .4 1 1s-.4 1-1 1h-1a1 1 0 010-2zm4 0c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 010-2zM7 3v5h10V3c0-.6.4-1 1-1s1 .4 1 1v7H5V3c0-.6.4-1 1-1s1 .4 1 1zM6 22a1 1 0 01-1-1v-7h14v7c0 .6-.4 1-1 1a1 1 0 01-1-1v-5H7v5c0 .6-.4 1-1 1z"/></g></svg>',paragraph:'<svg width="24" height="24"><path fill-rule="evenodd" d="M10 5h7a1 1 0 010 2h-1v11a1 1 0 01-2 0V7h-2v11a1 1 0 01-2 0v-6c-.5 0-1 0-1.4-.3A3.4 3.4 0 016.8 10a3.3 3.3 0 010-2.8 3.4 3.4 0 011.8-1.8L10 5z"/></svg>',"paste-column-after":'<svg width="24" height="24"><path fill-rule="evenodd" d="M12 1a3 3 0 012.8 2H18c1 0 2 .8 2 1.9V7h-2V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 01-1-1V5H6v13h7v2H6c-1 0-2-.8-2-1.9V5c0-1 .8-2 1.9-2H9.2A3 3 0 0112 1zm8 7v12h-6V8h6zm-1.5 1.5h-3v9h3v-9zM12 3a1 1 0 100 2 1 1 0 000-2z"/></svg>',"paste-column-before":'<svg width="24" height="24"><path fill-rule="evenodd" d="M12 1a3 3 0 012.8 2H18c1 0 2 .8 2 1.9V18c0 1-.8 2-1.9 2H11v-2h7V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 01-1-1V5H6v2H4V5c0-1 .8-2 1.9-2H9.2A3 3 0 0112 1zm-2 7v12H4V8h6zM8.5 9.5h-3v9h3v-9zM12 3a1 1 0 100 2 1 1 0 000-2z"/></svg>',"paste-row-after":'<svg width="24" height="24"><path fill-rule="evenodd" d="M12 1a3 3 0 012.8 2H18c1 0 2 .8 2 1.9V11h-2V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 01-1-1V5H6v13h14c0 1-.8 2-1.9 2H6c-1 0-2-.8-2-1.9V5c0-1 .8-2 1.9-2H9.2A3 3 0 0112 1zm10 11v5H8v-5h14zm-1.5 1.5h-11v2h11v-2zM12 3a1 1 0 100 2 1 1 0 000-2z"/></svg>',"paste-row-before":'<svg width="24" height="24"><path fill-rule="evenodd" d="M12 1a3 3 0 012.8 2H18c1 0 2 .8 2 1.9V7h-2V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 01-1-1V5H6v13h12v-4h2v4c0 1-.8 2-1.9 2H6c-1 0-2-.8-2-1.9V5c0-1 .8-2 1.9-2H9.2A3 3 0 0112 1zm10 7v5H8V8h14zm-1.5 1.5h-11v2h11v-2zM12 3a1 1 0 100 2 1 1 0 000-2z"/></svg>',"paste-text":'<svg width="24" height="24"><path d="M18 9V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 01-1-1V5H6v13h3V9h9zM9 20H6a2 2 0 01-2-2V5c0-1.1.9-2 2-2h3.2A3 3 0 0112 1a3 3 0 012.8 2H18a2 2 0 012 2v4h1v12H9v-1zm1.5-9.5v9h9v-9h-9zM12 3a1 1 0 00-1 1c0 .5.4 1 1 1s1-.5 1-1-.4-1-1-1zm0 9h6v2h-.5l-.5-1h-1v4h.8v1h-3.6v-1h.8v-4h-1l-.5 1H12v-2z" fill-rule="nonzero"/></svg>',paste:'<svg width="24" height="24"><path d="M18 9V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 01-1-1V5H6v13h3V9h9zM9 20H6a2 2 0 01-2-2V5c0-1.1.9-2 2-2h3.2A3 3 0 0112 1a3 3 0 012.8 2H18a2 2 0 012 2v4h1v12H9v-1zm1.5-9.5v9h9v-9h-9zM12 3a1 1 0 00-1 1c0 .5.4 1 1 1s1-.5 1-1-.4-1-1-1z" fill-rule="nonzero"/></svg>',"permanent-pen":'<svg width="24" height="24"><path d="M10.5 17.5L8 20H3v-3l3.5-3.5a2 2 0 010-3L14 3l1 1-7.3 7.3a1 1 0 000 1.4l3.6 3.6c.4.4 1 .4 1.4 0L20 9l1 1-7.6 7.6a2 2 0 01-2.8 0l-.1-.1z" fill-rule="nonzero"/></svg>',plus:'<svg width="24" height="24"><path d="M12 4c.5 0 1 .4 1 .9V11h6a1 1 0 01.1 2H13v6a1 1 0 01-2 .1V13H5a1 1 0 01-.1-2H11V5c0-.6.4-1 1-1z"/></svg>',preferences:'<svg width="24" height="24"><path d="M20.1 13.5l-1.9.2a5.8 5.8 0 01-.6 1.5l1.2 1.5c.4.4.3 1 0 1.4l-.7.7a1 1 0 01-1.4 0l-1.5-1.2a6.2 6.2 0 01-1.5.6l-.2 1.9c0 .5-.5.9-1 .9h-1a1 1 0 01-1-.9l-.2-1.9a5.8 5.8 0 01-1.5-.6l-1.5 1.2a1 1 0 01-1.4 0l-.7-.7a1 1 0 010-1.4l1.2-1.5a6.2 6.2 0 01-.6-1.5l-1.9-.2a1 1 0 01-.9-1v-1c0-.5.4-1 .9-1l1.9-.2a5.8 5.8 0 01.6-1.5L5.2 7.3a1 1 0 010-1.4l.7-.7a1 1 0 011.4 0l1.5 1.2a6.2 6.2 0 011.5-.6l.2-1.9c0-.5.5-.9 1-.9h1c.5 0 1 .4 1 .9l.2 1.9a5.8 5.8 0 011.5.6l1.5-1.2a1 1 0 011.4 0l.7.7c.3.4.4 1 0 1.4l-1.2 1.5a6.2 6.2 0 01.6 1.5l1.9.2c.5 0 .9.5.9 1v1c0 .5-.4 1-.9 1zM12 15a3 3 0 100-6 3 3 0 000 6z" fill-rule="evenodd"/></svg>',preview:'<svg width="24" height="24"><path d="M3.5 12.5c.5.8 1.1 1.6 1.8 2.3 2 2 4.2 3.2 6.7 3.2s4.7-1.2 6.7-3.2a16.2 16.2 0 002.1-2.8 15.7 15.7 0 00-2.1-2.8c-2-2-4.2-3.2-6.7-3.2a9.3 9.3 0 00-6.7 3.2A16.2 16.2 0 003.2 12c0 .2.2.3.3.5zm-2.4-1l.7-1.2L4 7.8C6.2 5.4 8.9 4 12 4c3 0 5.8 1.4 8.1 3.8a18.2 18.2 0 012.8 3.7v1l-.7 1.2-2.1 2.5c-2.3 2.4-5 3.8-8.1 3.8-3 0-5.8-1.4-8.1-3.8a18.2 18.2 0 01-2.8-3.7 1 1 0 010-1zm12-3.3a2 2 0 102.7 2.6 4 4 0 11-2.6-2.6z" fill-rule="nonzero"/></svg>',print:'<svg width="24" height="24"><path d="M18 8H6a3 3 0 00-3 3v6h2v3h14v-3h2v-6a3 3 0 00-3-3zm-1 10H7v-4h10v4zm.5-5c-.8 0-1.5-.7-1.5-1.5s.7-1.5 1.5-1.5 1.5.7 1.5 1.5-.7 1.5-1.5 1.5zm.5-8H6v2h12V5z" fill-rule="nonzero"/></svg>',quote:'<svg width="24" height="24"><path d="M7.5 17h.9c.4 0 .7-.2.9-.6L11 13V8c0-.6-.4-1-1-1H6a1 1 0 00-1 1v4c0 .6.4 1 1 1h2l-1.3 2.7a1 1 0 00.8 1.3zm8 0h.9c.4 0 .7-.2.9-.6L19 13V8c0-.6-.4-1-1-1h-4a1 1 0 00-1 1v4c0 .6.4 1 1 1h2l-1.3 2.7a1 1 0 00.8 1.3z" fill-rule="nonzero"/></svg>',redo:'<svg width="24" height="24"><path d="M17.6 10H12c-2.8 0-4.4 1.4-4.9 3.5-.4 2 .3 4 1.4 4.6a1 1 0 11-1 1.8c-2-1.2-2.9-4.1-2.3-6.8.6-3 3-5.1 6.8-5.1h5.6l-3.3-3.3a1 1 0 111.4-1.4l5 5a1 1 0 010 1.4l-5 5a1 1 0 01-1.4-1.4l3.3-3.3z" fill-rule="nonzero"/></svg>',reload:'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M5 22.1l-1.2-4.7v-.2a1 1 0 011-1l5 .4a1 1 0 11-.2 2l-2.2-.2a7.8 7.8 0 008.4.2 7.5 7.5 0 003.5-6.4 1 1 0 112 0 9.5 9.5 0 01-4.5 8 9.9 9.9 0 01-10.2 0l.4 1.4a1 1 0 11-2 .5zM13.6 7.4c0-.5.5-1 1-.9l2.8.2a8 8 0 00-9.5-1 7.5 7.5 0 00-3.6 7 1 1 0 01-2 0 9.5 9.5 0 014.5-8.6 10 10 0 0110.9.3l-.3-1a1 1 0 012-.5l1.1 4.8a1 1 0 01-1 1.2l-5-.4a1 1 0 01-.9-1z"/></g></svg>',"remove-formatting":'<svg width="24" height="24"><path d="M13.2 6a1 1 0 010 .2l-2.6 10a1 1 0 01-1 .8h-.2a.8.8 0 01-.8-1l2.6-10H8a1 1 0 110-2h9a1 1 0 010 2h-3.8zM5 18h7a1 1 0 010 2H5a1 1 0 010-2zm13 1.5L16.5 18 15 19.5a.7.7 0 01-1-1l1.5-1.5-1.5-1.5a.7.7 0 011-1l1.5 1.5 1.5-1.5a.7.7 0 011 1L17.5 17l1.5 1.5a.7.7 0 01-1 1z" fill-rule="evenodd"/></svg>',remove:'<svg width="24" height="24"><path d="M16 7h3a1 1 0 010 2h-1v9a3 3 0 01-3 3H9a3 3 0 01-3-3V9H5a1 1 0 110-2h3V6a3 3 0 013-3h2a3 3 0 013 3v1zm-2 0V6c0-.6-.4-1-1-1h-2a1 1 0 00-1 1v1h4zm2 2H8v9c0 .6.4 1 1 1h6c.6 0 1-.4 1-1V9zm-7 3a1 1 0 012 0v4a1 1 0 01-2 0v-4zm4 0a1 1 0 012 0v4a1 1 0 01-2 0v-4z" fill-rule="nonzero"/></svg>',"resize-handle":'<svg width="10" height="10"><g fill-rule="nonzero"><path d="M8.1 1.1A.5.5 0 119 2l-7 7A.5.5 0 111 8l7-7zM8.1 5.1A.5.5 0 119 6l-3 3A.5.5 0 115 8l3-3z"/></g></svg>',resize:'<svg width="24" height="24"><path d="M4 5c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h6c.3 0 .5.1.7.3.2.2.3.4.3.7 0 .3-.1.5-.3.7a1 1 0 01-.7.3H7.4L18 16.6V13c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3.3 0 .5.1.7.3.2.2.3.4.3.7v6c0 .3-.1.5-.3.7a1 1 0 01-.7.3h-6a1 1 0 01-.7-.3 1 1 0 01-.3-.7c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h3.6L6 7.4V11c0 .3-.1.5-.3.7a1 1 0 01-.7.3 1 1 0 01-.7-.3A1 1 0 014 11V5z" fill-rule="evenodd"/></svg>',"restore-draft":'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M17 13c0 .6-.4 1-1 1h-4V8c0-.6.4-1 1-1s1 .4 1 1v4h2c.6 0 1 .4 1 1z"/><path d="M4.7 10H9a1 1 0 010 2H3a1 1 0 01-1-1V5a1 1 0 112 0v3l2.5-2.4a9.2 9.2 0 0110.8-1.5A9 9 0 0113.4 21c-2.4.1-4.7-.7-6.5-2.2a1 1 0 111.3-1.5 7.2 7.2 0 0011.6-3.7 7 7 0 00-3.5-7.7A7.2 7.2 0 008 7L4.7 10z" fill-rule="nonzero"/></g></svg>',"rotate-left":'<svg width="24" height="24"><path d="M4.7 10H9a1 1 0 010 2H3a1 1 0 01-1-1V5a1 1 0 112 0v3l2.5-2.4a9.2 9.2 0 0110.8-1.5A9 9 0 0113.4 21c-2.4.1-4.7-.7-6.5-2.2a1 1 0 111.3-1.5 7.2 7.2 0 0011.6-3.7 7 7 0 00-3.5-7.7A7.2 7.2 0 008 7L4.7 10z" fill-rule="nonzero"/></svg>',"rotate-right":'<svg width="24" height="24"><path d="M20 8V5a1 1 0 012 0v6c0 .6-.4 1-1 1h-6a1 1 0 010-2h4.3L16 7A7.2 7.2 0 007.7 6a7 7 0 003 13.1c1.9.1 3.7-.5 5-1.7a1 1 0 011.4 1.5A9.2 9.2 0 012.2 14c-.9-3.9 1-8 4.5-9.9 3.5-1.9 8-1.3 10.8 1.5L20 8z" fill-rule="nonzero"/></svg>',rtl:'<svg width="24" height="24"><path d="M8 5h8v2h-2v12h-2V7h-2v12H8v-7c-.5 0-1 0-1.4-.3A3.4 3.4 0 014.8 10a3.3 3.3 0 010-2.8 3.4 3.4 0 011.8-1.8L8 5zm12 11.2a1 1 0 11-1 1.6l-3-2a1 1 0 010-1.6l3-2a1 1 0 111 1.6L18.4 15l1.8 1.2z" fill-rule="evenodd"/></svg>',save:'<svg width="24" height="24"><path d="M5 16h14a2 2 0 012 2v2a2 2 0 01-2 2H5a2 2 0 01-2-2v-2c0-1.1.9-2 2-2zm0 2v2h14v-2H5zm10 0h2v2h-2v-2zm-4-6.4L8.7 9.3a1 1 0 10-1.4 1.4l4 4c.4.4 1 .4 1.4 0l4-4a1 1 0 10-1.4-1.4L13 11.6V4a1 1 0 00-2 0v7.6z" fill-rule="nonzero"/></svg>',search:'<svg width="24" height="24"><path d="M16 17.3a8 8 0 111.4-1.4l4.3 4.4a1 1 0 01-1.4 1.4l-4.4-4.3zm-5-.3a6 6 0 100-12 6 6 0 000 12z" fill-rule="nonzero"/></svg>',"select-all":'<svg width="24" height="24"><path d="M3 5h2V3a2 2 0 00-2 2zm0 8h2v-2H3v2zm4 8h2v-2H7v2zM3 9h2V7H3v2zm10-6h-2v2h2V3zm6 0v2h2a2 2 0 00-2-2zM5 21v-2H3c0 1.1.9 2 2 2zm-2-4h2v-2H3v2zM9 3H7v2h2V3zm2 18h2v-2h-2v2zm8-8h2v-2h-2v2zm0 8a2 2 0 002-2h-2v2zm0-12h2V7h-2v2zm0 8h2v-2h-2v2zm-4 4h2v-2h-2v2zm0-16h2V3h-2v2zM7 17h10V7H7v10zm2-8h6v6H9V9z" fill-rule="nonzero"/></svg>',selected:'<svg width="24" height="24"><path fill-rule="nonzero" d="M6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6c0-1.1.9-2 2-2zm3.6 10.9L7 12.3a.7.7 0 00-1 1L9.6 17 18 8.6a.7.7 0 000-1 .7.7 0 00-1 0l-7.4 7.3z"/></svg>',settings:'<svg width="24" height="24"><path d="M11 6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8v.3c0 .2 0 .3-.2.5l-.6.2H7.8c-.3 0-.4 0-.6-.2a.7.7 0 01-.2-.6V8H5a1 1 0 110-2h2v-.3c0-.2 0-.3.2-.5l.5-.2h2.5c.3 0 .4 0 .6.2l.2.5V6zM8 8h2V6H8v2zm9 2.8v.2h2c.6 0 1 .4 1 1s-.4 1-1 1h-2v.3c0 .2 0 .3-.2.5l-.6.2h-2.4c-.3 0-.4 0-.6-.2a.7.7 0 01-.2-.6V13H5a1 1 0 010-2h8v-.3c0-.2 0-.3.2-.5l.6-.2h2.4c.3 0 .4 0 .6.2l.2.6zM14 13h2v-2h-2v2zm-3 2.8v.2h8c.6 0 1 .4 1 1s-.4 1-1 1h-8v.3c0 .2 0 .3-.2.5l-.6.2H7.8c-.3 0-.4 0-.6-.2a.7.7 0 01-.2-.6V18H5a1 1 0 010-2h2v-.3c0-.2 0-.3.2-.5l.5-.2h2.5c.3 0 .4 0 .6.2l.2.6zM8 18h2v-2H8v2z" fill-rule="evenodd"/></svg>',sharpen:'<svg width="24" height="24"><path d="M16 6l4 4-8 9-8-9 4-4h8zm-4 10.2l5.5-6.2-.1-.1H12v-.3h5.1l-.2-.2H12V9h4.6l-.2-.2H12v-.3h4.1l-.2-.2H12V8h3.6l-.2-.2H8.7L6.5 10l.1.1H12v.3H6.9l.2.2H12v.3H7.3l.2.2H12v.3H7.7l.3.2h4v.3H8.2l.2.2H12v.3H8.6l.3.2H12v.3H9l.3.2H12v.3H9.5l.2.2H12v.3h-2l.2.2H12v.3h-1.6l.2.2H12v.3h-1.1l.2.2h.9v.3h-.7l.2.2h.5v.3h-.3l.3.2z" fill-rule="evenodd"/></svg>',sourcecode:'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M9.8 15.7c.3.3.3.8 0 1-.3.4-.9.4-1.2 0l-4.4-4.1a.8.8 0 010-1.2l4.4-4.2c.3-.3.9-.3 1.2 0 .3.3.3.8 0 1.1L6 12l3.8 3.7zM14.2 15.7c-.3.3-.3.8 0 1 .4.4.9.4 1.2 0l4.4-4.1c.3-.3.3-.9 0-1.2l-4.4-4.2a.8.8 0 00-1.2 0c-.3.3-.3.8 0 1.1L18 12l-3.8 3.7z"/></g></svg>',"spell-check":'<svg width="24" height="24"><path d="M6 8v3H5V5c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h2c.3 0 .5.1.7.3.2.2.3.4.3.7v6H8V8H6zm0-3v2h2V5H6zm13 0h-3v5h3v1h-3a1 1 0 01-.7-.3 1 1 0 01-.3-.7V5c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h3v1zm-5 1.5l-.1.7c-.1.2-.3.3-.6.3.3 0 .5.1.6.3l.1.7V10c0 .3-.1.5-.3.7a1 1 0 01-.7.3h-3V4h3c.3 0 .5.1.7.3.2.2.3.4.3.7v1.5zM13 10V8h-2v2h2zm0-3V5h-2v2h2zm3 5l1 1-6.5 7L7 15.5l1.3-1 2.2 2.2L16 12z" fill-rule="evenodd"/></svg>',"strike-through":'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M15.6 8.5c-.5-.7-1-1.1-1.3-1.3-.6-.4-1.3-.6-2-.6-2.7 0-2.8 1.7-2.8 2.1 0 1.6 1.8 2 3.2 2.3 4.4.9 4.6 2.8 4.6 3.9 0 1.4-.7 4.1-5 4.1A6.2 6.2 0 017 16.4l1.5-1.1c.4.6 1.6 2 3.7 2 1.6 0 2.5-.4 3-1.2.4-.8.3-2-.8-2.6-.7-.4-1.6-.7-2.9-1-1-.2-3.9-.8-3.9-3.6C7.6 6 10.3 5 12.4 5c2.9 0 4.2 1.6 4.7 2.4l-1.5 1.1z"/><path d="M5 11h14a1 1 0 010 2H5a1 1 0 010-2z" fill-rule="nonzero"/></g></svg>',subscript:'<svg width="24" height="24"><path d="M10.4 10l4.6 4.6-1.4 1.4L9 11.4 4.4 16 3 14.6 7.6 10 3 5.4 4.4 4 9 8.6 13.6 4 15 5.4 10.4 10zM21 19h-5v-1l1-.8 1.7-1.6c.3-.4.5-.8.5-1.2 0-.3 0-.6-.2-.7-.2-.2-.5-.3-.9-.3a2 2 0 00-.8.2l-.7.3-.4-1.1 1-.6 1.2-.2c.8 0 1.4.3 1.8.7.4.4.6.9.6 1.5s-.2 1.1-.5 1.6a8 8 0 01-1.3 1.3l-.6.6h2.6V19z" fill-rule="nonzero"/></svg>',superscript:'<svg width="24" height="24"><path d="M15 9.4L10.4 14l4.6 4.6-1.4 1.4L9 15.4 4.4 20 3 18.6 7.6 14 3 9.4 4.4 8 9 12.6 13.6 8 15 9.4zm5.9 1.6h-5v-1l1-.8 1.7-1.6c.3-.5.5-.9.5-1.3 0-.3 0-.5-.2-.7-.2-.2-.5-.3-.9-.3l-.8.2-.7.4-.4-1.2c.2-.2.5-.4 1-.5.3-.2.8-.2 1.2-.2.8 0 1.4.2 1.8.6.4.4.6 1 .6 1.6 0 .5-.2 1-.5 1.5l-1.3 1.4-.6.5h2.6V11z" fill-rule="nonzero"/></svg>',"table-caption":'<svg width="24" height="24"><g fill-rule="nonzero"><rect width="12" height="2" x="3" y="4" rx="1"/><path d="M19 8a2 2 0 012 2v8a2 2 0 01-2 2H5a2 2 0 01-2-2v-8c0-1.1.9-2 2-2h14zM5 15v3h6v-3H5zm14 0h-6v3h6v-3zm0-5h-6v3h6v-3zM5 13h6v-3H5v3z"/></g></svg>',"table-cell-classes":'<svg width="24" height="24"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M13 4v9H3V6c0-1.1.9-2 2-2h8zm-2 2H5v5h6V6z"/><path fill-rule="nonzero" d="M13 4h6a2 2 0 012 2v7h-8v-2h6V6h-6V4z" opacity=".2"/><path d="M18 20l-2.6 1.6.7-3-2.4-2 3.1-.2 1.2-2.9 1.2 2.9 3 .2-2.3 2 .7 3z"/><path fill-rule="nonzero" d="M3 13v5c0 1.1.9 2 2 2h8v-7h-2v5H5v-5H3z" opacity=".2"/></g></svg>',"table-cell-properties":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 012 2v12a2 2 0 01-2 2H5a2 2 0 01-2-2V6c0-1.1.9-2 2-2h14zm-8 9H5v5h6v-5zm8 0h-6v5h6v-5zm-8-7H5v5h6V6z"/></svg>',"table-cell-select-all":'<svg width="24" height="24"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M19 4a2 2 0 012 2v12a2 2 0 01-2 2H5a2 2 0 01-2-2V6c0-1.1.9-2 2-2h14zm0 2H5v12h14V6z"/><path d="M13 6v5h6v2h-6v5h-2v-5H5v-2h6V6h2z" opacity=".2"/></g></svg>',"table-cell-select-inner":'<svg width="24" height="24"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M19 4a2 2 0 012 2v12a2 2 0 01-2 2H5a2 2 0 01-2-2V6c0-1.1.9-2 2-2h14zm0 2H5v12h14V6z" opacity=".2"/><path d="M13 6v5h6v2h-6v5h-2v-5H5v-2h6V6h2z"/></g></svg>',"table-classes":'<svg width="24" height="24"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M19 4a2 2 0 012 2v7h-8v7H5a2 2 0 01-2-2V6c0-1.1.9-2 2-2h14zm-8 9H5v5h6v-5zm8-7h-6v5h6V6zm-8 0H5v5h6V6z"/><path d="M18 20l-2.6 1.6.7-3-2.4-2 3.1-.2 1.2-2.9 1.2 2.9 3 .2-2.3 2 .7 3z"/></g></svg>',"table-delete-column":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 012 2v12a2 2 0 01-2 2H5a2 2 0 01-2-2V6c0-1.1.9-2 2-2h14zm-4 4h-2V6h-2v2H9V6H5v12h4v-2h2v2h2v-2h2v2h4V6h-4v2zm.3.5l1 1.2-3 2.3 3 2.3-1 1.2L12 13l-3.3 2.6-1-1.2 3-2.3-3-2.3 1-1.2L12 11l3.3-2.5z"/></svg>',"table-delete-row":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 012 2v12a2 2 0 01-2 2H5a2 2 0 01-2-2V6c0-1.1.9-2 2-2h14zm0 2H5v3h2.5v2H5v2h2.5v2H5v3h14v-3h-2.5v-2H19v-2h-2.5V9H19V6zm-4.7 1.8l1.2 1L13 12l2.6 3.3-1.2 1-2.3-3-2.3 3-1.2-1L11 12 8.5 8.7l1.2-1 2.3 3 2.3-3z"/></svg>',"table-delete-table":'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M19 4a2 2 0 012 2v12a2 2 0 01-2 2H5a2 2 0 01-2-2V6c0-1.1.9-2 2-2h14zM5 6v12h14V6H5z"/><path d="M14.4 8.6l1 1-2.3 2.4 2.3 2.4-1 1-2.4-2.3-2.4 2.3-1-1 2.3-2.4-2.3-2.4 1-1 2.4 2.3z"/></g></svg>',"table-insert-column-after":'<svg width="24" height="24"><path fill-rule="nonzero" d="M20 4c.6 0 1 .4 1 1v2a1 1 0 01-2 0V6h-8v12h8v-1a1 1 0 012 0v2c0 .5-.4 1-.9 1H5a2 2 0 01-2-2V6c0-1.1.9-2 2-2h15zM9 13H5v5h4v-5zm7-5c.5 0 1 .4 1 .9V11h2a1 1 0 01.1 2H17v2a1 1 0 01-2 .1V13h-2a1 1 0 01-.1-2H15V9c0-.6.4-1 1-1zM9 6H5v5h4V6z"/></svg>',"table-insert-column-before":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 012 2v12a2 2 0 01-2 2H4a1 1 0 01-1-1v-2a1 1 0 012 0v1h8V6H5v1a1 1 0 11-2 0V5c0-.6.4-1 1-1h15zm0 9h-4v5h4v-5zM8 8c.5 0 1 .4 1 .9V11h2a1 1 0 01.1 2H9v2a1 1 0 01-2 .1V13H5a1 1 0 01-.1-2H7V9c0-.6.4-1 1-1zm11-2h-4v5h4V6z"/></svg>',"table-insert-row-above":'<svg width="24" height="24"><path fill-rule="nonzero" d="M6 4a1 1 0 110 2H5v6h14V6h-1a1 1 0 010-2h2c.6 0 1 .4 1 1v13a2 2 0 01-2 2H5a2 2 0 01-2-2V5c0-.6.4-1 1-1h2zm5 10H5v4h6v-4zm8 0h-6v4h6v-4zM12 3c.5 0 1 .4 1 .9V6h2a1 1 0 010 2h-2v2a1 1 0 01-2 .1V8H9a1 1 0 010-2h2V4c0-.6.4-1 1-1z"/></svg>',"table-insert-row-after":'<svg width="24" height="24"><path fill-rule="nonzero" d="M12 13c.5 0 1 .4 1 .9V16h2a1 1 0 01.1 2H13v2a1 1 0 01-2 .1V18H9a1 1 0 01-.1-2H11v-2c0-.6.4-1 1-1zm6 7a1 1 0 010-2h1v-6H5v6h1a1 1 0 010 2H4a1 1 0 01-1-1V6c0-1.1.9-2 2-2h14a2 2 0 012 2v13c0 .5-.4 1-.9 1H18zM11 6H5v4h6V6zm8 0h-6v4h6V6z"/></svg>',"table-left-header":'<svg width="24" height="24"><path d="M19 4a2 2 0 012 2v12a2 2 0 01-2 2H5a2 2 0 01-2-2V6c0-1.1.9-2 2-2h14zm0 9h-4v5h4v-5zm-6 0H9v5h4v-5zm0-7H9v5h4V6zm6 0h-4v5h4V6z"/></svg>',"table-merge-cells":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 012 2v12a2 2 0 01-2 2H5a2 2 0 01-2-2V6c0-1.1.9-2 2-2h14zM5 15.5V18h3v-2.5H5zm14-5h-9V18h9v-7.5zM19 6h-4v2.5h4V6zM8 6H5v2.5h3V6zm5 0h-3v2.5h3V6zm-8 7.5h3v-3H5v3z"/></svg>',"table-row-numbering-rtl":'<svg width="24" height="24"><path d="M6 4a2 2 0 00-2 2v13c0 1.1.9 2 2 2h12a2 2 0 002-2V6a2 2 0 00-2-2H6zm0 12h8v3H6v-3zm11 0c.6 0 1 .4 1 1v1a1 1 0 01-2 0v-1c0-.6.4-1 1-1zM6 11h8v3H6v-3zm11 0c.6 0 1 .4 1 1v1a1 1 0 01-2 0v-1c0-.6.4-1 1-1zM6 6h8v3H6V6zm11 0c.6 0 1 .4 1 1v1a1 1 0 11-2 0V7c0-.6.4-1 1-1z"/></svg>',"table-row-numbering":'<svg width="24" height="24"><path d="M18 4a2 2 0 012 2v13a2 2 0 01-2 2H6a2 2 0 01-2-2V6c0-1.1.9-2 2-2h12zm0 12h-8v3h8v-3zM7 16a1 1 0 00-1 1v1a1 1 0 002 0v-1c0-.6-.4-1-1-1zm11-5h-8v3h8v-3zM7 11a1 1 0 00-1 1v1a1 1 0 002 0v-1c0-.6-.4-1-1-1zm11-5h-8v3h8V6zM7 6a1 1 0 00-1 1v1a1 1 0 102 0V7c0-.6-.4-1-1-1z"/></svg>',"table-row-properties":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 012 2v12a2 2 0 01-2 2H5a2 2 0 01-2-2V6c0-1.1.9-2 2-2h14zM5 15v3h6v-3H5zm14 0h-6v3h6v-3zm0-9h-6v3h6V6zM5 9h6V6H5v3z"/></svg>',"table-split-cells":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 012 2v12a2 2 0 01-2 2H5a2 2 0 01-2-2V6c0-1.1.9-2 2-2h14zM8 15.5H5V18h3v-2.5zm11-5h-9V18h9v-7.5zm-2.5 1l1 1-2 2 2 2-1 1-2-2-2 2-1-1 2-2-2-2 1-1 2 2 2-2zm-8.5-1H5v3h3v-3zM19 6h-4v2.5h4V6zM8 6H5v2.5h3V6zm5 0h-3v2.5h3V6z"/></svg>',"table-top-header":'<svg width="24" height="24"><path d="M19 4a2 2 0 012 2v12a2 2 0 01-2 2H5a2 2 0 01-2-2V6c0-1.1.9-2 2-2h14zm-8 11H5v3h6v-3zm8 0h-6v3h6v-3zm0-5h-6v3h6v-3zM5 13h6v-3H5v3z"/></svg>',table:'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 012 2v12a2 2 0 01-2 2H5a2 2 0 01-2-2V6c0-1.1.9-2 2-2h14zM5 14v4h6v-4H5zm14 0h-6v4h6v-4zm0-6h-6v4h6V8zM5 12h6V8H5v4z"/></svg>',template:'<svg width="24" height="24"><path d="M19 19v-1H5v1h14zM9 16v-4a5 5 0 116 0v4h4a2 2 0 012 2v3H3v-3c0-1.1.9-2 2-2h4zm4 0v-5l.8-.6a3 3 0 10-3.6 0l.8.6v5h2z" fill-rule="nonzero"/></svg>',"temporary-placeholder":'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M9 7.6V6h2.5V4.5a.5.5 0 111 0V6H15v1.6a8 8 0 11-6 0zm-2.6 5.3a.5.5 0 00.3.6c.3 0 .6 0 .6-.3l.1-.2a5 5 0 013.3-2.8c.3-.1.4-.4.4-.6-.1-.3-.4-.5-.6-.4a6 6 0 00-4.1 3.7z"/><circle cx="14" cy="4" r="1"/><circle cx="12" cy="2" r="1"/><circle cx="10" cy="4" r="1"/></g></svg>',"text-color":'<svg width="24" height="24"><g fill-rule="evenodd"><path id="tox-icon-text-color__color" d="M3 18h18v3H3z"/><path d="M8.7 16h-.8a.5.5 0 01-.5-.6l2.7-9c.1-.3.3-.4.5-.4h2.8c.2 0 .4.1.5.4l2.7 9a.5.5 0 01-.5.6h-.8a.5.5 0 01-.4-.4l-.7-2.2c0-.3-.3-.4-.5-.4h-3.4c-.2 0-.4.1-.5.4l-.7 2.2c0 .3-.2.4-.4.4zm2.6-7.6l-.6 2a.5.5 0 00.5.6h1.6a.5.5 0 00.5-.6l-.6-2c0-.3-.3-.4-.5-.4h-.4c-.2 0-.4.1-.5.4z"/></g></svg>',toc:'<svg width="24" height="24"><path d="M5 5c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 110-2zm3 0h11c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 110-2zm-3 8c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 010-2zm3 0h11c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 010-2zm0-4c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 110-2zm3 0h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 010-2zm-3 8c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 010-2zm3 0h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 010-2z" fill-rule="evenodd"/></svg>',translate:'<svg width="24" height="24"><path d="M12.7 14.3l-.3.7-.4.7-2.2-2.2-3.1 3c-.3.4-.8.4-1 0a.7.7 0 010-1l3.1-3A12.4 12.4 0 016.7 9H8a10.1 10.1 0 001.7 2.4c.5-.5 1-1.1 1.4-1.8l.9-2H4.7a.7.7 0 110-1.5h4.4v-.7c0-.4.3-.8.7-.8.4 0 .7.4.7.8v.7H15c.4 0 .8.3.8.7 0 .4-.4.8-.8.8h-1.4a12.3 12.3 0 01-1 2.4 13.5 13.5 0 01-1.7 2.3l1.9 1.8zm4.3-3l2.7 7.3a.5.5 0 01-.4.7 1 1 0 01-1-.7l-.6-1.5h-3.4l-.6 1.5a1 1 0 01-1 .7.5.5 0 01-.4-.7l2.7-7.4a1 1 0 012 0zm-2.2 4.4h2.4L16 12.5l-1.2 3.2z" fill-rule="evenodd"/></svg>',underline:'<svg width="24" height="24"><path d="M16 5c.6 0 1 .4 1 1v5.5a4 4 0 01-.4 1.8l-1 1.4a5.3 5.3 0 01-5.5 1 5 5 0 01-1.6-1c-.5-.4-.8-.9-1.1-1.4a4 4 0 01-.4-1.8V6c0-.6.4-1 1-1s1 .4 1 1v5.5c0 .3 0 .6.2 1l.6.7a3.3 3.3 0 002.2.8 3.4 3.4 0 002.2-.8c.3-.2.4-.5.6-.8l.2-.9V6c0-.6.4-1 1-1zM8 17h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 010-2z" fill-rule="evenodd"/></svg>',undo:'<svg width="24" height="24"><path d="M6.4 8H12c3.7 0 6.2 2 6.8 5.1.6 2.7-.4 5.6-2.3 6.8a1 1 0 01-1-1.8c1.1-.6 1.8-2.7 1.4-4.6-.5-2.1-2.1-3.5-4.9-3.5H6.4l3.3 3.3a1 1 0 11-1.4 1.4l-5-5a1 1 0 010-1.4l5-5a1 1 0 011.4 1.4L6.4 8z" fill-rule="nonzero"/></svg>',unlink:'<svg width="24" height="24"><path d="M6.2 12.3a1 1 0 011.4 1.4l-2 2a2 2 0 102.6 2.8l4.8-4.8a1 1 0 000-1.4 1 1 0 111.4-1.3 2.9 2.9 0 010 4L9.6 20a3.9 3.9 0 01-5.5-5.5l2-2zm11.6-.6a1 1 0 01-1.4-1.4l2.1-2a2 2 0 10-2.7-2.8L11 10.3a1 1 0 000 1.4A1 1 0 119.6 13a2.9 2.9 0 010-4L14.4 4a3.9 3.9 0 015.5 5.5l-2 2zM7.6 6.3a.8.8 0 01-1 1.1L3.3 4.2a.7.7 0 111-1l3.2 3.1zM5.1 8.6a.8.8 0 010 1.5H3a.8.8 0 010-1.5H5zm5-3.5a.8.8 0 01-1.5 0V3a.8.8 0 011.5 0V5zm6 11.8a.8.8 0 011-1l3.2 3.2a.8.8 0 01-1 1L16 17zm-2.2 2a.8.8 0 011.5 0V21a.8.8 0 01-1.5 0V19zm5-3.5a.7.7 0 110-1.5H21a.8.8 0 010 1.5H19z" fill-rule="nonzero"/></svg>',unlock:'<svg width="24" height="24"><path d="M16 5c.8 0 1.5.3 2.1.9.6.6.9 1.3.9 2.1v3h-2V8a1 1 0 00-.3-.7A1 1 0 0016 7h-2a1 1 0 00-.7.3 1 1 0 00-.3.7v3h.3c.2 0 .3 0 .5.2l.2.6v7.4c0 .3 0 .4-.2.6l-.6.2H4.8c-.3 0-.4 0-.6-.2a.7.7 0 01-.2-.6v-7.4c0-.3 0-.4.2-.6l.5-.2H11V8c0-.8.3-1.5.9-2.1.6-.6 1.3-.9 2.1-.9h2z" fill-rule="evenodd"/></svg>',"unordered-list":'<svg width="24" height="24"><path d="M11 5h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 010-2zm0 6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 010-2zm0 6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 010-2zM4.5 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1zm0 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1zm0 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1z" fill-rule="evenodd"/></svg>',unselected:'<svg width="24" height="24"><path fill-rule="nonzero" d="M6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6c0-1.1.9-2 2-2zm0 1a1 1 0 00-1 1v12c0 .6.4 1 1 1h12c.6 0 1-.4 1-1V6c0-.6-.4-1-1-1H6z"/></svg>',upload:'<svg width="24" height="24"><path d="M18 19v-2a1 1 0 012 0v3c0 .6-.4 1-1 1H5a1 1 0 01-1-1v-3a1 1 0 012 0v2h12zM11 6.4L8.7 8.7a1 1 0 01-1.4-1.4l4-4a1 1 0 011.4 0l4 4a1 1 0 11-1.4 1.4L13 6.4V16a1 1 0 01-2 0V6.4z" fill-rule="nonzero"/></svg>',user:'<svg width="24" height="24"><path d="M12 24a12 12 0 110-24 12 12 0 010 24zm-8.7-5.3a11 11 0 0017.4 0C19.4 16.3 14.6 15 12 15c-2.6 0-7.4 1.3-8.7 3.7zM12 13c2.2 0 4-2 4-4.5S14.2 4 12 4 8 6 8 8.5 9.8 13 12 13z" fill-rule="nonzero"/></svg>',"vertical-align":'<svg width="24" height="24"><g fill-rule="nonzero"><rect width="18" height="2" x="3" y="11" rx="1"/><path d="M12 2c.6 0 1 .4 1 1v4l2-1.3a1 1 0 011.2 1.5l-.1.1-4.1 3-4-3a1 1 0 011-1.7l2 1.5V3c0-.6.4-1 1-1zm0 11.8l4 2.9a1 1 0 01-1 1.7l-2-1.5V21c0 .5-.4 1-.9 1H12a1 1 0 01-1-1v-4l-2 1.3a1 1 0 01-1.2-.1l-.1-.1a1 1 0 01.1-1.3l.1-.1 4.1-3z"/></g></svg>',visualblocks:'<svg width="24" height="24"><path d="M9 19v2H7v-2h2zm-4 0v2a2 2 0 01-2-2h2zm8 0v2h-2v-2h2zm8 0a2 2 0 01-2 2v-2h2zm-4 0v2h-2v-2h2zM15 7a1 1 0 010 2v7a1 1 0 01-2 0V9h-1v7a1 1 0 01-2 0v-4a2.5 2.5 0 01-.2-5H15zM5 15v2H3v-2h2zm16 0v2h-2v-2h2zM5 11v2H3v-2h2zm16 0v2h-2v-2h2zM5 7v2H3V7h2zm16 0v2h-2V7h2zM5 3v2H3c0-1.1.9-2 2-2zm8 0v2h-2V3h2zm6 0a2 2 0 012 2h-2V3zM9 3v2H7V3h2zm8 0v2h-2V3h2z" fill-rule="evenodd"/></svg>',visualchars:'<svg width="24" height="24"><path d="M10 5h7a1 1 0 010 2h-1v11a1 1 0 01-2 0V7h-2v11a1 1 0 01-2 0v-6c-.5 0-1 0-1.4-.3A3.4 3.4 0 016.8 10a3.3 3.3 0 010-2.8 3.4 3.4 0 011.8-1.8L10 5z" fill-rule="evenodd"/></svg>',warning:'<svg width="24" height="24"><path d="M19.8 18.3c.2.5.3.9 0 1.2-.1.3-.5.5-1 .5H5.2c-.5 0-.9-.2-1-.5-.3-.3-.2-.7 0-1.2L11 4.7l.5-.5.5-.2c.2 0 .3 0 .5.2.2 0 .3.3.5.5l6.8 13.6zM12 18c.3 0 .5-.1.7-.3.2-.2.3-.4.3-.7a1 1 0 00-.3-.7 1 1 0 00-.7-.3 1 1 0 00-.7.3 1 1 0 00-.3.7c0 .3.1.5.3.7.2.2.4.3.7.3zm.7-3l.3-4a1 1 0 00-.3-.7 1 1 0 00-.7-.3 1 1 0 00-.7.3 1 1 0 00-.3.7l.3 4h1.4z" fill-rule="evenodd"/></svg>',"zoom-in":'<svg width="24" height="24"><path d="M16 17.3a8 8 0 111.4-1.4l4.3 4.4a1 1 0 01-1.4 1.4l-4.4-4.3zm-5-.3a6 6 0 100-12 6 6 0 000 12zm-1-9a1 1 0 012 0v6a1 1 0 01-2 0V8zm-2 4a1 1 0 010-2h6a1 1 0 010 2H8z" fill-rule="nonzero"/></svg>',"zoom-out":'<svg width="24" height="24"><path d="M16 17.3a8 8 0 111.4-1.4l4.3 4.4a1 1 0 01-1.4 1.4l-4.4-4.3zm-5-.3a6 6 0 100-12 6 6 0 000 12zm-3-5a1 1 0 010-2h6a1 1 0 010 2H8z" fill-rule="nonzero"/></svg>'}});const zW=FL({components:{Editor:OW},props:{value:{type:String,default:""},field:{type:String,default:""},toolbar:{type:Array,default:()=>["bold","italic","underline","h1","h2","h3","numlist","bullist","removeformat","blockquote","customLink","customImage","customMedia","hr","code","fullscreen"]},font:{type:String,default:"sans-serif"},customFormats:{type:Array,default:()=>[]},tinymceOverrides:{type:Object,default:null},disabled:{type:Boolean,default:!0},imageToken:{type:String,default:void 0},folder:{type:String,default:void 0},softLength:{type:Number,default:void 0}},emits:["input"],setup(le,{emit:Xe}){var Nt,po;const{t:tn}=vW(),Yt=Os(null),vt=Os(null),{imageToken:Xt}=LL(le),dn=lW();let Pn=Os("all"),Rn=Os([]);(Nt=dn.settings)!=null&&Nt.storage_asset_transform&&(Pn.value=dn.settings.storage_asset_transform,Rn.value=(po=dn.settings.storage_asset_presets)!=null?po:[]);let Ar=Os(0);const{imageDrawerOpen:_n,imageSelection:He,closeImageDrawer:zt,onImageSelect:pn,saveImage:We,imageButton:de}=MW(Yt,Xt,{storageAssetTransform:Pn,storageAssetPresets:Rn}),{mediaDrawerOpen:St,mediaSelection:Fe,closeMediaDrawer:sn,openMediaTab:ee,onMediaSelect:ze,embed:Ee,saveMedia:$t,mediaHeight:qt,mediaWidth:pt,mediaSource:Bt,mediaButton:Le}=$W(Yt,Xt),{linkButton:Fa,linkDrawerOpen:ve,closeLinkDrawer:Y,saveLink:On,linkSelection:wa}=PW(Yt),{codeDrawerOpen:Rt,code:Ca,closeCodeDrawer:Ir,saveCode:_,sourceCodeButton:pa}=NW(Yt),yt=xT({get(){return le.value||""},set(){}}),Ht=xT(()=>{var Gn;let $n=null;Array.isArray(le.customFormats)&&le.customFormats.length>0&&($n=le.customFormats);let cn=((Gn=le.toolbar)!=null?Gn:[]).map(Kn=>Kn.replace(/^link$/g,"customLink").replace(/^media$/g,"customMedia").replace(/^code$/g,"customCode").replace(/^image$/g,"customImage")).join(" ");return $n&&(cn+=" styleselect"),BO({skin:!1,skin_url:!1,content_css:!1,content_style:BW(le.font),plugins:"media table hr lists image link pagebreak code insertdatetime autoresize paste preview fullscreen directionality",branding:!1,max_height:1e3,elementpath:!1,statusbar:!1,menubar:!1,convert_urls:!1,image_dimensions:!1,extended_valid_elements:"audio[loop|controls],source[src|type]",toolbar:cn,style_formats:$n,file_picker_types:"customImage customMedia image media",link_default_protocol:"https",setup:Ja},le.tinymceOverrides||{})}),io=xT(()=>{var $n;return($n=fW(Ar.value,le.softLength))!=null?$n:100});let ho;return{t:tn,percRemaining:io,count:Ar,editorElement:vt,editorOptions:Ht,internalValue:yt,setFocus:dt,onImageSelect:pn,saveImage:We,imageDrawerOpen:_n,closeImageDrawer:zt,imageSelection:He,mediaDrawerOpen:St,mediaSelection:Fe,closeMediaDrawer:sn,openMediaTab:ee,embed:Ee,onMediaSelect:ze,saveMedia:$t,mediaHeight:qt,mediaWidth:pt,mediaSource:Bt,linkButton:Fa,linkDrawerOpen:ve,closeLinkDrawer:Y,saveLink:On,linkSelection:wa,codeDrawerOpen:Rt,code:Ca,closeCodeDrawer:Ir,saveCode:_,sourceCodeButton:pa,setupContentWatcher:J,setCount:nr,contentUpdated:va,storageAssetTransform:Pn,storageAssetPresets:Rn};function nr(){var cn,Gn,Kn,xt;const $n=(cn=Yt.value)==null?void 0:cn.contentWindow.document.getElementById("tinymce");Ar.value=(xt=(Kn=(Gn=$n==null?void 0:$n.textContent)==null?void 0:Gn.replace(`
|
|
239
|
-
`,""))==null?void 0:Kn.length)!=null?xt:0}function va(){nr(),ho&&Xe("input",Yt.value.getContent()?Yt.value.getContent():null)}function J(){if(ho)return;const $n=Yt.value.contentWindow.document.getElementById("tinymce");ho=new MutationObserver(Gn=>{va()});const cn={characterData:!0,childList:!0,subtree:!0};ho.observe($n,cn)}function Ja($n){Yt.value=$n,$n.ui.registry.addToggleButton("customImage",de),$n.ui.registry.addToggleButton("customMedia",Le),$n.ui.registry.addToggleButton("customLink",Fa),$n.ui.registry.addButton("customCode",pa),$n.on("init",function(){$n.shortcuts.remove("meta+k"),$n.addShortcut("meta+k","Insert Link",()=>{$n.ui.registry.getAll().buttons.customlink.onAction()}),nr()})}function dt($n){var Gn;if(vt.value==null)return;const cn=(Gn=vt.value.$el.parentElement)==null?void 0:Gn.querySelector(".tox-tinymce");cn!=null&&($n?cn.classList.add("focus"):cn.classList.remove("focus"))}}}),FW=["id"],LW={class:"grid"},HW={class:"field"},VW={class:"type-label"},UW={class:"field"},WW={class:"type-label"},jW={class:"field half"},qW={class:"type-label"},GW={class:"field half-right"},KW={class:"type-label"},XW={class:"content"},YW={class:"content"},JW=["src"],ZW={class:"grid"},QW={class:"field half"},ej={class:"type-label"},tj={class:"field half-right"},nj={class:"type-label"},rj={class:"field half"},aj={class:"type-label"},oj={class:"field half-right"},ij={class:"type-label"},uj={key:1,class:"field half"},sj={class:"type-label"},cj={class:"content"},lj={key:0,class:"media-preview",controls:"true"},fj=["src"],vj=["src"],dj={class:"grid"},mj={class:"field"},gj={class:"type-label"},hj={class:"field half"},pj={class:"type-label"},bj={class:"field half-right"},yj={class:"type-label"},wj={class:"grid"},Cj={class:"field"},Sj={class:"type-label"};function xj(le,Xe,tn,Yt,vt,Xt){const dn=Ys("editor"),Pn=Ys("v-card-title"),Rn=Ys("v-input"),Ar=Ys("v-checkbox"),_n=Ys("v-card-text"),He=Ys("v-button"),zt=Ys("v-card-actions"),pn=Ys("v-card"),We=Ys("v-dialog"),de=Ys("interface-input-code"),St=Ys("v-icon"),Fe=Ys("v-drawer"),sn=Ys("v-select"),ee=Ys("v-upload"),ze=Ys("v-tab"),Ee=Ys("v-tabs"),$t=Ys("v-tab-item"),qt=Ys("v-textarea"),pt=Ys("v-tabs-items"),Bt=uW("tooltip");return id(),Yb("div",{id:le.field,class:PL(["wysiwyg",{disabled:le.disabled}])},[oo(dn,{ref:"editorElement",modelValue:le.internalValue,"onUpdate:modelValue":Xe[0]||(Xe[0]=Le=>le.internalValue=Le),init:le.editorOptions,disabled:le.disabled,"model-events":"change keydown blur focus paste ExecCommand SetContent
|
|
239
|
+
`,""))==null?void 0:Kn.length)!=null?xt:0}function va(){nr(),ho&&Xe("input",Yt.value.getContent()?Yt.value.getContent():null)}function J(){if(ho)return;const $n=Yt.value.contentWindow.document.getElementById("tinymce");ho=new MutationObserver(Gn=>{va()});const cn={characterData:!0,childList:!0,subtree:!0};ho.observe($n,cn)}function Ja($n){Yt.value=$n,$n.ui.registry.addToggleButton("customImage",de),$n.ui.registry.addToggleButton("customMedia",Le),$n.ui.registry.addToggleButton("customLink",Fa),$n.ui.registry.addButton("customCode",pa),$n.on("init",function(){$n.shortcuts.remove("meta+k"),$n.addShortcut("meta+k","Insert Link",()=>{$n.ui.registry.getAll().buttons.customlink.onAction()}),nr()})}function dt($n){var Gn;if(vt.value==null)return;const cn=(Gn=vt.value.$el.parentElement)==null?void 0:Gn.querySelector(".tox-tinymce");cn!=null&&($n?cn.classList.add("focus"):cn.classList.remove("focus"))}}}),FW=["id"],LW={class:"grid"},HW={class:"field"},VW={class:"type-label"},UW={class:"field"},WW={class:"type-label"},jW={class:"field half"},qW={class:"type-label"},GW={class:"field half-right"},KW={class:"type-label"},XW={class:"content"},YW={class:"content"},JW=["src"],ZW={class:"grid"},QW={class:"field half"},ej={class:"type-label"},tj={class:"field half-right"},nj={class:"type-label"},rj={class:"field half"},aj={class:"type-label"},oj={class:"field half-right"},ij={class:"type-label"},uj={key:1,class:"field half"},sj={class:"type-label"},cj={class:"content"},lj={key:0,class:"media-preview",controls:"true"},fj=["src"],vj=["src"],dj={class:"grid"},mj={class:"field"},gj={class:"type-label"},hj={class:"field half"},pj={class:"type-label"},bj={class:"field half-right"},yj={class:"type-label"},wj={class:"grid"},Cj={class:"field"},Sj={class:"type-label"};function xj(le,Xe,tn,Yt,vt,Xt){const dn=Ys("editor"),Pn=Ys("v-card-title"),Rn=Ys("v-input"),Ar=Ys("v-checkbox"),_n=Ys("v-card-text"),He=Ys("v-button"),zt=Ys("v-card-actions"),pn=Ys("v-card"),We=Ys("v-dialog"),de=Ys("interface-input-code"),St=Ys("v-icon"),Fe=Ys("v-drawer"),sn=Ys("v-select"),ee=Ys("v-upload"),ze=Ys("v-tab"),Ee=Ys("v-tabs"),$t=Ys("v-tab-item"),qt=Ys("v-textarea"),pt=Ys("v-tabs-items"),Bt=uW("tooltip");return id(),Yb("div",{id:le.field,class:PL(["wysiwyg",{disabled:le.disabled}])},[oo(dn,{ref:"editorElement",modelValue:le.internalValue,"onUpdate:modelValue":Xe[0]||(Xe[0]=Le=>le.internalValue=Le),init:le.editorOptions,disabled:le.disabled,"model-events":"change keydown blur focus paste ExecCommand SetContent",onFocusin:Xe[1]||(Xe[1]=Le=>le.setFocus(!0)),onFocusout:Xe[2]||(Xe[2]=Le=>le.setFocus(!1)),onFocus:le.setupContentWatcher,onSetContent:le.contentUpdated},null,8,["modelValue","init","disabled","onFocus","onSetContent"]),le.softLength?(id(),Yb("span",{key:0,class:PL(["remaining",{warning:le.percRemaining<10,danger:le.percRemaining<5}])},Js(le.softLength-le.count),3)):MO("",!0),oo(We,{modelValue:le.linkDrawerOpen,"onUpdate:modelValue":Xe[7]||(Xe[7]=Le=>le.linkDrawerOpen=Le)},{default:_u(()=>[oo(pn,null,{default:_u(()=>[oo(Pn,{class:"card-title"},{default:_u(()=>[PO(Js(le.t("wysiwyg_options.link")),1)]),_:1}),oo(_n,null,{default:_u(()=>[go("div",LW,[go("div",HW,[go("div",VW,Js(le.t("url")),1),oo(Rn,{modelValue:le.linkSelection.url,"onUpdate:modelValue":Xe[3]||(Xe[3]=Le=>le.linkSelection.url=Le),placeholder:le.t("url_placeholder")},null,8,["modelValue","placeholder"])]),go("div",UW,[go("div",WW,Js(le.t("display_text")),1),oo(Rn,{modelValue:le.linkSelection.displayText,"onUpdate:modelValue":Xe[4]||(Xe[4]=Le=>le.linkSelection.displayText=Le),placeholder:le.t("display_text_placeholder")},null,8,["modelValue","placeholder"])]),go("div",jW,[go("div",qW,Js(le.t("tooltip")),1),oo(Rn,{modelValue:le.linkSelection.title,"onUpdate:modelValue":Xe[5]||(Xe[5]=Le=>le.linkSelection.title=Le),placeholder:le.t("tooltip_placeholder")},null,8,["modelValue","placeholder"])]),go("div",GW,[go("div",KW,Js(le.t("open_link_in")),1),oo(Ar,{modelValue:le.linkSelection.newTab,"onUpdate:modelValue":Xe[6]||(Xe[6]=Le=>le.linkSelection.newTab=Le),block:"",label:le.t(le.linkSelection.newTab?"new_tab":"current_tab")},null,8,["modelValue","label"])])])]),_:1}),oo(zt,null,{default:_u(()=>[oo(He,{secondary:"",onClick:le.closeLinkDrawer},{default:_u(()=>[PO(Js(le.t("cancel")),1)]),_:1},8,["onClick"]),oo(He,{disabled:le.linkSelection.url===null,onClick:le.saveLink},{default:_u(()=>[PO(Js(le.t("save")),1)]),_:1},8,["disabled","onClick"])]),_:1})]),_:1})]),_:1},8,["modelValue"]),oo(Fe,{modelValue:le.codeDrawerOpen,"onUpdate:modelValue":Xe[9]||(Xe[9]=Le=>le.codeDrawerOpen=Le),title:le.t("wysiwyg_options.source_code"),icon:"code",onCancel:le.closeCodeDrawer},{actions:_u(()=>[oo(He,{icon:"",rounded:"",onClick:le.saveCode},{default:_u(()=>[oo(St,{name:"check"})]),_:1},8,["onClick"])]),default:_u(()=>[go("div",XW,[oo(de,{value:le.code,language:"htmlmixed","line-wrapping":!0,onInput:Xe[8]||(Xe[8]=Le=>le.code=Le)},null,8,["value"])])]),_:1},8,["modelValue","title","onCancel"]),oo(Fe,{modelValue:le.imageDrawerOpen,"onUpdate:modelValue":Xe[15]||(Xe[15]=Le=>le.imageDrawerOpen=Le),title:le.t("wysiwyg_options.image"),icon:"image",onCancel:le.closeImageDrawer},{actions:_u(()=>[$L((id(),IB(He,{icon:"",rounded:"",onClick:le.saveImage},{default:_u(()=>[oo(St,{name:"check"})]),_:1},8,["onClick"])),[[Bt,le.t("save_image"),void 0,{bottom:!0}]])]),default:_u(()=>[go("div",YW,[le.imageSelection?(id(),Yb(UF,{key:0},[go("img",{class:"image-preview",src:le.imageSelection.previewUrl},null,8,JW),go("div",ZW,[go("div",QW,[go("div",ej,Js(le.t("image_url")),1),oo(Rn,{modelValue:le.imageSelection.imageUrl,"onUpdate:modelValue":Xe[10]||(Xe[10]=Le=>le.imageSelection.imageUrl=Le)},null,8,["modelValue"])]),go("div",tj,[go("div",nj,Js(le.t("alt_text")),1),oo(Rn,{modelValue:le.imageSelection.alt,"onUpdate:modelValue":Xe[11]||(Xe[11]=Le=>le.imageSelection.alt=Le)},null,8,["modelValue"])]),le.storageAssetTransform==="all"?(id(),Yb(UF,{key:0},[go("div",rj,[go("div",aj,Js(le.t("width")),1),oo(Rn,{modelValue:le.imageSelection.width,"onUpdate:modelValue":Xe[12]||(Xe[12]=Le=>le.imageSelection.width=Le),disabled:!!le.imageSelection.transformationKey},null,8,["modelValue","disabled"])]),go("div",oj,[go("div",ij,Js(le.t("height")),1),oo(Rn,{modelValue:le.imageSelection.height,"onUpdate:modelValue":Xe[13]||(Xe[13]=Le=>le.imageSelection.height=Le),disabled:!!le.imageSelection.transformationKey},null,8,["modelValue","disabled"])])],64)):MO("",!0),le.storageAssetTransform!=="none"&&le.storageAssetPresets.length>0?(id(),Yb("div",uj,[go("div",sj,Js(le.t("transformation_preset_key")),1),oo(sn,{modelValue:le.imageSelection.transformationKey,"onUpdate:modelValue":Xe[14]||(Xe[14]=Le=>le.imageSelection.transformationKey=Le),items:le.storageAssetPresets.map(Le=>({text:Le.key,value:Le.key})),"show-deselect":!0},null,8,["modelValue","items"])])):MO("",!0)])],64)):(id(),IB(ee,{key:1,multiple:!1,"from-library":"","from-url":"",folder:le.folder,onInput:le.onImageSelect},null,8,["folder","onInput"]))])]),_:1},8,["modelValue","title","onCancel"]),oo(Fe,{modelValue:le.mediaDrawerOpen,"onUpdate:modelValue":Xe[22]||(Xe[22]=Le=>le.mediaDrawerOpen=Le),title:le.t("wysiwyg_options.media"),icon:"slideshow",onCancel:le.closeMediaDrawer},{sidebar:_u(()=>[oo(Ee,{modelValue:le.openMediaTab,"onUpdate:modelValue":Xe[16]||(Xe[16]=Le=>le.openMediaTab=Le),vertical:""},{default:_u(()=>[oo(ze,{value:"video"},{default:_u(()=>[PO(Js(le.t("media")),1)]),_:1}),oo(ze,{value:"embed"},{default:_u(()=>[PO(Js(le.t("embed")),1)]),_:1})]),_:1},8,["modelValue"])]),actions:_u(()=>[$L((id(),IB(He,{icon:"",rounded:"",onClick:le.saveMedia},{default:_u(()=>[oo(St,{name:"check"})]),_:1},8,["onClick"])),[[Bt,le.t("save_media"),void 0,{bottom:!0}]])]),default:_u(()=>[go("div",cj,[oo(pt,{modelValue:le.openMediaTab,"onUpdate:modelValue":Xe[21]||(Xe[21]=Le=>le.openMediaTab=Le)},{default:_u(()=>[oo($t,{value:"video"},{default:_u(()=>[le.mediaSelection?(id(),Yb(UF,{key:0},[le.mediaSelection.tag!=="iframe"?(id(),Yb("video",lj,[go("source",{src:le.mediaSelection.previewUrl},null,8,fj)])):MO("",!0),le.mediaSelection.tag==="iframe"?(id(),Yb("iframe",{key:1,class:"media-preview",src:le.mediaSelection.previewUrl},null,8,vj)):MO("",!0),go("div",dj,[go("div",mj,[go("div",gj,Js(le.t("source")),1),oo(Rn,{modelValue:le.mediaSource,"onUpdate:modelValue":Xe[17]||(Xe[17]=Le=>le.mediaSource=Le)},null,8,["modelValue"])]),go("div",hj,[go("div",pj,Js(le.t("width")),1),oo(Rn,{modelValue:le.mediaWidth,"onUpdate:modelValue":Xe[18]||(Xe[18]=Le=>le.mediaWidth=Le)},null,8,["modelValue"])]),go("div",bj,[go("div",yj,Js(le.t("height")),1),oo(Rn,{modelValue:le.mediaHeight,"onUpdate:modelValue":Xe[19]||(Xe[19]=Le=>le.mediaHeight=Le)},null,8,["modelValue"])])])],64)):(id(),IB(ee,{key:1,multiple:!1,"from-library":"","from-url":"",folder:le.folder,onInput:le.onMediaSelect},null,8,["folder","onInput"]))]),_:1}),oo($t,{value:"embed"},{default:_u(()=>[go("div",wj,[go("div",Cj,[go("div",Sj,Js(le.t("embed")),1),oo(qt,{modelValue:le.embed,"onUpdate:modelValue":Xe[20]||(Xe[20]=Le=>le.embed=Le),nullable:!1},null,8,["modelValue"])])])]),_:1})]),_:1},8,["modelValue"])])]),_:1},8,["modelValue","title","onCancel"])],10,FW)}var Bj=cW(zW,[["render",xj],["__scopeId","data-v-ee6215e0"]]);export{Bj as default};
|