@clickview/lite 0.10.0 → 0.10.1-dev.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/bundles.json +3 -3
- package/dist/css/{1655-lite-c4623bbdf5.chunk.css → 5955-lite-e3db1ff980.chunk.css} +6 -0
- package/dist/css/{lite-app-29827acd0e.css → lite-app-21cb218573.css} +1 -1
- package/dist/languages/en.json +1 -1
- package/dist/scripts/1756-fb0cb51863-lite.chunk.js +1 -0
- package/dist/scripts/1891-39498db2ab-lite.chunk.js +1 -0
- package/dist/scripts/{209-c2b7bce003-lite.chunk.js → 209-b14921b7ac-lite.chunk.js} +1 -1
- package/dist/scripts/{2097-ab12e37af6-lite.chunk.js → 2097-aa713b159d-lite.chunk.js} +1 -1
- package/dist/scripts/{2281-fe6c783e7e-lite.chunk.js → 2281-96b620794d-lite.chunk.js} +2 -2
- package/dist/scripts/{2405-3131022d31-lite.chunk.js → 2405-b70c438d19-lite.chunk.js} +1 -1
- package/dist/scripts/2644-aa73768230-lite.chunk.js +1 -0
- package/dist/scripts/{3044-593d16e693-lite.chunk.js → 3044-2a70230e1a-lite.chunk.js} +1 -1
- package/dist/scripts/{3285-1085cdaf22-lite.chunk.js → 3285-5a27c4c82f-lite.chunk.js} +1 -1
- package/dist/scripts/4343-7ee49ba5b0-lite.chunk.js +1 -0
- package/dist/scripts/{4512-afadcfb937-lite.chunk.js → 4512-4dfbf0f996-lite.chunk.js} +1 -1
- package/dist/scripts/{4632-a06f479445-lite.chunk.js → 4632-711ac07445-lite.chunk.js} +1 -1
- package/dist/scripts/{4665-d3ef1fdfa5-lite.chunk.js → 4665-a07078e703-lite.chunk.js} +1 -1
- package/dist/scripts/{5106-d37d8c60f7-lite.chunk.js → 5106-ddc84b9676-lite.chunk.js} +1 -1
- package/dist/scripts/5291-411a8b3466-lite.chunk.js +1 -0
- package/dist/scripts/{5875-4af2f3ed48-lite.chunk.js → 5875-28f8463488-lite.chunk.js} +1 -1
- package/dist/scripts/5955-2a13333176-lite.chunk.js +1 -0
- package/dist/scripts/{6117-0d5cb97562-lite.chunk.js → 6117-f84eebb600-lite.chunk.js} +1 -1
- package/dist/scripts/6355-7ad3655f90-lite.chunk.js +1 -0
- package/dist/scripts/6450-7c230248a4-lite.chunk.js +1 -0
- package/dist/scripts/6507-f56b7a068d-lite.chunk.js +1 -0
- package/dist/scripts/{6736-5855562482-lite.chunk.js → 6736-fb40284e34-lite.chunk.js} +1 -1
- package/dist/scripts/{7318-10a281cf06-lite.chunk.js → 7318-20a2e77aed-lite.chunk.js} +1 -1
- package/dist/scripts/{7327-d0ef920ff1-lite.chunk.js → 7327-178164fd2c-lite.chunk.js} +1 -1
- package/dist/scripts/{7760-82427ece08-lite.chunk.js → 7760-b042247f00-lite.chunk.js} +1 -1
- package/dist/scripts/7767-898d607ec8-lite.chunk.js +1 -0
- package/dist/scripts/{7888-dae11d0922-lite.chunk.js → 7888-3500f3015b-lite.chunk.js} +1 -1
- package/dist/scripts/{7919-e3bdab8bb9-lite.chunk.js → 7919-a37ff2522a-lite.chunk.js} +2 -2
- package/dist/scripts/{7989-06514ea83f-lite.chunk.js → 7989-c8b2d49ffb-lite.chunk.js} +1 -1
- package/dist/scripts/{8323-e6743db165-lite.chunk.js → 8323-c5651c2d2e-lite.chunk.js} +1 -1
- package/dist/scripts/{8779-cf6468fbba-lite.chunk.js → 8779-bdde69be9a-lite.chunk.js} +1 -1
- package/dist/scripts/8866-cce094eacd-lite.chunk.js +1 -0
- package/dist/scripts/898-baeffd4167-lite.chunk.js +1 -0
- package/dist/scripts/9146-6a5425a94a-lite.chunk.js +1 -0
- package/dist/scripts/{9478-51c101dd1d-lite.chunk.js → 9478-3f14a6bf3b-lite.chunk.js} +1 -1
- package/dist/scripts/bundle-a8a1a71d12.min.js +2 -0
- package/dist/scripts/{pdf.worker.entry-3092d42974.min.worker.js → pdf.worker.entry-cdaf8e504d.min.worker.js} +1 -1
- package/dist/scripts/{polyfills-5a441d0d18.min.js → polyfills-668c6c0f64.min.js} +2 -2
- package/package.json +2 -2
- package/dist/scripts/1655-125347f6a6-lite.chunk.js +0 -1
- package/dist/scripts/1891-6f7874f6ec-lite.chunk.js +0 -1
- package/dist/scripts/2644-2bfc6c9365-lite.chunk.js +0 -1
- package/dist/scripts/4343-d6495e898e-lite.chunk.js +0 -1
- package/dist/scripts/5291-44c7e28056-lite.chunk.js +0 -1
- package/dist/scripts/6355-179c8cf9f2-lite.chunk.js +0 -1
- package/dist/scripts/6450-c46f395b4f-lite.chunk.js +0 -1
- package/dist/scripts/6507-384869dddd-lite.chunk.js +0 -1
- package/dist/scripts/7061-7fc41d1f04-lite.chunk.js +0 -1
- package/dist/scripts/7767-609f22545c-lite.chunk.js +0 -1
- package/dist/scripts/8866-0ee4e03ada-lite.chunk.js +0 -1
- package/dist/scripts/898-14d9a3cde7-lite.chunk.js +0 -1
- package/dist/scripts/9666-8862a0091b-lite.chunk.js +0 -1
- package/dist/scripts/bundle-373d5c671e.min.js +0 -2
- package/dist/css/{3044-lite-9639cb38fc.chunk.css → 3044-lite-2a4a67397e.chunk.css} +4 -4
- /package/dist/scripts/{1007-e7468bfb33-lite.chunk.js → 1007-49def9d5bd-lite.chunk.js} +0 -0
- /package/dist/scripts/{1106-82c5a5651c-lite.chunk.js → 1106-b625025593-lite.chunk.js} +0 -0
- /package/dist/scripts/{1235-a064b0e40e-lite.chunk.js → 1235-20cdaf694f-lite.chunk.js} +0 -0
- /package/dist/scripts/{1291-5b65fc65bf-lite.chunk.js → 1291-3302447568-lite.chunk.js} +0 -0
- /package/dist/scripts/{1450-a7f7fef5fa-lite.chunk.js → 1450-56767dac8c-lite.chunk.js} +0 -0
- /package/dist/scripts/{1592-ac50212d6a-lite.chunk.js → 1592-24ff4e203c-lite.chunk.js} +0 -0
- /package/dist/scripts/{1613-43a1f411ff-lite.chunk.js → 1613-fbb040ad00-lite.chunk.js} +0 -0
- /package/dist/scripts/{1628-aa9e779836-lite.chunk.js → 1628-6b7609613f-lite.chunk.js} +0 -0
- /package/dist/scripts/{1659-1a3ced65e6-lite.chunk.js → 1659-3ffe1180f3-lite.chunk.js} +0 -0
- /package/dist/scripts/{1684-b888dde9e6-lite.chunk.js → 1684-c09cfed03b-lite.chunk.js} +0 -0
- /package/dist/scripts/{1725-2b1588dda4-lite.chunk.js → 1725-8b3274076b-lite.chunk.js} +0 -0
- /package/dist/scripts/{1726-473661bd4f-lite.chunk.js → 1726-cfcf9a5471-lite.chunk.js} +0 -0
- /package/dist/scripts/{1909-18308b477b-lite.chunk.js → 1909-a97a750e05-lite.chunk.js} +0 -0
- /package/dist/scripts/{1924-00d90b3f7f-lite.chunk.js → 1924-e37c888924-lite.chunk.js} +0 -0
- /package/dist/scripts/{1958-d596f57a24-lite.chunk.js → 1958-5437646f03-lite.chunk.js} +0 -0
- /package/dist/scripts/{2044-bea571c27e-lite.chunk.js → 2044-81e1ac5593-lite.chunk.js} +0 -0
- /package/dist/scripts/{2097-ab12e37af6-lite.chunk.js.LICENSE.txt → 2097-aa713b159d-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{2175-95e644c1e8-lite.chunk.js → 2175-34f88a72b5-lite.chunk.js} +0 -0
- /package/dist/scripts/{2190-2f79c22233-lite.chunk.js → 2190-64d179fba7-lite.chunk.js} +0 -0
- /package/dist/scripts/{2215-9d4a11ff93-lite.chunk.js → 2215-30c81a1478-lite.chunk.js} +0 -0
- /package/dist/scripts/{2229-7c5f98938d-lite.chunk.js → 2229-de2dbb4130-lite.chunk.js} +0 -0
- /package/dist/scripts/{2246-011744d11e-lite.chunk.js → 2246-c96c837075-lite.chunk.js} +0 -0
- /package/dist/scripts/{227-ce5820ba8a-lite.chunk.js → 227-bf7591cb44-lite.chunk.js} +0 -0
- /package/dist/scripts/{2279-5109fb36e8-lite.chunk.js → 2279-4dd58c519f-lite.chunk.js} +0 -0
- /package/dist/scripts/{2281-fe6c783e7e-lite.chunk.js.LICENSE.txt → 2281-96b620794d-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{2303-d272ab7f29-lite.chunk.js → 2303-becbe4b9a9-lite.chunk.js} +0 -0
- /package/dist/scripts/{2541-2b1baca714-lite.chunk.js → 2541-5a59e2ec1b-lite.chunk.js} +0 -0
- /package/dist/scripts/{2560-8b8d817df1-lite.chunk.js → 2560-542f774f7e-lite.chunk.js} +0 -0
- /package/dist/scripts/{2561-9ccca6555b-lite.chunk.js → 2561-8a0da51439-lite.chunk.js} +0 -0
- /package/dist/scripts/{2562-243b529541-lite.chunk.js → 2562-76e8e3c05f-lite.chunk.js} +0 -0
- /package/dist/scripts/{2566-326f9bea7d-lite.chunk.js → 2566-8036923a46-lite.chunk.js} +0 -0
- /package/dist/scripts/{2574-3d30ce7785-lite.chunk.js → 2574-0265db209e-lite.chunk.js} +0 -0
- /package/dist/scripts/{2665-3e2ee2b75a-lite.chunk.js → 2665-1aef161a3a-lite.chunk.js} +0 -0
- /package/dist/scripts/{27-7477810638-lite.chunk.js → 27-6d3bcb0931-lite.chunk.js} +0 -0
- /package/dist/scripts/{2711-972aac8048-lite.chunk.js → 2711-02d0c99c93-lite.chunk.js} +0 -0
- /package/dist/scripts/{276-1627d929b6-lite.chunk.js → 276-78ee3f2f9c-lite.chunk.js} +0 -0
- /package/dist/scripts/{291-04430563ee-lite.chunk.js → 291-62fdfbba2e-lite.chunk.js} +0 -0
- /package/dist/scripts/{2935-00ee621720-lite.chunk.js → 2935-884512b85d-lite.chunk.js} +0 -0
- /package/dist/scripts/{2966-079ef2cc9b-lite.chunk.js → 2966-97497739b4-lite.chunk.js} +0 -0
- /package/dist/scripts/{3007-694f8e09ea-lite.chunk.js → 3007-9ee1ebf9f7-lite.chunk.js} +0 -0
- /package/dist/scripts/{3012-80eceac810-lite.chunk.js → 3012-d63933efbd-lite.chunk.js} +0 -0
- /package/dist/scripts/{3020-eac2e06f59-lite.chunk.js → 3020-5d218deca3-lite.chunk.js} +0 -0
- /package/dist/scripts/{3071-0a283792f8-lite.chunk.js → 3071-fea70f0578-lite.chunk.js} +0 -0
- /package/dist/scripts/{3108-6e145902ee-lite.chunk.js → 3108-376739e20a-lite.chunk.js} +0 -0
- /package/dist/scripts/{3174-ee89b6e1b2-lite.chunk.js → 3174-a7188724ca-lite.chunk.js} +0 -0
- /package/dist/scripts/{3216-0ace30f653-lite.chunk.js → 3216-ea7ed54672-lite.chunk.js} +0 -0
- /package/dist/scripts/{3237-2664b6f55f-lite.chunk.js → 3237-5a090ebdad-lite.chunk.js} +0 -0
- /package/dist/scripts/{3269-2278fefc4d-lite.chunk.js → 3269-9b19c8b957-lite.chunk.js} +0 -0
- /package/dist/scripts/{3286-8cdb67d86e-lite.chunk.js → 3286-ad78f04602-lite.chunk.js} +0 -0
- /package/dist/scripts/{3468-f468bbd357-lite.chunk.js → 3468-dbeabf86b4-lite.chunk.js} +0 -0
- /package/dist/scripts/{3509-88f17c0264-lite.chunk.js → 3509-bc34b0cc23-lite.chunk.js} +0 -0
- /package/dist/scripts/{3601-e39fc6189a-lite.chunk.js → 3601-b319bf773f-lite.chunk.js} +0 -0
- /package/dist/scripts/{3656-713e6d93ef-lite.chunk.js → 3656-7ae4590e1a-lite.chunk.js} +0 -0
- /package/dist/scripts/{3732-eb7d4e3a9f-lite.chunk.js → 3732-1e7f9ff797-lite.chunk.js} +0 -0
- /package/dist/scripts/{3754-63a2ce34b6-lite.chunk.js → 3754-681d084e6b-lite.chunk.js} +0 -0
- /package/dist/scripts/{3787-90221ce6bb-lite.chunk.js → 3787-77c3b150de-lite.chunk.js} +0 -0
- /package/dist/scripts/{3962-ac2bb7c78b-lite.chunk.js → 3962-4e8cb73491-lite.chunk.js} +0 -0
- /package/dist/scripts/{4067-ba4d104ba8-lite.chunk.js → 4067-dc33dbfc25-lite.chunk.js} +0 -0
- /package/dist/scripts/{4182-98465b1d8f-lite.chunk.js → 4182-560dce55e3-lite.chunk.js} +0 -0
- /package/dist/scripts/{4262-f43cbe83e5-lite.chunk.js → 4262-343e09bd09-lite.chunk.js} +0 -0
- /package/dist/scripts/{436-96b42fad0a-lite.chunk.js → 436-2738a5c526-lite.chunk.js} +0 -0
- /package/dist/scripts/{4420-5c70527e98-lite.chunk.js → 4420-7c16a2deca-lite.chunk.js} +0 -0
- /package/dist/scripts/{4423-9502dba749-lite.chunk.js → 4423-fe596512f2-lite.chunk.js} +0 -0
- /package/dist/scripts/{4541-a571438050-lite.chunk.js → 4541-c1225df796-lite.chunk.js} +0 -0
- /package/dist/scripts/{4767-5d053ed72b-lite.chunk.js → 4767-59633c972d-lite.chunk.js} +0 -0
- /package/dist/scripts/{4770-78d73f176b-lite.chunk.js → 4770-4050c57bd3-lite.chunk.js} +0 -0
- /package/dist/scripts/{4777-1938bcc561-lite.chunk.js → 4777-1b47908d01-lite.chunk.js} +0 -0
- /package/dist/scripts/{482-663c7febf5-lite.chunk.js → 482-406fa2dabf-lite.chunk.js} +0 -0
- /package/dist/scripts/{4893-a2e0e0143b-lite.chunk.js → 4893-c25cb2e552-lite.chunk.js} +0 -0
- /package/dist/scripts/{4895-0db6c36f64-lite.chunk.js → 4895-6765e6e905-lite.chunk.js} +0 -0
- /package/dist/scripts/{510-99bbc5cc8b-lite.chunk.js → 510-eea6e10045-lite.chunk.js} +0 -0
- /package/dist/scripts/{5173-888a93e015-lite.chunk.js → 5173-882b5993b3-lite.chunk.js} +0 -0
- /package/dist/scripts/{5189-c9ed7a5122-lite.chunk.js → 5189-e588fbf50e-lite.chunk.js} +0 -0
- /package/dist/scripts/{5197-535ddbe8bd-lite.chunk.js → 5197-e4d906e729-lite.chunk.js} +0 -0
- /package/dist/scripts/{5266-60fd75ceef-lite.chunk.js → 5266-f8db05baca-lite.chunk.js} +0 -0
- /package/dist/scripts/{5271-cc8a40cac8-lite.chunk.js → 5271-f2113719d4-lite.chunk.js} +0 -0
- /package/dist/scripts/{5466-a9e48a66b9-lite.chunk.js → 5466-3094f4de63-lite.chunk.js} +0 -0
- /package/dist/scripts/{5585-d1bf4ecfb8-lite.chunk.js → 5585-2366564bdd-lite.chunk.js} +0 -0
- /package/dist/scripts/{5606-dab46247c9-lite.chunk.js → 5606-bcb06beebb-lite.chunk.js} +0 -0
- /package/dist/scripts/{5607-7d0875faf6-lite.chunk.js → 5607-9895d41fb1-lite.chunk.js} +0 -0
- /package/dist/scripts/{5680-80a5703b5a-lite.chunk.js → 5680-4df16c927b-lite.chunk.js} +0 -0
- /package/dist/scripts/{5802-3e6bb98152-lite.chunk.js → 5802-a97c6197e5-lite.chunk.js} +0 -0
- /package/dist/scripts/{5823-6955386272-lite.chunk.js → 5823-ca3807a499-lite.chunk.js} +0 -0
- /package/dist/scripts/{5856-0755de3ea4-lite.chunk.js → 5856-22db9f20f1-lite.chunk.js} +0 -0
- /package/dist/scripts/{5875-4af2f3ed48-lite.chunk.js.LICENSE.txt → 5875-28f8463488-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{5877-532a2fc6dd-lite.chunk.js → 5877-b393ef1a75-lite.chunk.js} +0 -0
- /package/dist/scripts/{5914-f490a5d2c1-lite.chunk.js → 5914-bd8b977f81-lite.chunk.js} +0 -0
- /package/dist/scripts/{5923-12b9cc6d6a-lite.chunk.js → 5923-5db1caf3c0-lite.chunk.js} +0 -0
- /package/dist/scripts/{5931-477dadec53-lite.chunk.js → 5931-519440f69e-lite.chunk.js} +0 -0
- /package/dist/scripts/{5956-4aed29ce6c-lite.chunk.js → 5956-83dfc84b37-lite.chunk.js} +0 -0
- /package/dist/scripts/{5974-a6a1889a73-lite.chunk.js → 5974-e6829cbb7e-lite.chunk.js} +0 -0
- /package/dist/scripts/{598-be9de42733-lite.chunk.js → 598-a277cd21ab-lite.chunk.js} +0 -0
- /package/dist/scripts/{5986-2cb9ec6d5e-lite.chunk.js → 5986-9af71dfed2-lite.chunk.js} +0 -0
- /package/dist/scripts/{6014-887804846d-lite.chunk.js → 6014-9343b94c83-lite.chunk.js} +0 -0
- /package/dist/scripts/{6156-8aba8b0908-lite.chunk.js → 6156-04649fbd4d-lite.chunk.js} +0 -0
- /package/dist/scripts/{6167-483a6237e0-lite.chunk.js → 6167-035037d9ff-lite.chunk.js} +0 -0
- /package/dist/scripts/{6258-b50d05668f-lite.chunk.js → 6258-4a660a0109-lite.chunk.js} +0 -0
- /package/dist/scripts/{6274-4b787f1526-lite.chunk.js → 6274-49808e4ca3-lite.chunk.js} +0 -0
- /package/dist/scripts/{6302-7b6094d390-lite.chunk.js → 6302-3fdca186ae-lite.chunk.js} +0 -0
- /package/dist/scripts/{6370-7c68d8fb68-lite.chunk.js → 6370-9c91c49f0a-lite.chunk.js} +0 -0
- /package/dist/scripts/{6378-3f169b6648-lite.chunk.js → 6378-d88c49e8ea-lite.chunk.js} +0 -0
- /package/dist/scripts/{6381-688a36620f-lite.chunk.js → 6381-22458f1241-lite.chunk.js} +0 -0
- /package/dist/scripts/{6465-860320e065-lite.chunk.js → 6465-71f78f4112-lite.chunk.js} +0 -0
- /package/dist/scripts/{6493-e1006502f5-lite.chunk.js → 6493-5d521f9c9c-lite.chunk.js} +0 -0
- /package/dist/scripts/{6604-a482426d47-lite.chunk.js → 6604-1eaa133167-lite.chunk.js} +0 -0
- /package/dist/scripts/{6715-c522756964-lite.chunk.js → 6715-f932397976-lite.chunk.js} +0 -0
- /package/dist/scripts/{6725-6834315421-lite.chunk.js → 6725-e2a57dd506-lite.chunk.js} +0 -0
- /package/dist/scripts/{6734-6ffaf41192-lite.chunk.js → 6734-513957cfe6-lite.chunk.js} +0 -0
- /package/dist/scripts/{6736-5855562482-lite.chunk.js.LICENSE.txt → 6736-fb40284e34-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{6776-eb76952963-lite.chunk.js → 6776-4148bdf6e2-lite.chunk.js} +0 -0
- /package/dist/scripts/{6799-797a319170-lite.chunk.js → 6799-e6a612363d-lite.chunk.js} +0 -0
- /package/dist/scripts/{6801-38423525bd-lite.chunk.js → 6801-751938fe08-lite.chunk.js} +0 -0
- /package/dist/scripts/{6817-1a0edc0a44-lite.chunk.js → 6817-0c54396c09-lite.chunk.js} +0 -0
- /package/dist/scripts/{6821-43724d9720-lite.chunk.js → 6821-9610a8a699-lite.chunk.js} +0 -0
- /package/dist/scripts/{6864-40c914ea6d-lite.chunk.js → 6864-e37cdaba15-lite.chunk.js} +0 -0
- /package/dist/scripts/{6866-cb8eae1bca-lite.chunk.js → 6866-880fd79d5f-lite.chunk.js} +0 -0
- /package/dist/scripts/{6873-5fca9b29eb-lite.chunk.js → 6873-f86d97c903-lite.chunk.js} +0 -0
- /package/dist/scripts/{6896-6a9b466813-lite.chunk.js → 6896-4efc7b5525-lite.chunk.js} +0 -0
- /package/dist/scripts/{6913-5164fe901b-lite.chunk.js → 6913-528357fb6d-lite.chunk.js} +0 -0
- /package/dist/scripts/{6930-4dbe05aa2c-lite.chunk.js → 6930-72fff601e7-lite.chunk.js} +0 -0
- /package/dist/scripts/{7017-f20a2642de-lite.chunk.js → 7017-68b1730e9d-lite.chunk.js} +0 -0
- /package/dist/scripts/{7045-b2bddc9ec2-lite.chunk.js → 7045-509b1b078c-lite.chunk.js} +0 -0
- /package/dist/scripts/{7056-bee013f269-lite.chunk.js → 7056-63af0ce1a8-lite.chunk.js} +0 -0
- /package/dist/scripts/{7066-c19566b7bb-lite.chunk.js → 7066-7209afcffa-lite.chunk.js} +0 -0
- /package/dist/scripts/{7112-0c68ebc684-lite.chunk.js → 7112-bed6b36838-lite.chunk.js} +0 -0
- /package/dist/scripts/{7115-5f3a51a140-lite.chunk.js → 7115-bc98469d28-lite.chunk.js} +0 -0
- /package/dist/scripts/{7127-d9710e87c3-lite.chunk.js → 7127-001453fd61-lite.chunk.js} +0 -0
- /package/dist/scripts/{7128-3fff44d431-lite.chunk.js → 7128-55704c679e-lite.chunk.js} +0 -0
- /package/dist/scripts/{716-6b3eeefaf0-lite.chunk.js → 716-ed4886bd8d-lite.chunk.js} +0 -0
- /package/dist/scripts/{7172-1c3b788ec2-lite.chunk.js → 7172-9bca2af601-lite.chunk.js} +0 -0
- /package/dist/scripts/{7178-55daa1708d-lite.chunk.js → 7178-f50c912957-lite.chunk.js} +0 -0
- /package/dist/scripts/{7210-f6b41d189e-lite.chunk.js → 7210-678bc761cc-lite.chunk.js} +0 -0
- /package/dist/scripts/{7318-10a281cf06-lite.chunk.js.LICENSE.txt → 7318-20a2e77aed-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{7327-d0ef920ff1-lite.chunk.js.LICENSE.txt → 7327-178164fd2c-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{7332-59dcea9f04-lite.chunk.js → 7332-0875145dbb-lite.chunk.js} +0 -0
- /package/dist/scripts/{7385-3e036ff18f-lite.chunk.js → 7385-475c642155-lite.chunk.js} +0 -0
- /package/dist/scripts/{7397-37f41c7a7f-lite.chunk.js → 7397-3edb8ad457-lite.chunk.js} +0 -0
- /package/dist/scripts/{7409-fae78b889c-lite.chunk.js → 7409-58deec059d-lite.chunk.js} +0 -0
- /package/dist/scripts/{7515-506692379b-lite.chunk.js → 7515-ee94e37857-lite.chunk.js} +0 -0
- /package/dist/scripts/{7524-7353ac5ca4-lite.chunk.js → 7524-d77fde4dc2-lite.chunk.js} +0 -0
- /package/dist/scripts/{7552-b25ff16ead-lite.chunk.js → 7552-89a86515d6-lite.chunk.js} +0 -0
- /package/dist/scripts/{7706-004e8ca32b-lite.chunk.js → 7706-351814caa7-lite.chunk.js} +0 -0
- /package/dist/scripts/{7804-97814aea9c-lite.chunk.js → 7804-2c6339b6d4-lite.chunk.js} +0 -0
- /package/dist/scripts/{7831-2c03e3f637-lite.chunk.js → 7831-a123ffff09-lite.chunk.js} +0 -0
- /package/dist/scripts/{7855-a1e9d3d9ce-lite.chunk.js → 7855-fe02f08a7d-lite.chunk.js} +0 -0
- /package/dist/scripts/{7901-e581bd3c0c-lite.chunk.js → 7901-7f884691b3-lite.chunk.js} +0 -0
- /package/dist/scripts/{7919-e3bdab8bb9-lite.chunk.js.LICENSE.txt → 7919-a37ff2522a-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{7925-4c7a45eca6-lite.chunk.js → 7925-3bfcba5676-lite.chunk.js} +0 -0
- /package/dist/scripts/{7946-4d59397139-lite.chunk.js → 7946-5338d3f1a6-lite.chunk.js} +0 -0
- /package/dist/scripts/{7947-605b3193c6-lite.chunk.js → 7947-0ccd296309-lite.chunk.js} +0 -0
- /package/dist/scripts/{7989-06514ea83f-lite.chunk.js.LICENSE.txt → 7989-c8b2d49ffb-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{8025-5e4427a24a-lite.chunk.js → 8025-85357a21fe-lite.chunk.js} +0 -0
- /package/dist/scripts/{8046-ebc4c612db-lite.chunk.js → 8046-fa7cf5ac95-lite.chunk.js} +0 -0
- /package/dist/scripts/{8056-57a3fbc9f3-lite.chunk.js → 8056-f4f9faaf63-lite.chunk.js} +0 -0
- /package/dist/scripts/{8072-ccd6fc17b7-lite.chunk.js → 8072-f4050f1432-lite.chunk.js} +0 -0
- /package/dist/scripts/{811-f4cd4e7415-lite.chunk.js → 811-f7291a5bdf-lite.chunk.js} +0 -0
- /package/dist/scripts/{823-aff71193e9-lite.chunk.js → 823-43a63f716c-lite.chunk.js} +0 -0
- /package/dist/scripts/{8252-80b5d62e35-lite.chunk.js → 8252-5fd748441e-lite.chunk.js} +0 -0
- /package/dist/scripts/{8322-82db11db35-lite.chunk.js → 8322-38a0c82493-lite.chunk.js} +0 -0
- /package/dist/scripts/{8323-e6743db165-lite.chunk.js.LICENSE.txt → 8323-c5651c2d2e-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{8339-5b2eb1d8bc-lite.chunk.js → 8339-d45b288345-lite.chunk.js} +0 -0
- /package/dist/scripts/{8408-f218aece77-lite.chunk.js → 8408-9e54d963a3-lite.chunk.js} +0 -0
- /package/dist/scripts/{8414-770ffaf3a9-lite.chunk.js → 8414-7d641b2b62-lite.chunk.js} +0 -0
- /package/dist/scripts/{8416-d97606804e-lite.chunk.js → 8416-8fe4cb8b29-lite.chunk.js} +0 -0
- /package/dist/scripts/{8417-46f2e3fe9e-lite.chunk.js → 8417-a7eebaf041-lite.chunk.js} +0 -0
- /package/dist/scripts/{8425-66b4e957bc-lite.chunk.js → 8425-263599d7a3-lite.chunk.js} +0 -0
- /package/dist/scripts/{8466-99e703c4d2-lite.chunk.js → 8466-1aefb60611-lite.chunk.js} +0 -0
- /package/dist/scripts/{8520-456153da66-lite.chunk.js → 8520-f5cde2e052-lite.chunk.js} +0 -0
- /package/dist/scripts/{8584-c1a6f94569-lite.chunk.js → 8584-7cd2d329ce-lite.chunk.js} +0 -0
- /package/dist/scripts/{8618-8f25f03a07-lite.chunk.js → 8618-f7ea8d77f2-lite.chunk.js} +0 -0
- /package/dist/scripts/{8621-beffe3afb1-lite.chunk.js → 8621-c0683514d8-lite.chunk.js} +0 -0
- /package/dist/scripts/{8627-228c49df59-lite.chunk.js → 8627-b90a2ebadd-lite.chunk.js} +0 -0
- /package/dist/scripts/{872-6b643c3779-lite.chunk.js → 872-d01792a597-lite.chunk.js} +0 -0
- /package/dist/scripts/{8772-ce13a606fc-lite.chunk.js → 8772-3aa86b2cb4-lite.chunk.js} +0 -0
- /package/dist/scripts/{8814-d4c29a338d-lite.chunk.js → 8814-915ec5dc7b-lite.chunk.js} +0 -0
- /package/dist/scripts/{8820-72a69db607-lite.chunk.js → 8820-a36abdeabb-lite.chunk.js} +0 -0
- /package/dist/scripts/{8835-10d56ebfd6-lite.chunk.js → 8835-226aaf45e9-lite.chunk.js} +0 -0
- /package/dist/scripts/{8868-fcc46fbf07-lite.chunk.js → 8868-7f7ef0eab5-lite.chunk.js} +0 -0
- /package/dist/scripts/{8955-389214b3c9-lite.chunk.js → 8955-d81cbf5c3b-lite.chunk.js} +0 -0
- /package/dist/scripts/{9001-1592436e63-lite.chunk.js → 9001-3f1f0e6db9-lite.chunk.js} +0 -0
- /package/dist/scripts/{9005-b5323fd39d-lite.chunk.js → 9005-4cf783dd97-lite.chunk.js} +0 -0
- /package/dist/scripts/{9016-67b887f5b9-lite.chunk.js → 9016-7b78761c5c-lite.chunk.js} +0 -0
- /package/dist/scripts/{9035-d8282f4528-lite.chunk.js → 9035-f15bd9f59f-lite.chunk.js} +0 -0
- /package/dist/scripts/{9060-80beb8d860-lite.chunk.js → 9060-cb8b9beee5-lite.chunk.js} +0 -0
- /package/dist/scripts/{913-c48a89f76d-lite.chunk.js → 913-8b5b3b8f1b-lite.chunk.js} +0 -0
- /package/dist/scripts/{9133-6a42c01926-lite.chunk.js → 9133-81b0d62db2-lite.chunk.js} +0 -0
- /package/dist/scripts/{9242-23a79eb6e0-lite.chunk.js → 9242-553924b6f3-lite.chunk.js} +0 -0
- /package/dist/scripts/{9264-7d3a6939c2-lite.chunk.js → 9264-c58c1aa2bd-lite.chunk.js} +0 -0
- /package/dist/scripts/{9273-b8a38ed50f-lite.chunk.js → 9273-c3d2e2c319-lite.chunk.js} +0 -0
- /package/dist/scripts/{9325-4d25ae015c-lite.chunk.js → 9325-f96cccb482-lite.chunk.js} +0 -0
- /package/dist/scripts/{9478-51c101dd1d-lite.chunk.js.LICENSE.txt → 9478-3f14a6bf3b-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{9490-2bb16a84b5-lite.chunk.js → 9490-32dd2a6ff0-lite.chunk.js} +0 -0
- /package/dist/scripts/{956-41674af336-lite.chunk.js → 956-8986e8c36e-lite.chunk.js} +0 -0
- /package/dist/scripts/{9568-bb4f67ad5d-lite.chunk.js → 9568-78e9b3961f-lite.chunk.js} +0 -0
- /package/dist/scripts/{9686-0a4eff66e3-lite.chunk.js → 9686-abb41023d8-lite.chunk.js} +0 -0
- /package/dist/scripts/{9798-1a5d298521-lite.chunk.js → 9798-212a5f398f-lite.chunk.js} +0 -0
- /package/dist/scripts/{985-0aff9bd8e0-lite.chunk.js → 985-fae680b573-lite.chunk.js} +0 -0
- /package/dist/scripts/{9880-a3e8028343-lite.chunk.js → 9880-0e525938f1-lite.chunk.js} +0 -0
- /package/dist/scripts/{bundle-373d5c671e.min.js.LICENSE.txt → bundle-a8a1a71d12.min.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{pdf.worker.entry-3092d42974.min.worker.js.LICENSE.txt → pdf.worker.entry-cdaf8e504d.min.worker.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{polyfills-5a441d0d18.min.js.LICENSE.txt → polyfills-668c6c0f64.min.js.LICENSE.txt} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! For license information please see 7919-
|
|
2
|
-
(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[7919],{84891:(t,e,n)=>{"use strict";n.d(e,{h4:()=>dt,cn:()=>B});var r=n(56784),o=n.n(r),i=n(1024),a=n.n(i),s=n(74161),c=n.n(s),u=n(6880),l=n(21930);function p(t,e,n,r,o,i){var a=r-n;return e+n<=t.offset?Object.assign({},t,{offset:t.offset+a}):e>=t.offset&&e+n<=t.offset+t.length?Object.assign({},t,{length:t.length+a}):t.offset>=e&&t.offset+t.length<=e+n&&o>0?Object.assign({},t,{offset:t.offset+o}):t.offset<e&&t.offset+t.length<=e+n&&t.offset+t.length>e&&o>0?[Object.assign({},t,{length:e-t.offset}),Object.assign({},t,{offset:e+o,length:t.offset-e+t.length})]:t.offset>=e&&t.offset+t.length>e+n&&e+n>t.offset&&i>0?[Object.assign({},t,{offset:t.offset+o,length:e+n-t.offset}),Object.assign({},t,{offset:e+n+o+i,length:t.offset+t.length-(e+n)})]:t}const f=function(t,e){return t.offset===e.offset?e.length-t.length:t.offset-e.offset};var d={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","\n":"<br/>"},h=n(36655),y=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function g(t){if(-1!==y.indexOf(t.type))return c().renderToStaticMarkup(t);var e=c().renderToStaticMarkup(a().cloneElement(t,{},"\r")).split("\r");return o()(e.length>1,"convertToHTML: Element of type ".concat(t.type," must render children")),o()(e.length<3,"convertToHTML: Element of type ".concat(t.type," cannot use carriage return character")),{start:e[0],end:e[1]}}function m(t){return a().isValidElement(t)&&a().Children.count(t.props.children)>0}function v(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(null==t)return t;if("string"==typeof t)return t;if(a().isValidElement(t)){if(m(t))return c().renderToStaticMarkup(t);var n=g(t);if(null!==e&&"object"===(0,h.Z)(n)){var r=n.start,i=n.end;return r+e+i}return n}if(o()(Object.prototype.hasOwnProperty.call(t,"start")&&Object.prototype.hasOwnProperty.call(t,"end"),"convertToHTML: received conversion data without either an HTML string, ReactElement or an object with start/end tags"),null!==e){var s=t.start,u=t.end;return s+e+u}return t}const b=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"start";if(a().isValidElement(e)){var r=g(e);if("string"==typeof r)return 0;var o=r[n].length,i=a().Children.toArray(e.props.children)[0];return o+(i&&a().isValidElement(i)?t(i,n):0)}return"object"===(0,h.Z)(e)&&e[n]?e[n].length:0};var _=function(){var t=arguments.length>1?arguments[1]:void 0;return t};const w=function(t){return function(e){return"function"==typeof t?t(e):t[e]}},S=function(t,e){return function(){var n=t.apply(void 0,arguments);return null!=n?n:e.apply(void 0,arguments)}};function M(t){switch(t){case"BOLD":return a().createElement("strong",null);case"ITALIC":return a().createElement("em",null);case"UNDERLINE":return a().createElement("u",null);case"CODE":return a().createElement("code",null);default:return{start:"",end:""}}}var E=function(t,e){return t.filter((function(t){return!e.some((function(e){return e.style===t.style}))}))},x=function(t,e){return e.reduceRight((function(t,e){var n=t[t.length-1];return o()(n.style===e.style,"Style ".concat(n.style," to be removed doesn't match expected ").concat(e.style)),t.slice(0,-1)}),t)},k=function(t,e){return e.filter((function(e){return t>=e.offset&&t<e.offset+e.length}))},C=function(t,e){var n=t.offset<=e.offset,r=t.offset+t.length>=e.offset+e.length;return n&&r},j=function(t,e){return e.offset+e.length-(t.offset+t.length)},D=function(t,e){for(var n=0;n<t.length;){if(!e.every(C.bind(null,t[n])))return t.slice(n);n++}return[]},O=function(t,e,n){return e+v(t(n.style)).start},I=function(t,e,n){return v(t(n.style)).end+e},L=function(t){return function(e){return t(e)}};L.__isMiddleware=!0;const N=function(t){return function(e){return"function"==typeof t?t(e):t[e.type]}};function A(t,e){if(o()(null!=t,"Expected block HTML value to be non-null"),"function"==typeof t.nest){var n=g(t.nest(e)),r=n.start,i=n.end;return Object.assign({},t,{nestStart:r,nestEnd:i})}if(a().isValidElement(t.nest)){var s=g(t.nest),c=s.start,u=s.end;return Object.assign({},t,{nestStart:c,nestEnd:u})}return o()(Object.prototype.hasOwnProperty.call(t,"nestStart")&&Object.prototype.hasOwnProperty.call(t,"nestEnd"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),t}var T=["1","a","i"];const z={unstyled:a().createElement("p",null),paragraph:a().createElement("p",null),"header-one":a().createElement("h1",null),"header-two":a().createElement("h2",null),"header-three":a().createElement("h3",null),"header-four":a().createElement("h4",null),"header-five":a().createElement("h5",null),"header-six":a().createElement("h6",null),blockquote:a().createElement("blockquote",null),"unordered-list-item":{element:a().createElement("li",null),nest:a().createElement("ul",null)},"ordered-list-item":{element:a().createElement("li",null),nest:function(t){var e=T[t%3];return a().createElement("ol",{type:e})}},media:a().createElement("figure",null),atomic:a().createElement("figure",null)};var R=function(t,e){return e},P=function(t){var e=t.styleToHTML,n=void 0===e?{}:e,r=t.blockToHTML,i=void 0===r?{}:r,s=t.entityToHTML,h=void 0===s?R:s;return function(t){var e;o()(null!=t,"Expected contentState to be non-null"),e=!0===i.__isMiddleware?i(N(z)):S(N(i),N(z));var r=(0,u.convertToRaw)(t),s=[],y=r.blocks.map((function(t){var i=t.type,u=t.depth,y="",m="",C=e(t);if(!C)throw new Error("convertToHTML: missing HTML definition for block with type ".concat(t.type));if(C.nest)for(;u+1!==s.length||i!==s[u].type;)if(u+1===s.length){var N=s[u];y+=A(e(N),u).nestEnd,m+=A(e(t),u).nestStart,s[u]=t}else if(u+1<s.length){var T=s[s.length-1];y+=A(e(T),u).nestEnd,s=s.slice(0,-1)}else m+=A(e(t),u).nestStart,s.push(t);else y=s.reduceRight((function(t,n){return t+A(e(n),u).nestEnd}),""),s=[];var z,R=function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:L;o()(null!=t,"Expected raw block to be non-null"),e=!0===n.__isMiddleware?n(M):S(w(n),w(M));for(var r="",i=[],a=t.inlineStyleRanges.sort(f),s=(0,l.Z)(t.text),c=0;c<s.length;c++){var u=k(c,a),p=E(i,u),d=E(u,i),h=E(i,p),y=D(h,d),g=y.concat(d).sort(j),m=g.reduce(O.bind(null,e),"");r+=p.concat(y).reduce(I.bind(null,e),"")+m+s[c],i=(i=x(i,y.concat(p))).concat(g),o()(i.length===u.length,"Character ".concat(c,": ").concat(i.length-u.length," styles left on stack that should no longer be there"))}return i.reduceRight((function(t,n){return t+v(e(n.style)).end}),r)}(function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:_,r=(0,l.Z)(t.text),o=n;if(n.__isMiddleware&&(o=n(_)),Object.prototype.hasOwnProperty.call(t,"entityRanges")&&t.entityRanges.length>0){for(var i=t.entityRanges.sort(f),a=t.inlineStyleRanges,s=function(t){var n,s=i[t],c=e[s.key],u=r.slice(s.offset,s.offset+s.length).join(""),f=o(c,u),d=v(f,u);n=d||""===d?(0,l.Z)(d):u;var h=b(f,"start"),y=b(f,"end"),g=function(e){return e.reduce((function(e,r,o){var i=function(e,r){return r>t||Object.prototype.hasOwnProperty.call(e,"style")?p(e,s.offset,s.length,n.length,h,y):e}(r,o);return Array.isArray(i)?e.concat(i):e.concat([i])}),[])};i=g(i),a=g(a),r=[].concat((0,l.Z)(r.slice(0,s.offset)),(0,l.Z)(n),(0,l.Z)(r.slice(s.offset+s.length)))},c=0;c<i.length;c++)s(c);return Object.assign({},t,{text:r.join(""),inlineStyleRanges:a,entityRanges:i})}return t}(function(t){for(var e=(0,l.Z)(t.text),n=t.entityRanges.sort(f),r=t.inlineStyleRanges.sort(f),o="",i=function(t){var i=e[t];if(void 0!==d[i]){var a=d[i],s=(0,l.Z)(o).length;o+=a;var c=function(t){return p(t,s,i.length,a.length,0,0)};n=n.map(c),r=r.map(c)}else o+=i},a=0;a<e.length;a++)i(a);return Object.assign({},t,{text:o,inlineStyleRanges:r,entityRanges:n})}(t),r.entityMap,h),n),P=function(t){return o()(null!=t,"Expected block HTML value to be non-null"),"string"==typeof t?t:a().isValidElement(t)?(e=t,a().isValidElement(e)&&a().Children.count(e.props.children)>0?c().renderToStaticMarkup(t):g(t)):Object.prototype.hasOwnProperty.call(t,"element")&&a().isValidElement(t.element)?Object.assign({},t,g(t.element)):(o()(Object.prototype.hasOwnProperty.call(t,"start")&&Object.prototype.hasOwnProperty.call(t,"end"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),t);var e}(e(t));return z="string"==typeof P?P:P.start+R+P.end,0===R.length&&Object.prototype.hasOwnProperty.call(P,"empty")&&(z=a().isValidElement(P.empty)?c().renderToStaticMarkup(P.empty):P.empty),y+m+z})).join("");return s.reduce((function(t,n){return t+A(e(n),n.depth).nestEnd}),y)}};const B=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return 1===e.length&&Object.prototype.hasOwnProperty.call(e[0],"_map")&&null!=e[0].getBlockMap?P({}).apply(void 0,e):P.apply(void 0,e)};var F=n(20429),U=function(t){var e=document.implementation.createHTMLDocument("");return e.documentElement.innerHTML=t,e};function K(t){var e;return"undefined"!=typeof DOMParser&&null!==(e=(new DOMParser).parseFromString(t,"text/html"))&&null!==e.body||(e=U(t)),e.body}var H=" ",q=new RegExp("\r","g"),Y=new RegExp("\n","g"),W=new RegExp(" ","g"),Q=new RegExp("\r","g"),Z=["p","h1","h2","h3","h4","h5","h6","li","blockquote","pre"],V={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},G=function(t,e){return t&&!0===t.__isMiddleware?t(e):t},J=function(t,e,n){},X=function(t,e,n){return n},$=function(t,e){},tt=function(t){return[]},et=function(t){if(null!=t)return t;throw new Error("Got unexpected null or undefined")};function nt(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:(0,F.Map)();return!0===n?{text:"\r",inlines:[(0,F.OrderedSet)()],entities:new Array(1),blocks:[{type:t,data:r,depth:Math.max(0,Math.min(4,e))}],isNewline:!0}:{text:"\n",inlines:[(0,F.OrderedSet)()],entities:new Array(1),blocks:[]}}function rt(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,F.Map)();return{text:"\r",inlines:[(0,F.OrderedSet)()],entities:new Array(1),blocks:[{type:t,data:n,depth:Math.max(0,Math.min(4,e))}]}}function ot(t,e){switch(t){case"h1":return"header-one";case"h2":return"header-two";case"h3":return"header-three";case"h4":return"header-four";case"h5":return"header-five";case"h6":return"header-six";case"li":return"ol"===e?"ordered-list-item":"unordered-list-item";case"blockquote":return"blockquote";case"pre":return"code-block";case"div":case"p":return"unstyled";default:return null}}function it(t,e,n){return ot(t,n)}function at(t,e,n){var r=V[t];if(r)n=n.add(r).toOrderedSet();else if(e instanceof HTMLElement){var o=e;n=n.withMutations((function(t){"bold"===o.style.fontWeight&&t.add("BOLD"),"italic"===o.style.fontStyle&&t.add("ITALIC"),"underline"===o.style.textDecoration&&t.add("UNDERLINE"),"line-through"===o.style.textDecoration&&t.add("STRIKETHROUGH")})).toOrderedSet()}return n}function st(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,F.OrderedSet)();return at(t,e,n)}function ct(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e.text.slice(0,1),o=t.text.slice(-1),i="\r"===o&&"\r"===r,a="\r"!==t.text&&"\r"!==e.text,s="\r"===t.text&&!t.isNewline&&e.isNewline;if(i&&(a||s)&&(t.text=t.text.slice(0,-1),t.inlines.pop(),t.entities.pop(),t.blocks.pop()),"\r"===t.text.slice(-1)&&!0===n){if(e.text===H||"\n"===e.text)return t;r!==H&&"\n"!==r||(e.text=e.text.slice(1),e.inlines.shift(),e.entities.shift())}var c=0===t.text.length&&e.isNewline;return{text:t.text+e.text,inlines:t.inlines.concat(e.inlines),entities:t.entities.concat(e.entities),blocks:t.blocks.concat(e.blocks),isNewline:c}}function ut(t,e,n,r,o,i,a,s,c,u,l,p,d,h,y,g){var m=t.nodeName.toLowerCase(),v=!1,b="unstyled";if("#text"===m){var _=t.textContent;if(""===_.trim()&&null===r)return{text:"",inlines:[],entities:[],blocks:[]};if(""===_.trim()&&"code-block"!==r)return function(t){var e=new Array(1);return t&&(e[0]=t),{text:H,inlines:[(0,F.OrderedSet)()],entities:e,blocks:[]}}(g);"code-block"!==r&&(_=_.replace(Y,H));var w=Array(_.length).fill(g),S=0;return c(_,l,p,d,h).sort(f).forEach((function(t){var e=t.entity,n=t.offset,r=t.length,o=t.result,i=n+S;null==o&&(o=_.substr(i,r));var a=_.split("");a.splice.bind(a,i,r).apply(a,o.split("")),_=a.join(""),w.splice.bind(w,i,r).apply(w,Array(o.length).fill(e)),S+=o.length-r})),{text:_,inlines:Array(_.length).fill(e),entities:w,blocks:[]}}if("br"===m){var M=r;return null===M?nt("unstyled",i,!0):nt(M||"unstyled",i,y.flat)}var E={text:"",inlines:[],entities:[],blocks:[]};e=a(m,t,e=at(m,t,e)),"ul"!==m&&"ol"!==m||(n&&(i+=1),n=m,r=null);var x,k,C=u(m,t,n,r);if(!1===C)return{text:"",inlines:[],entities:[],blocks:[]};if("string"==typeof(C=C||{})?(x=C,k=(0,F.Map)()):(x="string"==typeof C?C:C.type,k=C.data?(0,F.Map)(C.data):(0,F.Map)()),r||-1===o.indexOf(m)&&!x)if(!n||"ordered-list-item"!==r&&"unordered-list-item"!==r||"li"!==m)r&&"atomic"!==r&&"atomic"===x&&(r=x,v=!0,E=nt(x,i,!0,k));else{var j=ot(m,n);E=rt(j,i),r=j,v=!0,b="ul"===n?"unordered-list-item":"ordered-list-item"}else E=rt(x||ot(m,n),i,k),r=x||ot(m,n),v=!0;var D=t.firstChild;null!=D||!g||"atomic"!==x&&"atomic"!==r||(D=document.createTextNode("a")),null!=D&&(m=D.nodeName.toLowerCase());for(var O=null;D;){O=s(m,D,l,p,d,h),E=ct(E,ut(D,e,n,r,o,i,a,s,c,u,l,p,d,h,y,O||g),y.flat);var I=D.nextSibling;if(I&&o.indexOf(m)>=0&&r){var L=u(m,D,n,r),N=void 0,A=void 0;!1!==L&&("string"==typeof(L=L||{})?(N=L,A=(0,F.Map)()):(N=L.type||ot(m,n),A=L.data?(0,F.Map)(L.data):(0,F.Map)()),E=ct(E,nt(N,i,y.flat,A),y.flat))}I&&(m=I.nodeName.toLowerCase()),D=I}return v&&(E=ct(E,rt(b,i,(0,F.Map)()),y.flat)),E}function lt(t,e,n,r,o,i,a,s,c,u,l){var p=l(t=t.trim().replace(q,"").replace(W,H));if(!p)return null;var f=function(t){return Z.some((function(e){return-1!==t.indexOf("<".concat(e))}))}(t)?Z.concat(["div"]):["div"],d=ut(p,(0,F.OrderedSet)(),"ul",null,f,-1,e,n,r,o,i,a,s,c,u);return 0===d.text.indexOf("\r")&&(d={text:d.text.slice(1),inlines:d.inlines.slice(1),entities:d.entities.slice(1),blocks:d.blocks}),"\r"===d.text.slice(-1)&&(d.text=d.text.slice(0,-1),d.inlines=d.inlines.slice(0,-1),d.entities=d.entities.slice(0,-1),d.blocks.pop()),0===d.blocks.length&&d.blocks.push({type:"unstyled",data:(0,F.Map)(),depth:0}),d.text.split("\r").length===d.blocks.length+1&&d.blocks.unshift({type:"unstyled",data:(0,F.Map)(),depth:0}),d}function pt(t,e,n,r,o,i,a,s,c,l,p,f){var d=lt(t,e,n,r,o,i,a,s,c,l,p);if(null==d)return[];var h=0;return d.text.split("\r").map((function(t,e){t=t.replace(Q,"");var n=h+t.length,r=et(d).inlines.slice(h,n),o=et(d).entities.slice(h,n),i=(0,F.List)(r.map((function(t,e){var n={style:t,entity:null};return o[e]&&(n.entity=o[e]),u.CharacterMetadata.create(n)})));return h=n+1,new u.ContentBlock({key:f(),type:et(d).blocks[e].type,data:et(d).blocks[e].data,depth:et(d).blocks[e].depth,text:t,characterList:i})}))}var ft=function(t){var e=t.htmlToStyle,n=void 0===e?X:e,r=t.htmlToEntity,o=void 0===r?$:r,i=t.textToEntity,a=void 0===i?tt:i,s=t.htmlToBlock,c=void 0===s?J:s;return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{flat:!1},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:K,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:u.genKey,s=u.ContentState.createFromText(""),l=function(){var t;return s.createEntity?(s=(t=s).createEntity.apply(t,arguments)).getLastCreatedEntityKey():u.Entity.create.apply(u.Entity,arguments)},p=function(){var t;return s.getEntity?(t=s).getEntity.apply(t,arguments):u.Entity.get.apply(u.Entity,arguments)},f=function(){var t;s.mergeEntityData?s=(t=s).mergeEntityData.apply(t,arguments):u.Entity.mergeData.apply(u.Entity,arguments)},d=function(){var t;s.replaceEntityData?s=(t=s).replaceEntityData.apply(t,arguments):u.Entity.replaceData.apply(u.Entity,arguments)},h=pt(t,G(n,st),G(o,$),G(a,tt),G(c,it),l,p,f,d,e,r,i),y=u.BlockMapBuilder.createFromArray(h),g=h[0].getKey();return s.merge({blockMap:y,selectionBefore:u.SelectionState.createEmpty(g),selectionAfter:u.SelectionState.createEmpty(g)})}};const dt=function(){return arguments.length>=1&&"string"==typeof(arguments.length<=0?void 0:arguments[0])?ft({}).apply(void 0,arguments):ft.apply(void 0,arguments)}},20429:function(t){t.exports=function(){"use strict";var t=Array.prototype.slice;function e(t,e){e&&(t.prototype=Object.create(e.prototype)),t.prototype.constructor=t}function n(t){return a(t)?t:K(t)}function r(t){return s(t)?t:H(t)}function o(t){return c(t)?t:q(t)}function i(t){return a(t)&&!u(t)?t:Y(t)}function a(t){return!(!t||!t[p])}function s(t){return!(!t||!t[f])}function c(t){return!(!t||!t[d])}function u(t){return s(t)||c(t)}function l(t){return!(!t||!t[h])}e(r,n),e(o,n),e(i,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=c,n.isAssociative=u,n.isOrdered=l,n.Keyed=r,n.Indexed=o,n.Set=i;var p="@@__IMMUTABLE_ITERABLE__@@",f="@@__IMMUTABLE_KEYED__@@",d="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",y=32,g=31,m={},v={value:!1},b={value:!1};function _(t){return t.value=!1,t}function w(t){t&&(t.value=!0)}function S(){}function M(t,e){e=e||0;for(var n=Math.max(0,t.length-e),r=new Array(n),o=0;o<n;o++)r[o]=t[o+e];return r}function E(t){return void 0===t.size&&(t.size=t.__iterate(k)),t.size}function x(t,e){if("number"!=typeof e){var n=e>>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?E(t)+e:e}function k(){return!0}function C(t,e,n){return(0===t||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function j(t,e){return O(t,e,0)}function D(t,e){return O(t,e,e)}function O(t,e,n){return void 0===t?n:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}var I="function"==typeof Symbol&&Symbol.iterator,L="@@iterator",N=I||L;function A(t){this.next=t}function T(t,e,n,r){var o=0===t?e:1===t?n:[e,n];return r?r.value=o:r={value:o,done:!1},r}function z(){return{value:void 0,done:!0}}function R(t){return!!F(t)}function P(t){return t&&"function"==typeof t.next}function B(t){var e=F(t);return e&&e.call(t)}function F(t){var e=t&&(I&&t[I]||t["@@iterator"]);if("function"==typeof e)return e}function U(t){return t&&"number"==typeof t.length}function K(t){return null==t?et():a(t)?t.toSeq():function(t){var e=ot(t)||"object"==typeof t&&new J(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}(t)}function H(t){return null==t?et().toKeyedSeq():a(t)?s(t)?t.toSeq():t.fromEntrySeq():nt(t)}function q(t){return null==t?et():a(t)?s(t)?t.entrySeq():t.toIndexedSeq():rt(t)}function Y(t){return(null==t?et():a(t)?s(t)?t.entrySeq():t:rt(t)).toSetSeq()}A.prototype.toString=function(){return"[Iterator]"},A.KEYS=0,A.VALUES=1,A.ENTRIES=2,A.prototype.inspect=A.prototype.toSource=function(){return this.toString()},A.prototype[N]=function(){return this},e(K,n),K.of=function(){return K(arguments)},K.prototype.toSeq=function(){return this},K.prototype.toString=function(){return this.__toString("Seq {","}")},K.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},K.prototype.__iterate=function(t,e){return it(this,t,e,!0)},K.prototype.__iterator=function(t,e){return at(this,t,e,!0)},e(H,K),H.prototype.toKeyedSeq=function(){return this},e(q,K),q.of=function(){return q(arguments)},q.prototype.toIndexedSeq=function(){return this},q.prototype.toString=function(){return this.__toString("Seq [","]")},q.prototype.__iterate=function(t,e){return it(this,t,e,!1)},q.prototype.__iterator=function(t,e){return at(this,t,e,!1)},e(Y,K),Y.of=function(){return Y(arguments)},Y.prototype.toSetSeq=function(){return this},K.isSeq=tt,K.Keyed=H,K.Set=Y,K.Indexed=q;var W,Q,Z,V="@@__IMMUTABLE_SEQ__@@";function G(t){this._array=t,this.size=t.length}function J(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function X(t){this._iterable=t,this.size=t.length||t.size}function $(t){this._iterator=t,this._iteratorCache=[]}function tt(t){return!(!t||!t[V])}function et(){return W||(W=new G([]))}function nt(t){var e=Array.isArray(t)?new G(t).fromEntrySeq():P(t)?new $(t).fromEntrySeq():R(t)?new X(t).fromEntrySeq():"object"==typeof t?new J(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function rt(t){var e=ot(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function ot(t){return U(t)?new G(t):P(t)?new $(t):R(t)?new X(t):void 0}function it(t,e,n,r){var o=t._cache;if(o){for(var i=o.length-1,a=0;a<=i;a++){var s=o[n?i-a:a];if(!1===e(s[1],r?s[0]:a,t))return a+1}return a}return t.__iterateUncached(e,n)}function at(t,e,n,r){var o=t._cache;if(o){var i=o.length-1,a=0;return new A((function(){var t=o[n?i-a:a];return a++>i?{value:void 0,done:!0}:T(e,r?t[0]:a-1,t[1])}))}return t.__iteratorUncached(e,n)}function st(t,e){return e?ct(e,t,"",{"":t}):ut(t)}function ct(t,e,n,r){return Array.isArray(e)?t.call(r,n,q(e).map((function(n,r){return ct(t,n,r,e)}))):lt(e)?t.call(r,n,H(e).map((function(n,r){return ct(t,n,r,e)}))):e}function ut(t){return Array.isArray(t)?q(t).map(ut).toList():lt(t)?H(t).map(ut).toMap():t}function lt(t){return t&&(t.constructor===Object||void 0===t.constructor)}function pt(t,e){if(t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if((t=t.valueOf())===(e=e.valueOf())||t!=t&&e!=e)return!0;if(!t||!e)return!1}return!("function"!=typeof t.equals||"function"!=typeof e.equals||!t.equals(e))}function ft(t,e){if(t===e)return!0;if(!a(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||s(t)!==s(e)||c(t)!==c(e)||l(t)!==l(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!u(t);if(l(t)){var r=t.entries();return e.every((function(t,e){var o=r.next().value;return o&&pt(o[1],t)&&(n||pt(o[0],e))}))&&r.next().done}var o=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{o=!0;var i=t;t=e,e=i}var p=!0,f=e.__iterate((function(e,r){if(n?!t.has(e):o?!pt(e,t.get(r,m)):!pt(t.get(r,m),e))return p=!1,!1}));return p&&t.size===f}function dt(t,e){if(!(this instanceof dt))return new dt(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(Q)return Q;Q=this}}function ht(t,e){if(!t)throw new Error(e)}function yt(t,e,n){if(!(this instanceof yt))return new yt(t,e,n);if(ht(0!==n,"Cannot step a Range by 0"),t=t||0,void 0===e&&(e=1/0),n=void 0===n?1:Math.abs(n),e<t&&(n=-n),this._start=t,this._end=e,this._step=n,this.size=Math.max(0,Math.ceil((e-t)/n-1)+1),0===this.size){if(Z)return Z;Z=this}}function gt(){throw TypeError("Abstract")}function mt(){}function vt(){}function bt(){}K.prototype[V]=!0,e(G,q),G.prototype.get=function(t,e){return this.has(t)?this._array[x(this,t)]:e},G.prototype.__iterate=function(t,e){for(var n=this._array,r=n.length-1,o=0;o<=r;o++)if(!1===t(n[e?r-o:o],o,this))return o+1;return o},G.prototype.__iterator=function(t,e){var n=this._array,r=n.length-1,o=0;return new A((function(){return o>r?{value:void 0,done:!0}:T(t,o,n[e?r-o++:o++])}))},e(J,H),J.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},J.prototype.has=function(t){return this._object.hasOwnProperty(t)},J.prototype.__iterate=function(t,e){for(var n=this._object,r=this._keys,o=r.length-1,i=0;i<=o;i++){var a=r[e?o-i:i];if(!1===t(n[a],a,this))return i+1}return i},J.prototype.__iterator=function(t,e){var n=this._object,r=this._keys,o=r.length-1,i=0;return new A((function(){var a=r[e?o-i:i];return i++>o?{value:void 0,done:!0}:T(t,a,n[a])}))},J.prototype[h]=!0,e(X,q),X.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=B(this._iterable),r=0;if(P(n))for(var o;!(o=n.next()).done&&!1!==t(o.value,r++,this););return r},X.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=B(this._iterable);if(!P(n))return new A(z);var r=0;return new A((function(){var e=n.next();return e.done?e:T(t,r++,e.value)}))},e($,q),$.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var n,r=this._iterator,o=this._iteratorCache,i=0;i<o.length;)if(!1===t(o[i],i++,this))return i;for(;!(n=r.next()).done;){var a=n.value;if(o[i]=a,!1===t(a,i++,this))break}return i},$.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterator,r=this._iteratorCache,o=0;return new A((function(){if(o>=r.length){var e=n.next();if(e.done)return e;r[o]=e.value}return T(t,o,r[o++])}))},e(dt,q),dt.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},dt.prototype.get=function(t,e){return this.has(t)?this._value:e},dt.prototype.includes=function(t){return pt(this._value,t)},dt.prototype.slice=function(t,e){var n=this.size;return C(t,e,n)?this:new dt(this._value,D(e,n)-j(t,n))},dt.prototype.reverse=function(){return this},dt.prototype.indexOf=function(t){return pt(this._value,t)?0:-1},dt.prototype.lastIndexOf=function(t){return pt(this._value,t)?this.size:-1},dt.prototype.__iterate=function(t,e){for(var n=0;n<this.size;n++)if(!1===t(this._value,n,this))return n+1;return n},dt.prototype.__iterator=function(t,e){var n=this,r=0;return new A((function(){return r<n.size?T(t,r++,n._value):{value:void 0,done:!0}}))},dt.prototype.equals=function(t){return t instanceof dt?pt(this._value,t._value):ft(t)},e(yt,q),yt.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},yt.prototype.get=function(t,e){return this.has(t)?this._start+x(this,t)*this._step:e},yt.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},yt.prototype.slice=function(t,e){return C(t,e,this.size)?this:(t=j(t,this.size),(e=D(e,this.size))<=t?new yt(0,0):new yt(this.get(t,this._end),this.get(e,this._end),this._step))},yt.prototype.indexOf=function(t){var e=t-this._start;if(e%this._step==0){var n=e/this._step;if(n>=0&&n<this.size)return n}return-1},yt.prototype.lastIndexOf=function(t){return this.indexOf(t)},yt.prototype.__iterate=function(t,e){for(var n=this.size-1,r=this._step,o=e?this._start+n*r:this._start,i=0;i<=n;i++){if(!1===t(o,i,this))return i+1;o+=e?-r:r}return i},yt.prototype.__iterator=function(t,e){var n=this.size-1,r=this._step,o=e?this._start+n*r:this._start,i=0;return new A((function(){var a=o;return o+=e?-r:r,i>n?{value:void 0,done:!0}:T(t,i++,a)}))},yt.prototype.equals=function(t){return t instanceof yt?this._start===t._start&&this._end===t._end&&this._step===t._step:ft(this,t)},e(gt,n),e(mt,gt),e(vt,gt),e(bt,gt),gt.Keyed=mt,gt.Indexed=vt,gt.Set=bt;var _t="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){var n=65535&(t|=0),r=65535&(e|=0);return n*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0};function wt(t){return t>>>1&1073741824|3221225471&t}function St(t){if(!1===t||null==t)return 0;if("function"==typeof t.valueOf&&(!1===(t=t.valueOf())||null==t))return 0;if(!0===t)return 1;var e=typeof t;if("number"===e){var n=0|t;for(n!==t&&(n^=4294967295*t);t>4294967295;)n^=t/=4294967295;return wt(n)}if("string"===e)return t.length>Ot?function(t){var e=Nt[t];return void 0===e&&(e=Mt(t),Lt===It&&(Lt=0,Nt={}),Lt++,Nt[t]=e),e}(t):Mt(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===e)return function(t){var e;if(Ct&&void 0!==(e=kt.get(t)))return e;if(void 0!==(e=t[Dt]))return e;if(!xt){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[Dt]))return e;if(void 0!==(e=function(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}(t)))return e}if(e=++jt,1073741824&jt&&(jt=0),Ct)kt.set(t,e);else{if(void 0!==Et&&!1===Et(t))throw new Error("Non-extensible objects are not allowed as keys.");if(xt)Object.defineProperty(t,Dt,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(void 0!==t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[Dt]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[Dt]=e}}return e}(t);if("function"==typeof t.toString)return Mt(t.toString());throw new Error("Value type "+e+" cannot be hashed.")}function Mt(t){for(var e=0,n=0;n<t.length;n++)e=31*e+t.charCodeAt(n)|0;return wt(e)}var Et=Object.isExtensible,xt=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}();var kt,Ct="function"==typeof WeakMap;Ct&&(kt=new WeakMap);var jt=0,Dt="__immutablehash__";"function"==typeof Symbol&&(Dt=Symbol(Dt));var Ot=16,It=255,Lt=0,Nt={};function At(t){ht(t!==1/0,"Cannot perform this action with an infinite size.")}function Tt(t){return null==t?Vt():zt(t)&&!l(t)?t:Vt().withMutations((function(e){var n=r(t);At(n.size),n.forEach((function(t,n){return e.set(n,t)}))}))}function zt(t){return!(!t||!t[Pt])}e(Tt,mt),Tt.prototype.toString=function(){return this.__toString("Map {","}")},Tt.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},Tt.prototype.set=function(t,e){return Gt(this,t,e)},Tt.prototype.setIn=function(t,e){return this.updateIn(t,m,(function(){return e}))},Tt.prototype.remove=function(t){return Gt(this,t,m)},Tt.prototype.deleteIn=function(t){return this.updateIn(t,(function(){return m}))},Tt.prototype.update=function(t,e,n){return 1===arguments.length?t(this):this.updateIn([t],e,n)},Tt.prototype.updateIn=function(t,e,n){n||(n=e,e=void 0);var r=oe(this,en(t),e,n);return r===m?void 0:r},Tt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Vt()},Tt.prototype.merge=function(){return te(this,void 0,arguments)},Tt.prototype.mergeWith=function(e){return te(this,e,t.call(arguments,1))},Tt.prototype.mergeIn=function(e){var n=t.call(arguments,1);return this.updateIn(e,Vt(),(function(t){return"function"==typeof t.merge?t.merge.apply(t,n):n[n.length-1]}))},Tt.prototype.mergeDeep=function(){return te(this,ee,arguments)},Tt.prototype.mergeDeepWith=function(e){var n=t.call(arguments,1);return te(this,ne(e),n)},Tt.prototype.mergeDeepIn=function(e){var n=t.call(arguments,1);return this.updateIn(e,Vt(),(function(t){return"function"==typeof t.mergeDeep?t.mergeDeep.apply(t,n):n[n.length-1]}))},Tt.prototype.sort=function(t){return Ce(qe(this,t))},Tt.prototype.sortBy=function(t,e){return Ce(qe(this,e,t))},Tt.prototype.withMutations=function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},Tt.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new S)},Tt.prototype.asImmutable=function(){return this.__ensureOwner()},Tt.prototype.wasAltered=function(){return this.__altered},Tt.prototype.__iterator=function(t,e){return new Yt(this,t,e)},Tt.prototype.__iterate=function(t,e){var n=this,r=0;return this._root&&this._root.iterate((function(e){return r++,t(e[1],e[0],n)}),e),r},Tt.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Zt(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},Tt.isMap=zt;var Rt,Pt="@@__IMMUTABLE_MAP__@@",Bt=Tt.prototype;function Ft(t,e){this.ownerID=t,this.entries=e}function Ut(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n}function Kt(t,e,n){this.ownerID=t,this.count=e,this.nodes=n}function Ht(t,e,n){this.ownerID=t,this.keyHash=e,this.entries=n}function qt(t,e,n){this.ownerID=t,this.keyHash=e,this.entry=n}function Yt(t,e,n){this._type=e,this._reverse=n,this._stack=t._root&&Qt(t._root)}function Wt(t,e){return T(t,e[0],e[1])}function Qt(t,e){return{node:t,index:0,__prev:e}}function Zt(t,e,n,r){var o=Object.create(Bt);return o.size=t,o._root=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Vt(){return Rt||(Rt=Zt(0))}function Gt(t,e,n){var r,o;if(t._root){var i=_(v),a=_(b);if(r=Jt(t._root,t.__ownerID,0,void 0,e,n,i,a),!a.value)return t;o=t.size+(i.value?n===m?-1:1:0)}else{if(n===m)return t;o=1,r=new Ft(t.__ownerID,[[e,n]])}return t.__ownerID?(t.size=o,t._root=r,t.__hash=void 0,t.__altered=!0,t):r?Zt(o,r):Vt()}function Jt(t,e,n,r,o,i,a,s){return t?t.update(e,n,r,o,i,a,s):i===m?t:(w(s),w(a),new qt(e,r,[o,i]))}function Xt(t){return t.constructor===qt||t.constructor===Ht}function $t(t,e,n,r,o){if(t.keyHash===r)return new Ht(e,r,[t.entry,o]);var i,a=(0===n?t.keyHash:t.keyHash>>>n)&g,s=(0===n?r:r>>>n)&g;return new Ut(e,1<<a|1<<s,a===s?[$t(t,e,n+5,r,o)]:(i=new qt(e,r,o),a<s?[t,i]:[i,t]))}function te(t,e,n){for(var o=[],i=0;i<n.length;i++){var s=n[i],c=r(s);a(s)||(c=c.map((function(t){return st(t)}))),o.push(c)}return re(t,e,o)}function ee(t,e,n){return t&&t.mergeDeep&&a(e)?t.mergeDeep(e):pt(t,e)?t:e}function ne(t){return function(e,n,r){if(e&&e.mergeDeepWith&&a(n))return e.mergeDeepWith(t,n);var o=t(e,n,r);return pt(e,o)?e:o}}function re(t,e,n){return 0===(n=n.filter((function(t){return 0!==t.size}))).length?t:0!==t.size||t.__ownerID||1!==n.length?t.withMutations((function(t){for(var r=e?function(n,r){t.update(r,m,(function(t){return t===m?n:e(t,n,r)}))}:function(e,n){t.set(n,e)},o=0;o<n.length;o++)n[o].forEach(r)})):t.constructor(n[0])}function oe(t,e,n,r){var o=t===m,i=e.next();if(i.done){var a=o?n:t,s=r(a);return s===a?t:s}ht(o||t&&t.set,"invalid keyPath");var c=i.value,u=o?m:t.get(c,m),l=oe(u,e,n,r);return l===u?t:l===m?t.remove(c):(o?Vt():t).set(c,l)}function ie(t){return t=(t=(858993459&(t-=t>>1&1431655765))+(t>>2&858993459))+(t>>4)&252645135,127&(t+=t>>8)+(t>>16)}function ae(t,e,n,r){var o=r?t:M(t);return o[e]=n,o}Bt[Pt]=!0,Bt.delete=Bt.remove,Bt.removeIn=Bt.deleteIn,Ft.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(pt(n,o[i][0]))return o[i][1];return r},Ft.prototype.update=function(t,e,n,r,o,i,a){for(var s=o===m,c=this.entries,u=0,l=c.length;u<l&&!pt(r,c[u][0]);u++);var p=u<l;if(p?c[u][1]===o:s)return this;if(w(a),(s||!p)&&w(i),!s||1!==c.length){if(!p&&!s&&c.length>=se)return function(t,e,n,r){t||(t=new S);for(var o=new qt(t,St(n),[n,r]),i=0;i<e.length;i++){var a=e[i];o=o.update(t,0,void 0,a[0],a[1])}return o}(t,c,r,o);var f=t&&t===this.ownerID,d=f?c:M(c);return p?s?u===l-1?d.pop():d[u]=d.pop():d[u]=[r,o]:d.push([r,o]),f?(this.entries=d,this):new Ft(t,d)}},Ut.prototype.get=function(t,e,n,r){void 0===e&&(e=St(n));var o=1<<((0===t?e:e>>>t)&g),i=this.bitmap;return 0==(i&o)?r:this.nodes[ie(i&o-1)].get(t+5,e,n,r)},Ut.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=St(r));var s=(0===e?n:n>>>e)&g,c=1<<s,u=this.bitmap,l=0!=(u&c);if(!l&&o===m)return this;var p=ie(u&c-1),f=this.nodes,d=l?f[p]:void 0,h=Jt(d,t,e+5,n,r,o,i,a);if(h===d)return this;if(!l&&h&&f.length>=ce)return function(t,e,n,r,o){for(var i=0,a=new Array(y),s=0;0!==n;s++,n>>>=1)a[s]=1&n?e[i++]:void 0;return a[r]=o,new Kt(t,i+1,a)}(t,f,u,s,h);if(l&&!h&&2===f.length&&Xt(f[1^p]))return f[1^p];if(l&&h&&1===f.length&&Xt(h))return h;var v=t&&t===this.ownerID,b=l?h?u:u^c:u|c,_=l?h?ae(f,p,h,v):function(t,e,n){var r=t.length-1;if(n&&e===r)return t.pop(),t;for(var o=new Array(r),i=0,a=0;a<r;a++)a===e&&(i=1),o[a]=t[a+i];return o}(f,p,v):function(t,e,n,r){var o=t.length+1;if(r&&e+1===o)return t[e]=n,t;for(var i=new Array(o),a=0,s=0;s<o;s++)s===e?(i[s]=n,a=-1):i[s]=t[s+a];return i}(f,p,h,v);return v?(this.bitmap=b,this.nodes=_,this):new Ut(t,b,_)},Kt.prototype.get=function(t,e,n,r){void 0===e&&(e=St(n));var o=(0===t?e:e>>>t)&g,i=this.nodes[o];return i?i.get(t+5,e,n,r):r},Kt.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=St(r));var s=(0===e?n:n>>>e)&g,c=o===m,u=this.nodes,l=u[s];if(c&&!l)return this;var p=Jt(l,t,e+5,n,r,o,i,a);if(p===l)return this;var f=this.count;if(l){if(!p&&--f<ue)return function(t,e,n,r){for(var o=0,i=0,a=new Array(n),s=0,c=1,u=e.length;s<u;s++,c<<=1){var l=e[s];void 0!==l&&s!==r&&(o|=c,a[i++]=l)}return new Ut(t,o,a)}(t,u,f,s)}else f++;var d=t&&t===this.ownerID,h=ae(u,s,p,d);return d?(this.count=f,this.nodes=h,this):new Kt(t,f,h)},Ht.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(pt(n,o[i][0]))return o[i][1];return r},Ht.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=St(r));var s=o===m;if(n!==this.keyHash)return s?this:(w(a),w(i),$t(this,t,e,n,[r,o]));for(var c=this.entries,u=0,l=c.length;u<l&&!pt(r,c[u][0]);u++);var p=u<l;if(p?c[u][1]===o:s)return this;if(w(a),(s||!p)&&w(i),s&&2===l)return new qt(t,this.keyHash,c[1^u]);var f=t&&t===this.ownerID,d=f?c:M(c);return p?s?u===l-1?d.pop():d[u]=d.pop():d[u]=[r,o]:d.push([r,o]),f?(this.entries=d,this):new Ht(t,this.keyHash,d)},qt.prototype.get=function(t,e,n,r){return pt(n,this.entry[0])?this.entry[1]:r},qt.prototype.update=function(t,e,n,r,o,i,a){var s=o===m,c=pt(r,this.entry[0]);return(c?o===this.entry[1]:s)?this:(w(a),s?void w(i):c?t&&t===this.ownerID?(this.entry[1]=o,this):new qt(t,this.keyHash,[r,o]):(w(i),$t(this,t,e,St(r),[r,o])))},Ft.prototype.iterate=Ht.prototype.iterate=function(t,e){for(var n=this.entries,r=0,o=n.length-1;r<=o;r++)if(!1===t(n[e?o-r:r]))return!1},Ut.prototype.iterate=Kt.prototype.iterate=function(t,e){for(var n=this.nodes,r=0,o=n.length-1;r<=o;r++){var i=n[e?o-r:r];if(i&&!1===i.iterate(t,e))return!1}},qt.prototype.iterate=function(t,e){return t(this.entry)},e(Yt,A),Yt.prototype.next=function(){for(var t=this._type,e=this._stack;e;){var n,r=e.node,o=e.index++;if(r.entry){if(0===o)return Wt(t,r.entry)}else if(r.entries){if(o<=(n=r.entries.length-1))return Wt(t,r.entries[this._reverse?n-o:o])}else if(o<=(n=r.nodes.length-1)){var i=r.nodes[this._reverse?n-o:o];if(i){if(i.entry)return Wt(t,i.entry);e=this._stack=Qt(i,e)}continue}e=this._stack=this._stack.__prev}return{value:void 0,done:!0}};var se=8,ce=16,ue=8;function le(t){var e=_e();if(null==t)return e;if(pe(t))return t;var n=o(t),r=n.size;return 0===r?e:(At(r),r>0&&r<y?be(0,r,5,null,new he(n.toArray())):e.withMutations((function(t){t.setSize(r),n.forEach((function(e,n){return t.set(n,e)}))})))}function pe(t){return!(!t||!t[fe])}e(le,vt),le.of=function(){return this(arguments)},le.prototype.toString=function(){return this.__toString("List [","]")},le.prototype.get=function(t,e){if((t=x(this,t))>=0&&t<this.size){var n=Me(this,t+=this._origin);return n&&n.array[t&g]}return e},le.prototype.set=function(t,e){return function(t,e,n){if((e=x(t,e))!=e)return t;if(e>=t.size||e<0)return t.withMutations((function(t){e<0?Ee(t,e).set(0,n):Ee(t,0,e+1).set(e,n)}));e+=t._origin;var r=t._tail,o=t._root,i=_(b);return e>=ke(t._capacity)?r=we(r,t.__ownerID,0,e,n,i):o=we(o,t.__ownerID,t._level,e,n,i),i.value?t.__ownerID?(t._root=o,t._tail=r,t.__hash=void 0,t.__altered=!0,t):be(t._origin,t._capacity,t._level,o,r):t}(this,t,e)},le.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},le.prototype.insert=function(t,e){return this.splice(t,0,e)},le.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=5,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):_e()},le.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations((function(n){Ee(n,0,e+t.length);for(var r=0;r<t.length;r++)n.set(e+r,t[r])}))},le.prototype.pop=function(){return Ee(this,0,-1)},le.prototype.unshift=function(){var t=arguments;return this.withMutations((function(e){Ee(e,-t.length);for(var n=0;n<t.length;n++)e.set(n,t[n])}))},le.prototype.shift=function(){return Ee(this,1)},le.prototype.merge=function(){return xe(this,void 0,arguments)},le.prototype.mergeWith=function(e){return xe(this,e,t.call(arguments,1))},le.prototype.mergeDeep=function(){return xe(this,ee,arguments)},le.prototype.mergeDeepWith=function(e){var n=t.call(arguments,1);return xe(this,ne(e),n)},le.prototype.setSize=function(t){return Ee(this,0,t)},le.prototype.slice=function(t,e){var n=this.size;return C(t,e,n)?this:Ee(this,j(t,n),D(e,n))},le.prototype.__iterator=function(t,e){var n=0,r=ve(this,e);return new A((function(){var e=r();return e===me?{value:void 0,done:!0}:T(t,n++,e)}))},le.prototype.__iterate=function(t,e){for(var n,r=0,o=ve(this,e);(n=o())!==me&&!1!==t(n,r++,this););return r},le.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?be(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):(this.__ownerID=t,this)},le.isList=pe;var fe="@@__IMMUTABLE_LIST__@@",de=le.prototype;function he(t,e){this.array=t,this.ownerID=e}de[fe]=!0,de.delete=de.remove,de.setIn=Bt.setIn,de.deleteIn=de.removeIn=Bt.removeIn,de.update=Bt.update,de.updateIn=Bt.updateIn,de.mergeIn=Bt.mergeIn,de.mergeDeepIn=Bt.mergeDeepIn,de.withMutations=Bt.withMutations,de.asMutable=Bt.asMutable,de.asImmutable=Bt.asImmutable,de.wasAltered=Bt.wasAltered,he.prototype.removeBefore=function(t,e,n){if(n===e?1<<e:0===this.array.length)return this;var r=n>>>e&g;if(r>=this.array.length)return new he([],t);var o,i=0===r;if(e>0){var a=this.array[r];if((o=a&&a.removeBefore(t,e-5,n))===a&&i)return this}if(i&&!o)return this;var s=Se(this,t);if(!i)for(var c=0;c<r;c++)s.array[c]=void 0;return o&&(s.array[r]=o),s},he.prototype.removeAfter=function(t,e,n){if(n===(e?1<<e:0)||0===this.array.length)return this;var r,o=n-1>>>e&g;if(o>=this.array.length)return this;if(e>0){var i=this.array[o];if((r=i&&i.removeAfter(t,e-5,n))===i&&o===this.array.length-1)return this}var a=Se(this,t);return a.array.splice(o+1),r&&(a.array[o]=r),a};var ye,ge,me={};function ve(t,e){var n=t._origin,r=t._capacity,o=ke(r),i=t._tail;return a(t._root,t._level,0);function a(t,s,c){return 0===s?function(t,a){var s=a===o?i&&i.array:t&&t.array,c=a>n?0:n-a,u=r-a;return u>y&&(u=y),function(){if(c===u)return me;var t=e?--u:c++;return s&&s[t]}}(t,c):function(t,o,i){var s,c=t&&t.array,u=i>n?0:n-i>>o,l=1+(r-i>>o);return l>y&&(l=y),function(){for(;;){if(s){var t=s();if(t!==me)return t;s=null}if(u===l)return me;var n=e?--l:u++;s=a(c&&c[n],o-5,i+(n<<o))}}}(t,s,c)}}function be(t,e,n,r,o,i,a){var s=Object.create(de);return s.size=e-t,s._origin=t,s._capacity=e,s._level=n,s._root=r,s._tail=o,s.__ownerID=i,s.__hash=a,s.__altered=!1,s}function _e(){return ye||(ye=be(0,0,5))}function we(t,e,n,r,o,i){var a,s=r>>>n&g,c=t&&s<t.array.length;if(!c&&void 0===o)return t;if(n>0){var u=t&&t.array[s],l=we(u,e,n-5,r,o,i);return l===u?t:((a=Se(t,e)).array[s]=l,a)}return c&&t.array[s]===o?t:(w(i),a=Se(t,e),void 0===o&&s===a.array.length-1?a.array.pop():a.array[s]=o,a)}function Se(t,e){return e&&t&&e===t.ownerID?t:new he(t?t.array.slice():[],e)}function Me(t,e){if(e>=ke(t._capacity))return t._tail;if(e<1<<t._level+5){for(var n=t._root,r=t._level;n&&r>0;)n=n.array[e>>>r&g],r-=5;return n}}function Ee(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0);var r=t.__ownerID||new S,o=t._origin,i=t._capacity,a=o+e,s=void 0===n?i:n<0?i+n:o+n;if(a===o&&s===i)return t;if(a>=s)return t.clear();for(var c=t._level,u=t._root,l=0;a+l<0;)u=new he(u&&u.array.length?[void 0,u]:[],r),l+=1<<(c+=5);l&&(a+=l,o+=l,s+=l,i+=l);for(var p=ke(i),f=ke(s);f>=1<<c+5;)u=new he(u&&u.array.length?[u]:[],r),c+=5;var d=t._tail,h=f<p?Me(t,s-1):f>p?new he([],r):d;if(d&&f>p&&a<i&&d.array.length){for(var y=u=Se(u,r),m=c;m>5;m-=5){var v=p>>>m&g;y=y.array[v]=Se(y.array[v],r)}y.array[p>>>5&g]=d}if(s<i&&(h=h&&h.removeAfter(r,0,s)),a>=f)a-=f,s-=f,c=5,u=null,h=h&&h.removeBefore(r,0,a);else if(a>o||f<p){for(l=0;u;){var b=a>>>c&g;if(b!==f>>>c&g)break;b&&(l+=(1<<c)*b),c-=5,u=u.array[b]}u&&a>o&&(u=u.removeBefore(r,c,a-l)),u&&f<p&&(u=u.removeAfter(r,c,f-l)),l&&(a-=l,s-=l)}return t.__ownerID?(t.size=s-a,t._origin=a,t._capacity=s,t._level=c,t._root=u,t._tail=h,t.__hash=void 0,t.__altered=!0,t):be(a,s,c,u,h)}function xe(t,e,n){for(var r=[],i=0,s=0;s<n.length;s++){var c=n[s],u=o(c);u.size>i&&(i=u.size),a(c)||(u=u.map((function(t){return st(t)}))),r.push(u)}return i>t.size&&(t=t.setSize(i)),re(t,e,r)}function ke(t){return t<y?0:t-1>>>5<<5}function Ce(t){return null==t?Oe():je(t)?t:Oe().withMutations((function(e){var n=r(t);At(n.size),n.forEach((function(t,n){return e.set(n,t)}))}))}function je(t){return zt(t)&&l(t)}function De(t,e,n,r){var o=Object.create(Ce.prototype);return o.size=t?t.size:0,o._map=t,o._list=e,o.__ownerID=n,o.__hash=r,o}function Oe(){return ge||(ge=De(Vt(),_e()))}function Ie(t,e,n){var r,o,i=t._map,a=t._list,s=i.get(e),c=void 0!==s;if(n===m){if(!c)return t;a.size>=y&&a.size>=2*i.size?(r=(o=a.filter((function(t,e){return void 0!==t&&s!==e}))).toKeyedSeq().map((function(t){return t[0]})).flip().toMap(),t.__ownerID&&(r.__ownerID=o.__ownerID=t.__ownerID)):(r=i.remove(e),o=s===a.size-1?a.pop():a.set(s,void 0))}else if(c){if(n===a.get(s)[1])return t;r=i,o=a.set(s,[e,n])}else r=i.set(e,a.size),o=a.set(a.size,[e,n]);return t.__ownerID?(t.size=r.size,t._map=r,t._list=o,t.__hash=void 0,t):De(r,o)}function Le(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function Ne(t){this._iter=t,this.size=t.size}function Ae(t){this._iter=t,this.size=t.size}function Te(t){this._iter=t,this.size=t.size}function ze(t){var e=Xe(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=$e,e.__iterateUncached=function(e,n){var r=this;return t.__iterate((function(t,n){return!1!==e(n,t,r)}),n)},e.__iteratorUncached=function(e,n){if(2===e){var r=t.__iterator(e,n);return new A((function(){var t=r.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t}))}return t.__iterator(1===e?0:1,n)},e}function Re(t,e,n){var r=Xe(t);return r.size=t.size,r.has=function(e){return t.has(e)},r.get=function(r,o){var i=t.get(r,m);return i===m?o:e.call(n,i,r,t)},r.__iterateUncached=function(r,o){var i=this;return t.__iterate((function(t,o,a){return!1!==r(e.call(n,t,o,a),o,i)}),o)},r.__iteratorUncached=function(r,o){var i=t.__iterator(2,o);return new A((function(){var o=i.next();if(o.done)return o;var a=o.value,s=a[0];return T(r,s,e.call(n,a[1],s,t),o)}))},r}function Pe(t,e){var n=Xe(t);return n._iter=t,n.size=t.size,n.reverse=function(){return t},t.flip&&(n.flip=function(){var e=ze(t);return e.reverse=function(){return t.flip()},e}),n.get=function(n,r){return t.get(e?n:-1-n,r)},n.has=function(n){return t.has(e?n:-1-n)},n.includes=function(e){return t.includes(e)},n.cacheResult=$e,n.__iterate=function(e,n){var r=this;return t.__iterate((function(t,n){return e(t,n,r)}),!n)},n.__iterator=function(e,n){return t.__iterator(e,!n)},n}function Be(t,e,n,r){var o=Xe(t);return r&&(o.has=function(r){var o=t.get(r,m);return o!==m&&!!e.call(n,o,r,t)},o.get=function(r,o){var i=t.get(r,m);return i!==m&&e.call(n,i,r,t)?i:o}),o.__iterateUncached=function(o,i){var a=this,s=0;return t.__iterate((function(t,i,c){if(e.call(n,t,i,c))return s++,o(t,r?i:s-1,a)}),i),s},o.__iteratorUncached=function(o,i){var a=t.__iterator(2,i),s=0;return new A((function(){for(;;){var i=a.next();if(i.done)return i;var c=i.value,u=c[0],l=c[1];if(e.call(n,l,u,t))return T(o,r?u:s++,l,i)}}))},o}function Fe(t,e,n,r){var o=t.size;if(void 0!==e&&(e|=0),void 0!==n&&(n|=0),C(e,n,o))return t;var i=j(e,o),a=D(n,o);if(i!=i||a!=a)return Fe(t.toSeq().cacheResult(),e,n,r);var s,c=a-i;c==c&&(s=c<0?0:c);var u=Xe(t);return u.size=0===s?s:t.size&&s||void 0,!r&&tt(t)&&s>=0&&(u.get=function(e,n){return(e=x(this,e))>=0&&e<s?t.get(e+i,n):n}),u.__iterateUncached=function(e,n){var o=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(e,n);var a=0,c=!0,u=0;return t.__iterate((function(t,n){if(!c||!(c=a++<i))return u++,!1!==e(t,r?n:u-1,o)&&u!==s})),u},u.__iteratorUncached=function(e,n){if(0!==s&&n)return this.cacheResult().__iterator(e,n);var o=0!==s&&t.__iterator(e,n),a=0,c=0;return new A((function(){for(;a++<i;)o.next();if(++c>s)return{value:void 0,done:!0};var t=o.next();return r||1===e?t:T(e,c-1,0===e?void 0:t.value[1],t)}))},u}function Ue(t,e,n,r){var o=Xe(t);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,c=0;return t.__iterate((function(t,i,u){if(!s||!(s=e.call(n,t,i,u)))return c++,o(t,r?i:c-1,a)})),c},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=t.__iterator(2,i),c=!0,u=0;return new A((function(){var t,i,l;do{if((t=s.next()).done)return r||1===o?t:T(o,u++,0===o?void 0:t.value[1],t);var p=t.value;i=p[0],l=p[1],c&&(c=e.call(n,l,i,a))}while(c);return 2===o?t:T(o,i,l,t)}))},o}function Ke(t,e){var n=s(t),o=[t].concat(e).map((function(t){return a(t)?n&&(t=r(t)):t=n?nt(t):rt(Array.isArray(t)?t:[t]),t})).filter((function(t){return 0!==t.size}));if(0===o.length)return t;if(1===o.length){var i=o[0];if(i===t||n&&s(i)||c(t)&&c(i))return i}var u=new G(o);return n?u=u.toKeyedSeq():c(t)||(u=u.toSetSeq()),(u=u.flatten(!0)).size=o.reduce((function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}}),0),u}function He(t,e,n){var r=Xe(t);return r.__iterateUncached=function(r,o){var i=0,s=!1;return function t(c,u){var l=this;c.__iterate((function(o,c){return(!e||u<e)&&a(o)?t(o,u+1):!1===r(o,n?c:i++,l)&&(s=!0),!s}),o)}(t,0),i},r.__iteratorUncached=function(r,o){var i=t.__iterator(r,o),s=[],c=0;return new A((function(){for(;i;){var t=i.next();if(!1===t.done){var u=t.value;if(2===r&&(u=u[1]),e&&!(s.length<e)||!a(u))return n?t:T(r,c++,u,t);s.push(i),i=u.__iterator(r,o)}else i=s.pop()}return{value:void 0,done:!0}}))},r}function qe(t,e,n){e||(e=tn);var r=s(t),o=0,i=t.toSeq().map((function(e,r){return[r,e,o++,n?n(e,r,t):e]})).toArray();return i.sort((function(t,n){return e(t[3],n[3])||t[2]-n[2]})).forEach(r?function(t,e){i[e].length=2}:function(t,e){i[e]=t[1]}),r?H(i):c(t)?q(i):Y(i)}function Ye(t,e,n){if(e||(e=tn),n){var r=t.toSeq().map((function(e,r){return[e,n(e,r,t)]})).reduce((function(t,n){return We(e,t[1],n[1])?n:t}));return r&&r[0]}return t.reduce((function(t,n){return We(e,t,n)?n:t}))}function We(t,e,n){var r=t(n,e);return 0===r&&n!==e&&(null==n||n!=n)||r>0}function Qe(t,e,r){var o=Xe(t);return o.size=new G(r).map((function(t){return t.size})).min(),o.__iterate=function(t,e){for(var n,r=this.__iterator(1,e),o=0;!(n=r.next()).done&&!1!==t(n.value,o++,this););return o},o.__iteratorUncached=function(t,o){var i=r.map((function(t){return t=n(t),B(o?t.reverse():t)})),a=0,s=!1;return new A((function(){var n;return s||(n=i.map((function(t){return t.next()})),s=n.some((function(t){return t.done}))),s?{value:void 0,done:!0}:T(t,a++,e.apply(null,n.map((function(t){return t.value}))))}))},o}function Ze(t,e){return tt(t)?e:t.constructor(e)}function Ve(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function Ge(t){return At(t.size),E(t)}function Je(t){return s(t)?r:c(t)?o:i}function Xe(t){return Object.create((s(t)?H:c(t)?q:Y).prototype)}function $e(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):K.prototype.cacheResult.call(this)}function tn(t,e){return t>e?1:t<e?-1:0}function en(t){var e=B(t);if(!e){if(!U(t))throw new TypeError("Expected iterable or array-like: "+t);e=B(n(t))}return e}function nn(t,e){var n,r=function(i){if(i instanceof r)return i;if(!(this instanceof r))return new r(i);if(!n){n=!0;var a=Object.keys(t);(function(t,e){try{e.forEach(sn.bind(void 0,t))}catch(t){}})(o,a),o.size=a.length,o._name=e,o._keys=a,o._defaultValues=t}this._map=Tt(i)},o=r.prototype=Object.create(rn);return o.constructor=r,r}e(Ce,Tt),Ce.of=function(){return this(arguments)},Ce.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Ce.prototype.get=function(t,e){var n=this._map.get(t);return void 0!==n?this._list.get(n)[1]:e},Ce.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Oe()},Ce.prototype.set=function(t,e){return Ie(this,t,e)},Ce.prototype.remove=function(t){return Ie(this,t,m)},Ce.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Ce.prototype.__iterate=function(t,e){var n=this;return this._list.__iterate((function(e){return e&&t(e[1],e[0],n)}),e)},Ce.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},Ce.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),n=this._list.__ensureOwner(t);return t?De(e,n,t,this.__hash):(this.__ownerID=t,this._map=e,this._list=n,this)},Ce.isOrderedMap=je,Ce.prototype[h]=!0,Ce.prototype.delete=Ce.prototype.remove,e(Le,H),Le.prototype.get=function(t,e){return this._iter.get(t,e)},Le.prototype.has=function(t){return this._iter.has(t)},Le.prototype.valueSeq=function(){return this._iter.valueSeq()},Le.prototype.reverse=function(){var t=this,e=Pe(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},Le.prototype.map=function(t,e){var n=this,r=Re(this,t,e);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(t,e)}),r},Le.prototype.__iterate=function(t,e){var n,r=this;return this._iter.__iterate(this._useKeys?function(e,n){return t(e,n,r)}:(n=e?Ge(this):0,function(o){return t(o,e?--n:n++,r)}),e)},Le.prototype.__iterator=function(t,e){if(this._useKeys)return this._iter.__iterator(t,e);var n=this._iter.__iterator(1,e),r=e?Ge(this):0;return new A((function(){var o=n.next();return o.done?o:T(t,e?--r:r++,o.value,o)}))},Le.prototype[h]=!0,e(Ne,q),Ne.prototype.includes=function(t){return this._iter.includes(t)},Ne.prototype.__iterate=function(t,e){var n=this,r=0;return this._iter.__iterate((function(e){return t(e,r++,n)}),e)},Ne.prototype.__iterator=function(t,e){var n=this._iter.__iterator(1,e),r=0;return new A((function(){var e=n.next();return e.done?e:T(t,r++,e.value,e)}))},e(Ae,Y),Ae.prototype.has=function(t){return this._iter.includes(t)},Ae.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate((function(e){return t(e,e,n)}),e)},Ae.prototype.__iterator=function(t,e){var n=this._iter.__iterator(1,e);return new A((function(){var e=n.next();return e.done?e:T(t,e.value,e.value,e)}))},e(Te,H),Te.prototype.entrySeq=function(){return this._iter.toSeq()},Te.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate((function(e){if(e){Ve(e);var r=a(e);return t(r?e.get(1):e[1],r?e.get(0):e[0],n)}}),e)},Te.prototype.__iterator=function(t,e){var n=this._iter.__iterator(1,e);return new A((function(){for(;;){var e=n.next();if(e.done)return e;var r=e.value;if(r){Ve(r);var o=a(r);return T(t,o?r.get(0):r[0],o?r.get(1):r[1],e)}}}))},Ne.prototype.cacheResult=Le.prototype.cacheResult=Ae.prototype.cacheResult=Te.prototype.cacheResult=$e,e(nn,mt),nn.prototype.toString=function(){return this.__toString(an(this)+" {","}")},nn.prototype.has=function(t){return this._defaultValues.hasOwnProperty(t)},nn.prototype.get=function(t,e){if(!this.has(t))return e;var n=this._defaultValues[t];return this._map?this._map.get(t,n):n},nn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var t=this.constructor;return t._empty||(t._empty=on(this,Vt()))},nn.prototype.set=function(t,e){if(!this.has(t))throw new Error('Cannot set unknown key "'+t+'" on '+an(this));var n=this._map&&this._map.set(t,e);return this.__ownerID||n===this._map?this:on(this,n)},nn.prototype.remove=function(t){if(!this.has(t))return this;var e=this._map&&this._map.remove(t);return this.__ownerID||e===this._map?this:on(this,e)},nn.prototype.wasAltered=function(){return this._map.wasAltered()},nn.prototype.__iterator=function(t,e){var n=this;return r(this._defaultValues).map((function(t,e){return n.get(e)})).__iterator(t,e)},nn.prototype.__iterate=function(t,e){var n=this;return r(this._defaultValues).map((function(t,e){return n.get(e)})).__iterate(t,e)},nn.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map&&this._map.__ensureOwner(t);return t?on(this,e,t):(this.__ownerID=t,this._map=e,this)};var rn=nn.prototype;function on(t,e,n){var r=Object.create(Object.getPrototypeOf(t));return r._map=e,r.__ownerID=n,r}function an(t){return t._name||t.constructor.name||"Record"}function sn(t,e){Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){ht(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}function cn(t){return null==t?yn():un(t)&&!l(t)?t:yn().withMutations((function(e){var n=i(t);At(n.size),n.forEach((function(t){return e.add(t)}))}))}function un(t){return!(!t||!t[pn])}rn.delete=rn.remove,rn.deleteIn=rn.removeIn=Bt.removeIn,rn.merge=Bt.merge,rn.mergeWith=Bt.mergeWith,rn.mergeIn=Bt.mergeIn,rn.mergeDeep=Bt.mergeDeep,rn.mergeDeepWith=Bt.mergeDeepWith,rn.mergeDeepIn=Bt.mergeDeepIn,rn.setIn=Bt.setIn,rn.update=Bt.update,rn.updateIn=Bt.updateIn,rn.withMutations=Bt.withMutations,rn.asMutable=Bt.asMutable,rn.asImmutable=Bt.asImmutable,e(cn,bt),cn.of=function(){return this(arguments)},cn.fromKeys=function(t){return this(r(t).keySeq())},cn.prototype.toString=function(){return this.__toString("Set {","}")},cn.prototype.has=function(t){return this._map.has(t)},cn.prototype.add=function(t){return dn(this,this._map.set(t,!0))},cn.prototype.remove=function(t){return dn(this,this._map.remove(t))},cn.prototype.clear=function(){return dn(this,this._map.clear())},cn.prototype.union=function(){var e=t.call(arguments,0);return 0===(e=e.filter((function(t){return 0!==t.size}))).length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations((function(t){for(var n=0;n<e.length;n++)i(e[n]).forEach((function(e){return t.add(e)}))})):this.constructor(e[0])},cn.prototype.intersect=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map((function(t){return i(t)}));var n=this;return this.withMutations((function(t){n.forEach((function(n){e.every((function(t){return t.includes(n)}))||t.remove(n)}))}))},cn.prototype.subtract=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map((function(t){return i(t)}));var n=this;return this.withMutations((function(t){n.forEach((function(n){e.some((function(t){return t.includes(n)}))&&t.remove(n)}))}))},cn.prototype.merge=function(){return this.union.apply(this,arguments)},cn.prototype.mergeWith=function(e){var n=t.call(arguments,1);return this.union.apply(this,n)},cn.prototype.sort=function(t){return gn(qe(this,t))},cn.prototype.sortBy=function(t,e){return gn(qe(this,e,t))},cn.prototype.wasAltered=function(){return this._map.wasAltered()},cn.prototype.__iterate=function(t,e){var n=this;return this._map.__iterate((function(e,r){return t(r,r,n)}),e)},cn.prototype.__iterator=function(t,e){return this._map.map((function(t,e){return e})).__iterator(t,e)},cn.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t);return t?this.__make(e,t):(this.__ownerID=t,this._map=e,this)},cn.isSet=un;var ln,pn="@@__IMMUTABLE_SET__@@",fn=cn.prototype;function dn(t,e){return t.__ownerID?(t.size=e.size,t._map=e,t):e===t._map?t:0===e.size?t.__empty():t.__make(e)}function hn(t,e){var n=Object.create(fn);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function yn(){return ln||(ln=hn(Vt()))}function gn(t){return null==t?wn():mn(t)?t:wn().withMutations((function(e){var n=i(t);At(n.size),n.forEach((function(t){return e.add(t)}))}))}function mn(t){return un(t)&&l(t)}fn[pn]=!0,fn.delete=fn.remove,fn.mergeDeep=fn.merge,fn.mergeDeepWith=fn.mergeWith,fn.withMutations=Bt.withMutations,fn.asMutable=Bt.asMutable,fn.asImmutable=Bt.asImmutable,fn.__empty=yn,fn.__make=hn,e(gn,cn),gn.of=function(){return this(arguments)},gn.fromKeys=function(t){return this(r(t).keySeq())},gn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},gn.isOrderedSet=mn;var vn,bn=gn.prototype;function _n(t,e){var n=Object.create(bn);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function wn(){return vn||(vn=_n(Oe()))}function Sn(t){return null==t?jn():Mn(t)?t:jn().unshiftAll(t)}function Mn(t){return!(!t||!t[xn])}bn[h]=!0,bn.__empty=wn,bn.__make=_n,e(Sn,vt),Sn.of=function(){return this(arguments)},Sn.prototype.toString=function(){return this.__toString("Stack [","]")},Sn.prototype.get=function(t,e){var n=this._head;for(t=x(this,t);n&&t--;)n=n.next;return n?n.value:e},Sn.prototype.peek=function(){return this._head&&this._head.value},Sn.prototype.push=function(){if(0===arguments.length)return this;for(var t=this.size+arguments.length,e=this._head,n=arguments.length-1;n>=0;n--)e={value:arguments[n],next:e};return this.__ownerID?(this.size=t,this._head=e,this.__hash=void 0,this.__altered=!0,this):Cn(t,e)},Sn.prototype.pushAll=function(t){if(0===(t=o(t)).size)return this;At(t.size);var e=this.size,n=this._head;return t.reverse().forEach((function(t){e++,n={value:t,next:n}})),this.__ownerID?(this.size=e,this._head=n,this.__hash=void 0,this.__altered=!0,this):Cn(e,n)},Sn.prototype.pop=function(){return this.slice(1)},Sn.prototype.unshift=function(){return this.push.apply(this,arguments)},Sn.prototype.unshiftAll=function(t){return this.pushAll(t)},Sn.prototype.shift=function(){return this.pop.apply(this,arguments)},Sn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):jn()},Sn.prototype.slice=function(t,e){if(C(t,e,this.size))return this;var n=j(t,this.size);if(D(e,this.size)!==this.size)return vt.prototype.slice.call(this,t,e);for(var r=this.size-n,o=this._head;n--;)o=o.next;return this.__ownerID?(this.size=r,this._head=o,this.__hash=void 0,this.__altered=!0,this):Cn(r,o)},Sn.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Cn(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},Sn.prototype.__iterate=function(t,e){if(e)return this.reverse().__iterate(t);for(var n=0,r=this._head;r&&!1!==t(r.value,n++,this);)r=r.next;return n},Sn.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var n=0,r=this._head;return new A((function(){if(r){var e=r.value;return r=r.next,T(t,n++,e)}return{value:void 0,done:!0}}))},Sn.isStack=Mn;var En,xn="@@__IMMUTABLE_STACK__@@",kn=Sn.prototype;function Cn(t,e,n,r){var o=Object.create(kn);return o.size=t,o._head=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function jn(){return En||(En=Cn(0))}function Dn(t,e){var n=function(n){t.prototype[n]=e[n]};return Object.keys(e).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n),t}kn[xn]=!0,kn.withMutations=Bt.withMutations,kn.asMutable=Bt.asMutable,kn.asImmutable=Bt.asImmutable,kn.wasAltered=Bt.wasAltered,n.Iterator=A,Dn(n,{toArray:function(){At(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate((function(e,n){t[n]=e})),t},toIndexedSeq:function(){return new Ne(this)},toJS:function(){return this.toSeq().map((function(t){return t&&"function"==typeof t.toJS?t.toJS():t})).__toJS()},toJSON:function(){return this.toSeq().map((function(t){return t&&"function"==typeof t.toJSON?t.toJSON():t})).__toJS()},toKeyedSeq:function(){return new Le(this,!0)},toMap:function(){return Tt(this.toKeyedSeq())},toObject:function(){At(this.size);var t={};return this.__iterate((function(e,n){t[n]=e})),t},toOrderedMap:function(){return Ce(this.toKeyedSeq())},toOrderedSet:function(){return gn(s(this)?this.valueSeq():this)},toSet:function(){return cn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Ae(this)},toSeq:function(){return c(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Sn(s(this)?this.valueSeq():this)},toList:function(){return le(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){return Ze(this,Ke(this,t.call(arguments,0)))},includes:function(t){return this.some((function(e){return pt(e,t)}))},entries:function(){return this.__iterator(2)},every:function(t,e){At(this.size);var n=!0;return this.__iterate((function(r,o,i){if(!t.call(e,r,o,i))return n=!1,!1})),n},filter:function(t,e){return Ze(this,Be(this,t,e,!0))},find:function(t,e,n){var r=this.findEntry(t,e);return r?r[1]:n},findEntry:function(t,e){var n;return this.__iterate((function(r,o,i){if(t.call(e,r,o,i))return n=[o,r],!1})),n},findLastEntry:function(t,e){return this.toSeq().reverse().findEntry(t,e)},forEach:function(t,e){return At(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){At(this.size),t=void 0!==t?""+t:",";var e="",n=!0;return this.__iterate((function(r){n?n=!1:e+=t,e+=null!=r?r.toString():""})),e},keys:function(){return this.__iterator(0)},map:function(t,e){return Ze(this,Re(this,t,e))},reduce:function(t,e,n){var r,o;return At(this.size),arguments.length<2?o=!0:r=e,this.__iterate((function(e,i,a){o?(o=!1,r=e):r=t.call(n,r,e,i,a)})),r},reduceRight:function(t,e,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return Ze(this,Pe(this,!0))},slice:function(t,e){return Ze(this,Fe(this,t,e,!0))},some:function(t,e){return!this.every(An(t),e)},sort:function(t){return Ze(this,qe(this,t))},values:function(){return this.__iterator(1)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(t,e){return E(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return function(t,e,n){var r=Tt().asMutable();return t.__iterate((function(o,i){r.update(e.call(n,o,i,t),0,(function(t){return t+1}))})),r.asImmutable()}(this,t,e)},equals:function(t){return ft(this,t)},entrySeq:function(){var t=this;if(t._cache)return new G(t._cache);var e=t.toSeq().map(Nn).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(An(t),e)},findLast:function(t,e,n){return this.toKeyedSeq().reverse().find(t,e,n)},first:function(){return this.find(k)},flatMap:function(t,e){return Ze(this,function(t,e,n){var r=Je(t);return t.toSeq().map((function(o,i){return r(e.call(n,o,i,t))})).flatten(!0)}(this,t,e))},flatten:function(t){return Ze(this,He(this,t,!0))},fromEntrySeq:function(){return new Te(this)},get:function(t,e){return this.find((function(e,n){return pt(n,t)}),void 0,e)},getIn:function(t,e){for(var n,r=this,o=en(t);!(n=o.next()).done;){var i=n.value;if((r=r&&r.get?r.get(i,m):m)===m)return e}return r},groupBy:function(t,e){return function(t,e,n){var r=s(t),o=(l(t)?Ce():Tt()).asMutable();t.__iterate((function(i,a){o.update(e.call(n,i,a,t),(function(t){return(t=t||[]).push(r?[a,i]:i),t}))}));var i=Je(t);return o.map((function(e){return Ze(t,i(e))}))}(this,t,e)},has:function(t){return this.get(t,m)!==m},hasIn:function(t){return this.getIn(t,m)!==m},isSubset:function(t){return t="function"==typeof t.includes?t:n(t),this.every((function(e){return t.includes(e)}))},isSuperset:function(t){return(t="function"==typeof t.isSubset?t:n(t)).isSubset(this)},keySeq:function(){return this.toSeq().map(Ln).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(t){return Ye(this,t)},maxBy:function(t,e){return Ye(this,e,t)},min:function(t){return Ye(this,t?Tn(t):Pn)},minBy:function(t,e){return Ye(this,e?Tn(e):Pn,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return Ze(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return Ze(this,Ue(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(An(t),e)},sortBy:function(t,e){return Ze(this,qe(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return Ze(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return Ze(this,function(t,e,n){var r=Xe(t);return r.__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var a=0;return t.__iterate((function(t,o,s){return e.call(n,t,o,s)&&++a&&r(t,o,i)})),a},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var a=t.__iterator(2,o),s=!0;return new A((function(){if(!s)return{value:void 0,done:!0};var t=a.next();if(t.done)return t;var o=t.value,c=o[0],u=o[1];return e.call(n,u,c,i)?2===r?t:T(r,c,u,t):(s=!1,{value:void 0,done:!0})}))},r}(this,t,e))},takeUntil:function(t,e){return this.takeWhile(An(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(t){if(t.size===1/0)return 0;var e=l(t),n=s(t),r=e?1:0;return function(t,e){return e=_t(e,3432918353),e=_t(e<<15|e>>>-15,461845907),e=_t(e<<13|e>>>-13,5),e=_t((e=(e+3864292196|0)^t)^e>>>16,2246822507),wt((e=_t(e^e>>>13,3266489909))^e>>>16)}(t.__iterate(n?e?function(t,e){r=31*r+Bn(St(t),St(e))|0}:function(t,e){r=r+Bn(St(t),St(e))|0}:e?function(t){r=31*r+St(t)|0}:function(t){r=r+St(t)|0}),r)}(this))}});var On=n.prototype;On[p]=!0,On[N]=On.values,On.__toJS=On.toArray,On.__toStringMapper=zn,On.inspect=On.toSource=function(){return this.toString()},On.chain=On.flatMap,On.contains=On.includes,function(){try{Object.defineProperty(On,"length",{get:function(){if(!n.noLengthWarning){var t;try{throw new Error}catch(e){t=e.stack}if(-1===t.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+t),this.size}}})}catch(t){}}(),Dn(r,{flip:function(){return Ze(this,ze(this))},findKey:function(t,e){var n=this.findEntry(t,e);return n&&n[0]},findLastKey:function(t,e){return this.toSeq().reverse().findKey(t,e)},keyOf:function(t){return this.findKey((function(e){return pt(e,t)}))},lastKeyOf:function(t){return this.findLastKey((function(e){return pt(e,t)}))},mapEntries:function(t,e){var n=this,r=0;return Ze(this,this.toSeq().map((function(o,i){return t.call(e,[i,o],r++,n)})).fromEntrySeq())},mapKeys:function(t,e){var n=this;return Ze(this,this.toSeq().flip().map((function(r,o){return t.call(e,r,o,n)})).flip())}});var In=r.prototype;function Ln(t,e){return e}function Nn(t,e){return[e,t]}function An(t){return function(){return!t.apply(this,arguments)}}function Tn(t){return function(){return-t.apply(this,arguments)}}function zn(t){return"string"==typeof t?JSON.stringify(t):t}function Rn(){return M(arguments)}function Pn(t,e){return t<e?1:t>e?-1:0}function Bn(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}return In[f]=!0,In[N]=On.entries,In.__toJS=On.toObject,In.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+zn(t)},Dn(o,{toKeyedSeq:function(){return new Le(this,!1)},filter:function(t,e){return Ze(this,Be(this,t,e,!1))},findIndex:function(t,e){var n=this.findEntry(t,e);return n?n[0]:-1},indexOf:function(t){var e=this.toKeyedSeq().keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.toKeyedSeq().reverse().keyOf(t);return void 0===e?-1:e},reverse:function(){return Ze(this,Pe(this,!1))},slice:function(t,e){return Ze(this,Fe(this,t,e,!1))},splice:function(t,e){var n=arguments.length;if(e=Math.max(0|e,0),0===n||2===n&&!e)return this;t=j(t,t<0?this.count():this.size);var r=this.slice(0,t);return Ze(this,1===n?r:r.concat(M(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var n=this.toKeyedSeq().findLastKey(t,e);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(t){return Ze(this,He(this,t,!1))},get:function(t,e){return(t=x(this,t))<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find((function(e,n){return n===t}),void 0,e)},has:function(t){return(t=x(this,t))>=0&&(void 0!==this.size?this.size===1/0||t<this.size:-1!==this.indexOf(t))},interpose:function(t){return Ze(this,function(t,e){var n=Xe(t);return n.size=t.size&&2*t.size-1,n.__iterateUncached=function(n,r){var o=this,i=0;return t.__iterate((function(t,r){return(!i||!1!==n(e,i++,o))&&!1!==n(t,i++,o)}),r),i},n.__iteratorUncached=function(n,r){var o,i=t.__iterator(1,r),a=0;return new A((function(){return(!o||a%2)&&(o=i.next()).done?o:a%2?T(n,a++,e):T(n,a++,o.value,o)}))},n}(this,t))},interleave:function(){var t=[this].concat(M(arguments)),e=Qe(this.toSeq(),q.of,t),n=e.flatten(!0);return e.size&&(n.size=e.size*t.length),Ze(this,n)},last:function(){return this.get(-1)},skipWhile:function(t,e){return Ze(this,Ue(this,t,e,!1))},zip:function(){return Ze(this,Qe(this,Rn,[this].concat(M(arguments))))},zipWith:function(t){var e=M(arguments);return e[0]=this,Ze(this,Qe(this,t,e))}}),o.prototype[d]=!0,o.prototype[h]=!0,Dn(i,{get:function(t,e){return this.has(t)?t:e},includes:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}}),i.prototype.has=On.includes,Dn(H,r.prototype),Dn(q,o.prototype),Dn(Y,i.prototype),Dn(mt,r.prototype),Dn(vt,o.prototype),Dn(bt,i.prototype),{Iterable:n,Seq:K,Collection:gt,Map:Tt,OrderedMap:Ce,List:le,Stack:Sn,Set:cn,OrderedSet:gn,Record:nn,Range:yt,Repeat:dt,is:pt,fromJS:st}}()},82568:(t,e,n)=>{"use strict";function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){o(t,e,n[e])}))}return t}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var i=n(38046),a=n(28),s=n(39806),c=n(72368),u=n(84055),l=n(46238),p=n(84894),f=n(27936),d=n(18489),h=n(58710),y=f("draft_tree_data_support"),g=y?c:s,m=d.List,v=d.Repeat,b={insertAtomicBlock:function(t,e,n){var o=t.getCurrentContent(),s=t.getSelection(),c=u.removeRange(o,s,"backward"),f=c.getSelectionAfter(),d=u.splitBlock(c,f),h=d.getSelectionAfter(),b=u.setBlockType(d,h,"atomic"),_=a.create({entity:e}),w={key:p(),type:"atomic",text:n,characterList:m(v(_,n.length))},S={key:p(),type:"unstyled"};y&&(w=r({},w,{nextSibling:S.key}),S=r({},S,{prevSibling:w.key}));var M=[new g(w),new g(S)],E=i.createFromArray(M),x=u.replaceWithFragment(b,h,E),k=x.merge({selectionBefore:s,selectionAfter:x.getSelectionAfter().set("hasFocus",!0)});return l.push(t,k,"insert-fragment")},moveAtomicBlock:function(t,e,n,r){var o,i=t.getCurrentContent(),a=t.getSelection();if("before"===r||"after"===r){var s=i.getBlockForKey("before"===r?n.getStartKey():n.getEndKey());o=h(i,e,s,r)}else{var c=u.removeRange(i,n,"backward"),p=c.getSelectionAfter(),f=c.getBlockForKey(p.getFocusKey());if(0===p.getStartOffset())o=h(c,e,f,"before");else if(p.getEndOffset()===f.getLength())o=h(c,e,f,"after");else{var d=u.splitBlock(c,p),y=d.getSelectionAfter(),g=d.getBlockForKey(y.getFocusKey());o=h(d,e,g,"before")}}var m=o.merge({selectionBefore:a,selectionAfter:o.getSelectionAfter().set("hasFocus",!0)});return l.push(t,m,"move-block")}};t.exports=b},38046:(t,e,n)=>{"use strict";var r=n(18489).OrderedMap,o={createFromArray:function(t){return r(t.map((function(t){return[t.getKey(),t]})))}};t.exports=o},39893:(t,e,n)=>{"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(90754),i=n(14723),a=n(18489),s=a.List,c=a.Repeat,u=a.Record,l=function(){return!0},p=u({start:null,end:null}),f=u({start:null,end:null,decoratorKey:null,leaves:null}),d={generate:function(t,e,n){var r=e.getLength();if(!r)return s.of(new f({start:0,end:0,decoratorKey:null,leaves:s.of(new p({start:0,end:0}))}));var i=[],a=n?n.getDecorations(e,t):s(c(null,r)),u=e.getCharacterList();return o(a,h,l,(function(t,e){var n,r,c,d;i.push(new f({start:t,end:e,decoratorKey:a.get(t),leaves:(n=u.slice(t,e).toList(),r=t,c=[],d=n.map((function(t){return t.getStyle()})).toList(),o(d,h,l,(function(t,e){c.push(new p({start:t+r,end:e+r}))})),s(c))}))})),s(i)},fromJS:function(t){var e=t.leaves,n=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,["leaves"]);return new f(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),o.forEach((function(e){r(t,e,n[e])}))}return t}({},n,{leaves:null!=e?s(Array.isArray(e)?e:i(e)).map((function(t){return p(t)})):null}))}};function h(t,e){return t===e}t.exports=d},28:(t,e,n)=>{"use strict";var r=n(18489),o=r.Map,i=r.OrderedSet,a=r.Record,s=i(),c={style:s,entity:null},u=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=r.prototype;return a.getStyle=function(){return this.get("style")},a.getEntity=function(){return this.get("entity")},a.hasStyle=function(t){return this.getStyle().includes(t)},r.applyStyle=function(t,e){var n=t.set("style",t.getStyle().add(e));return r.create(n)},r.removeStyle=function(t,e){var n=t.set("style",t.getStyle().remove(e));return r.create(n)},r.applyEntity=function(t,e){var n=t.getEntity()===e?t:t.set("entity",e);return r.create(n)},r.create=function(t){if(!t)return l;var e=o({style:s,entity:null}).merge(t),n=p.get(e);if(n)return n;var i=new r(e);return p=p.set(e,i),i},r.fromJS=function(t){var e=t.style,n=t.entity;return new r({style:Array.isArray(e)?i(e):e,entity:Array.isArray(n)?i(n):n})},r}(a(c)),l=new u,p=o([[o(c),l]]);u.EMPTY=l,t.exports=u},68542:(t,e,n)=>{"use strict";var r=n(18489).List,o=function(){function t(t){var e,n;n=void 0,(e="_decorators")in this?Object.defineProperty(this,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):this[e]=n,this._decorators=t.slice()}var e=t.prototype;return e.getDecorations=function(t,e){var n=Array(t.getText().length).fill(null);return this._decorators.forEach((function(r,o){var i=0;(0,r.strategy)(t,(function(t,e){(function(t,e,n){for(var r=e;r<n;r++)if(null!=t[r])return!1;return!0})(n,t,e)&&(function(t,e,n,r){for(var o=e;o<n;o++)t[o]=r}(n,t,e,o+"."+i),i++)}),e)})),r(n)},e.getComponentForKey=function(t){var e=parseInt(t.split(".")[0],10);return this._decorators[e].component},e.getPropsForKey=function(t){var e=parseInt(t.split(".")[0],10);return this._decorators[e].props},t}();t.exports=o},39806:(t,e,n)=>{"use strict";var r=n(28),o=n(90754),i=n(18489),a=i.List,s=i.Map,c=i.OrderedSet,u=i.Record,l=i.Repeat,p=c(),f=function(t){var e,n;function i(e){return t.call(this,function(t){if(!t)return t;var e=t.characterList,n=t.text;return n&&!e&&(t.characterList=a(l(r.EMPTY,n.length))),t}(e))||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var s=i.prototype;return s.getKey=function(){return this.get("key")},s.getType=function(){return this.get("type")},s.getText=function(){return this.get("text")},s.getCharacterList=function(){return this.get("characterList")},s.getLength=function(){return this.getText().length},s.getDepth=function(){return this.get("depth")},s.getData=function(){return this.get("data")},s.getInlineStyleAt=function(t){var e=this.getCharacterList().get(t);return e?e.getStyle():p},s.getEntityAt=function(t){var e=this.getCharacterList().get(t);return e?e.getEntity():null},s.findStyleRanges=function(t,e){o(this.getCharacterList(),d,t,e)},s.findEntityRanges=function(t,e){o(this.getCharacterList(),h,t,e)},i}(u({key:"",type:"unstyled",text:"",characterList:a(),depth:0,data:s()}));function d(t,e){return t.getStyle()===e.getStyle()}function h(t,e){return t.getEntity()===e.getEntity()}t.exports=f},72368:(t,e,n)=>{"use strict";var r=n(28),o=n(90754),i=n(18489),a=i.List,s=i.Map,c=i.OrderedSet,u=i.Record,l=i.Repeat,p=c(),f={parent:null,characterList:a(),data:s(),depth:0,key:"",text:"",type:"unstyled",children:a(),prevSibling:null,nextSibling:null},d=function(t,e){return t.getStyle()===e.getStyle()},h=function(t,e){return t.getEntity()===e.getEntity()},y=function(t){if(!t)return t;var e=t.characterList,n=t.text;return n&&!e&&(t.characterList=a(l(r.EMPTY,n.length))),t},g=function(t){var e,n;function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f;return t.call(this,y(e))||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var i=r.prototype;return i.getKey=function(){return this.get("key")},i.getType=function(){return this.get("type")},i.getText=function(){return this.get("text")},i.getCharacterList=function(){return this.get("characterList")},i.getLength=function(){return this.getText().length},i.getDepth=function(){return this.get("depth")},i.getData=function(){return this.get("data")},i.getInlineStyleAt=function(t){var e=this.getCharacterList().get(t);return e?e.getStyle():p},i.getEntityAt=function(t){var e=this.getCharacterList().get(t);return e?e.getEntity():null},i.getChildKeys=function(){return this.get("children")},i.getParentKey=function(){return this.get("parent")},i.getPrevSiblingKey=function(){return this.get("prevSibling")},i.getNextSiblingKey=function(){return this.get("nextSibling")},i.findStyleRanges=function(t,e){o(this.getCharacterList(),d,t,e)},i.findEntityRanges=function(t,e){o(this.getCharacterList(),h,t,e)},r}(u(f));t.exports=g},10789:(t,e,n)=>{"use strict";function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){o(t,e,n[e])}))}return t}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var i=n(38046),a=n(28),s=n(39806),c=n(72368),u=n(3031),l=n(69806),p=n(84894),f=n(14723),d=n(27936),h=n(18489),y=n(24844),g=h.List,m=h.Record,v=h.Repeat,b=h.Map,_=h.OrderedMap,w=m({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),S=d("draft_tree_data_support")?c:s,M=function(t){var e,n;function o(){return t.apply(this,arguments)||this}n=t,(e=o).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var s=o.prototype;return s.getEntityMap=function(){return u},s.getBlockMap=function(){return this.get("blockMap")},s.getSelectionBefore=function(){return this.get("selectionBefore")},s.getSelectionAfter=function(){return this.get("selectionAfter")},s.getBlockForKey=function(t){return this.getBlockMap().get(t)},s.getKeyBefore=function(t){return this.getBlockMap().reverse().keySeq().skipUntil((function(e){return e===t})).skip(1).first()},s.getKeyAfter=function(t){return this.getBlockMap().keySeq().skipUntil((function(e){return e===t})).skip(1).first()},s.getBlockAfter=function(t){return this.getBlockMap().skipUntil((function(e,n){return n===t})).skip(1).first()},s.getBlockBefore=function(t){return this.getBlockMap().reverse().skipUntil((function(e,n){return n===t})).skip(1).first()},s.getBlocksAsArray=function(){return this.getBlockMap().toArray()},s.getFirstBlock=function(){return this.getBlockMap().first()},s.getLastBlock=function(){return this.getBlockMap().last()},s.getPlainText=function(t){return this.getBlockMap().map((function(t){return t?t.getText():""})).join(t||"\n")},s.getLastCreatedEntityKey=function(){return u.__getLastCreatedEntityKey()},s.hasText=function(){var t=this.getBlockMap();return t.size>1||escape(t.first().getText()).replace(/%u200B/g,"").length>0},s.createEntity=function(t,e,n){return u.__create(t,e,n),this},s.mergeEntityData=function(t,e){return u.__mergeData(t,e),this},s.replaceEntityData=function(t,e){return u.__replaceData(t,e),this},s.addEntity=function(t){return u.__add(t),this},s.getEntity=function(t){return u.__get(t)},s.getAllEntities=function(){return u.__getAll()},s.loadWithEntities=function(t){return u.__loadWithEntities(t)},o.createFromBlockArray=function(t,e){var n=Array.isArray(t)?t:t.contentBlocks,r=i.createFromArray(n),a=r.isEmpty()?new l:l.createEmpty(r.first().getKey());return new o({blockMap:r,entityMap:e||u,selectionBefore:a,selectionAfter:a})},o.createFromText=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,n=t.split(e),r=n.map((function(t){return t=y(t),new S({key:p(),text:t,type:"unstyled",characterList:g(v(a.EMPTY,t.length))})}));return o.createFromBlockArray(r)},o.fromJS=function(t){return new o(r({},t,{blockMap:_(t.blockMap).map(o.createContentBlockFromJS),selectionBefore:new l(t.selectionBefore),selectionAfter:new l(t.selectionAfter)}))},o.createContentBlockFromJS=function(t){var e=t.characterList;return new S(r({},t,{data:b(t.data),characterList:null!=e?g((Array.isArray(e)?e:f(e)).map((function(t){return a.fromJS(t)}))):void 0}))},o}(w);t.exports=M},76520:(t,e,n)=>{"use strict";var r=n(28),o=n(18489).Map,i={add:function(t,e,n){return a(t,e,n,!0)},remove:function(t,e,n){return a(t,e,n,!1)}};function a(t,e,n,i){var a=t.getBlockMap(),s=e.getStartKey(),c=e.getStartOffset(),u=e.getEndKey(),l=e.getEndOffset(),p=a.skipUntil((function(t,e){return e===s})).takeUntil((function(t,e){return e===u})).concat(o([[u,a.get(u)]])).map((function(t,e){var o,a;s===u?(o=c,a=l):(o=e===s?c:0,a=e===u?l:t.getLength());for(var p,f=t.getCharacterList();o<a;)p=f.get(o),f=f.set(o,i?r.applyStyle(p,n):r.removeStyle(p,n)),o++;return t.set("characterList",f)}));return t.merge({blockMap:a.merge(p),selectionBefore:e,selectionAfter:e})}t.exports=i},74241:(t,e,n)=>{"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(91355),i=n(59321),a=n(52868),s=n(18489),c=n(73012),u=n(98392),l=s.Map,p={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},f=o.isBrowser("IE <= 11"),d=function(){function t(t){var e=this;r(this,"observer",void 0),r(this,"container",void 0),r(this,"mutations",void 0),r(this,"onCharData",void 0),this.container=t,this.mutations=l();var n=a(t);n.MutationObserver&&!f?this.observer=new n.MutationObserver((function(t){return e.registerMutations(t)})):this.onCharData=function(t){t.target instanceof Node||c(!1),e.registerMutation({type:"characterData",target:t.target})}}var e=t.prototype;return e.start=function(){this.observer?this.observer.observe(this.container,p):this.container.addEventListener("DOMCharacterDataModified",this.onCharData)},e.stopAndFlushMutations=function(){var t=this.observer;t?(this.registerMutations(t.takeRecords()),t.disconnect()):this.container.removeEventListener("DOMCharacterDataModified",this.onCharData);var e=this.mutations;return this.mutations=l(),e},e.registerMutations=function(t){for(var e=0;e<t.length;e++)this.registerMutation(t[e])},e.getMutationTextContent=function(t){var e=t.type,n=t.target,r=t.removedNodes;if("characterData"===e){if(""!==n.textContent)return f?n.textContent.replace("\n",""):n.textContent}else if("childList"===e){if(r&&r.length)return"";if(""!==n.textContent)return n.textContent}return null},e.registerMutation=function(t){var e=this.getMutationTextContent(t);if(null!=e){var n=u(i(t.target));this.mutations=this.mutations.set(n,e)}},t}();t.exports=d},74682:(t,e,n)=>{"use strict";var r=n(1024),o=n(2775),i=(0,n(18489).Map)({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},section:{element:"section"},article:{element:"article"},"unordered-list-item":{element:"li",wrapper:r.createElement("ul",{className:o("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:r.createElement("ol",{className:o("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:r.createElement("pre",{className:o("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}});t.exports=i},45608:t=>{"use strict";t.exports={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}}},6880:(t,e,n)=>{"use strict";var r=n(82568),o=n(38046),i=n(28),a=n(68542),s=n(39806),c=n(10789),u=n(74682),l=n(45608),p=n(75949),f=n(84030),d=n(3031),h=n(84055),y=n(91825),g=n(46238),m=n(76944),v=n(28484),b=n(93626),_=n(69806),w=n(40313),S=n(80618),M=n(84894),E=n(91741),x=n(602),k={Editor:p,EditorBlock:f,EditorState:g,CompositeDecorator:a,Entity:d,EntityInstance:y,BlockMapBuilder:o,CharacterMetadata:i,ContentBlock:s,ContentState:c,RawDraftContentState:v,SelectionState:_,AtomicBlockUtils:r,KeyBindingUtil:m,Modifier:h,RichUtils:b,DefaultDraftBlockRenderMap:u,DefaultDraftInlineStyle:l,convertFromHTML:n(97614),convertFromRaw:S,convertToRaw:w,genKey:M,getDefaultKeyBinding:E,getVisibleSelectionRect:x};t.exports=k},75949:(t,e,n)=>{"use strict";var r=n(54516);function o(){return o=r||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o.apply(this,arguments)}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){s(t,e,n[e])}))}return t}function a(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function c(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var u=n(74682),l=n(45608),p=n(3431),f=n(10989),d=n(83567),h=n(49199),y=n(823),g=n(20398),m=n(62599),v=n(46238),b=n(1024),_=n(31675),w=n(99986),S=n(91355),M=n(2775),E=n(84894),x=n(91741),k=n(51702),C=n(27936),j=n(73012),D=n(8187),O=n(98392),I=S.isBrowser("IE"),L=!I,N={edit:h,composite:p,drag:d,cut:null,render:null},A=!1,T=function(t){function e(){return t.apply(this,arguments)||this}c(e,t);var n=e.prototype;return n.render=function(){return null},n.componentDidMount=function(){this._update()},n.componentDidUpdate=function(){this._update()},n._update=function(){var t=this.props.editor;t._latestEditorState=this.props.editorState,t._blockSelectEvents=!0},e}(b.Component),z=function(t){function e(e){var n;return s(a(n=t.call(this,e)||this),"_blockSelectEvents",void 0),s(a(n),"_clipboard",void 0),s(a(n),"_handler",void 0),s(a(n),"_dragCount",void 0),s(a(n),"_internalDrag",void 0),s(a(n),"_editorKey",void 0),s(a(n),"_placeholderAccessibilityID",void 0),s(a(n),"_latestEditorState",void 0),s(a(n),"_latestCommittedEditorState",void 0),s(a(n),"_pendingStateFromBeforeInput",void 0),s(a(n),"_onBeforeInput",void 0),s(a(n),"_onBlur",void 0),s(a(n),"_onCharacterData",void 0),s(a(n),"_onCompositionEnd",void 0),s(a(n),"_onCompositionStart",void 0),s(a(n),"_onCopy",void 0),s(a(n),"_onCut",void 0),s(a(n),"_onDragEnd",void 0),s(a(n),"_onDragOver",void 0),s(a(n),"_onDragStart",void 0),s(a(n),"_onDrop",void 0),s(a(n),"_onInput",void 0),s(a(n),"_onFocus",void 0),s(a(n),"_onKeyDown",void 0),s(a(n),"_onKeyPress",void 0),s(a(n),"_onKeyUp",void 0),s(a(n),"_onMouseDown",void 0),s(a(n),"_onMouseUp",void 0),s(a(n),"_onPaste",void 0),s(a(n),"_onSelect",void 0),s(a(n),"editor",void 0),s(a(n),"editorContainer",void 0),s(a(n),"focus",void 0),s(a(n),"blur",void 0),s(a(n),"setMode",void 0),s(a(n),"exitCurrentMode",void 0),s(a(n),"restoreEditorDOM",void 0),s(a(n),"setClipboard",void 0),s(a(n),"getClipboard",void 0),s(a(n),"getEditorKey",void 0),s(a(n),"update",void 0),s(a(n),"onDragEnter",void 0),s(a(n),"onDragLeave",void 0),s(a(n),"_handleEditorContainerRef",(function(t){n.editorContainer=t,n.editor=null!==t?t.firstChild:null})),s(a(n),"focus",(function(t){var e=n.props.editorState,r=e.getSelection().getHasFocus(),o=n.editor;if(o){var i=w.getScrollParent(o),a=t||k(i),s=a.x,c=a.y;D(o)||j(!1),o.focus(),i===window?window.scrollTo(s,c):_.setTop(i,c),r||n.update(v.forceSelection(e,e.getSelection()))}})),s(a(n),"blur",(function(){var t=n.editor;t&&(D(t)||j(!1),t.blur())})),s(a(n),"setMode",(function(t){var e=n.props,r=e.onPaste,o=e.onCut,a=e.onCopy,s=i({},N.edit);r&&(s.onPaste=r),o&&(s.onCut=o),a&&(s.onCopy=a);var c=i({},N,{edit:s});n._handler=c[t]})),s(a(n),"exitCurrentMode",(function(){n.setMode("edit")})),s(a(n),"restoreEditorDOM",(function(t){n.setState({contentsKey:n.state.contentsKey+1},(function(){n.focus(t)}))})),s(a(n),"setClipboard",(function(t){n._clipboard=t})),s(a(n),"getClipboard",(function(){return n._clipboard})),s(a(n),"update",(function(t){n._latestEditorState=t,n.props.onChange(t)})),s(a(n),"onDragEnter",(function(){n._dragCount++})),s(a(n),"onDragLeave",(function(){n._dragCount--,0===n._dragCount&&n.exitCurrentMode()})),n._blockSelectEvents=!1,n._clipboard=null,n._handler=null,n._dragCount=0,n._editorKey=e.editorKey||E(),n._placeholderAccessibilityID="placeholder-"+n._editorKey,n._latestEditorState=e.editorState,n._latestCommittedEditorState=e.editorState,n._onBeforeInput=n._buildHandler("onBeforeInput"),n._onBlur=n._buildHandler("onBlur"),n._onCharacterData=n._buildHandler("onCharacterData"),n._onCompositionEnd=n._buildHandler("onCompositionEnd"),n._onCompositionStart=n._buildHandler("onCompositionStart"),n._onCopy=n._buildHandler("onCopy"),n._onCut=n._buildHandler("onCut"),n._onDragEnd=n._buildHandler("onDragEnd"),n._onDragOver=n._buildHandler("onDragOver"),n._onDragStart=n._buildHandler("onDragStart"),n._onDrop=n._buildHandler("onDrop"),n._onInput=n._buildHandler("onInput"),n._onFocus=n._buildHandler("onFocus"),n._onKeyDown=n._buildHandler("onKeyDown"),n._onKeyPress=n._buildHandler("onKeyPress"),n._onKeyUp=n._buildHandler("onKeyUp"),n._onMouseDown=n._buildHandler("onMouseDown"),n._onMouseUp=n._buildHandler("onMouseUp"),n._onPaste=n._buildHandler("onPaste"),n._onSelect=n._buildHandler("onSelect"),n.getEditorKey=function(){return n._editorKey},n.state={contentsKey:0},n}c(e,t);var r=e.prototype;return r._buildHandler=function(t){var e=this;return function(n){if(!e.props.readOnly){var r=e._handler&&e._handler[t];r&&(y?y((function(){return r(e,n)})):r(e,n))}}},r._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()},r._renderPlaceholder=function(){if(this._showPlaceholder()){var t={text:O(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return b.createElement(g,t)}return null},r._renderARIADescribedBy=function(){var t=this.props.ariaDescribedBy||"",e=this._showPlaceholder()?this._placeholderAccessibilityID:"";return t.replace("{{editor_id_placeholder}}",e)||void 0},r.render=function(){var t=this.props,e=t.blockRenderMap,n=t.blockRendererFn,r=t.blockStyleFn,a=t.customStyleFn,s=t.customStyleMap,c=t.editorState,u=t.preventScroll,p=t.readOnly,d=t.textAlignment,h=t.textDirectionality,y=M({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===d,"DraftEditor/alignRight":"right"===d,"DraftEditor/alignCenter":"center"===d}),g=this.props.role||"textbox",m="combobox"===g?!!this.props.ariaExpanded:null,v={blockRenderMap:e,blockRendererFn:n,blockStyleFn:r,customStyleMap:i({},l,s),customStyleFn:a,editorKey:this._editorKey,editorState:c,preventScroll:u,textDirectionality:h};return b.createElement("div",{className:y},this._renderPlaceholder(),b.createElement("div",{className:M("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},b.createElement("div",{"aria-activedescendant":p?null:this.props.ariaActiveDescendantID,"aria-autocomplete":p?null:this.props.ariaAutoComplete,"aria-controls":p?null:this.props.ariaControls,"aria-describedby":this._renderARIADescribedBy(),"aria-expanded":p?null:m,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,"aria-owns":p?null:this.props.ariaOwneeID,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:M({notranslate:!p,"public/DraftEditor/content":!0}),contentEditable:!p,"data-testid":this.props.webDriverTestID,onBeforeInput:this._onBeforeInput,onBlur:this._onBlur,onCompositionEnd:this._onCompositionEnd,onCompositionStart:this._onCompositionStart,onCopy:this._onCopy,onCut:this._onCut,onDragEnd:this._onDragEnd,onDragEnter:this.onDragEnter,onDragLeave:this.onDragLeave,onDragOver:this._onDragOver,onDragStart:this._onDragStart,onDrop:this._onDrop,onFocus:this._onFocus,onInput:this._onInput,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseUp:this._onMouseUp,onPaste:this._onPaste,onSelect:this._onSelect,ref:this.props.editorRef,role:p?null:g,spellCheck:L&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},b.createElement(T,{editor:this,editorState:c}),b.createElement(f,o({},v,{key:"contents"+this.state.contentsKey})))))},r.componentDidMount=function(){this._blockSelectEvents=!1,!A&&C("draft_ods_enabled")&&(A=!0,m.initODS()),this.setMode("edit"),I&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):n.g.execCommand("AutoUrlDetect",!1,!1))},r.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},e}(b.Component);s(z,"defaultProps",{ariaDescribedBy:"{{editor_id_placeholder}}",blockRenderMap:u,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:x,readOnly:!1,spellCheck:!1,stripPastedStyles:!1}),t.exports=z},84030:(t,e,n)=>{"use strict";var r=n(54516);function o(){return o=r||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o.apply(this,arguments)}function i(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var s=n(15267),c=n(33638),u=n(1024),l=n(31675),p=n(99986),f=n(35796),d=n(11021),h=n(2775),y=n(87008),g=n(51702),m=n(90333),v=n(73012),b=n(8187),_=n(98392),w=function(t,e){return t.getAnchorKey()===e||t.getFocusKey()===e},S=function(t){var e,n;function r(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return a(i(e=t.call.apply(t,[this].concat(r))||this),"_node",void 0),e}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var S=r.prototype;return S.shouldComponentUpdate=function(t){return this.props.block!==t.block||this.props.tree!==t.tree||this.props.direction!==t.direction||w(t.selection,t.block.getKey())&&t.forceSelection},S.componentDidMount=function(){if(!this.props.preventScroll){var t=this.props.selection,e=t.getEndKey();if(t.getHasFocus()&&e===this.props.block.getKey()){var n=this._node;if(null!=n){var r,o=p.getScrollParent(n),i=g(o);if(o===window){var a=y(n);(r=a.y+a.height-m().height)>0&&window.scrollTo(i.x,i.y+r+10)}else b(n)||v(!1),(r=n.offsetHeight+n.offsetTop-(o.offsetTop+o.offsetHeight+i.y))>0&&l.setTop(o,l.getTop(o)+r+10)}}}},S._renderChildren=function(){var t=this,e=this.props.block,n=e.getKey(),r=e.getText(),i=this.props.tree.size-1,a=w(this.props.selection,n);return this.props.tree.map((function(l,p){var h=l.get("leaves");if(0===h.size)return null;var y=h.size-1,g=h.map((function(o,l){var f=c.encode(n,p,l),d=o.get("start"),h=o.get("end");return u.createElement(s,{key:f,offsetKey:f,block:e,start:d,selection:a?t.props.selection:null,forceSelection:t.props.forceSelection,text:r.slice(d,h),styleSet:e.getInlineStyleAt(d),customStyleMap:t.props.customStyleMap,customStyleFn:t.props.customStyleFn,isLast:p===i&&l===y})})).toArray(),m=l.get("decoratorKey");if(null==m)return g;if(!t.props.decorator)return g;var v=_(t.props.decorator),b=v.getComponentForKey(m);if(!b)return g;var w=v.getPropsForKey(m),S=c.encode(n,p,0),M=h.first().get("start"),E=h.last().get("end"),x=r.slice(M,E),k=e.getEntityAt(l.get("start")),C=d.getHTMLDirIfDifferent(f.getDirection(x),t.props.direction),j={contentState:t.props.contentState,decoratedText:x,dir:C,start:M,end:E,blockKey:n,entityKey:k,offsetKey:S};return u.createElement(b,o({},w,j,{key:S}),g)})).toArray()},S.render=function(){var t=this,e=this.props,n=e.direction,r=e.offsetKey,o=h({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return u.createElement("div",{"data-offset-key":r,className:o,ref:function(e){return t._node=e}},this._renderChildren())},r}(u.Component);t.exports=S},99902:(t,e,n)=>{"use strict";var r=n(54516);function o(){return o=r||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o.apply(this,arguments)}function i(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){s(t,e,n[e])}))}return t}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var c=n(36215),u=n(33638),l=n(1024),p=n(31675),f=n(99986),d=n(87008),h=n(51702),y=n(90333),g=n(18489),m=n(73012),v=n(8187),b=(g.List,function(t,e){return t.getAnchorKey()===e||t.getFocusKey()===e}),_=function(t,e){var n=e.get(t.getType())||e.get("unstyled"),r=n.wrapper;return{Element:n.element||e.get("unstyled").element,wrapperTemplate:r}},w=function(t,e){var n=e(t);return n?{CustomComponent:n.component,customProps:n.props,customEditable:n.editable}:{}},S=function(t,e,n,r,o,i){var s={"data-block":!0,"data-editor":e,"data-offset-key":n,key:t.getKey(),ref:i},c=r(t);return c&&(s.className=c),void 0!==o.customEditable&&(s=a({},s,{contentEditable:o.customEditable,suppressContentEditableWarning:!0})),s},M=function(t){var e,n;function r(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return s(i(e=t.call.apply(t,[this].concat(r))||this),"wrapperRef",l.createRef()),e}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var g=r.prototype;return g.shouldComponentUpdate=function(t){var e=this.props,n=e.block,r=e.direction,o=e.tree,i=!n.getChildKeys().isEmpty(),a=n!==t.block||o!==t.tree||r!==t.direction||b(t.selection,t.block.getKey())&&t.forceSelection;return i||a},g.componentDidMount=function(){var t=this.props.selection,e=t.getEndKey();if(t.getHasFocus()&&e===this.props.block.getKey()){var n=this.wrapperRef.current;if(n){var r,o=f.getScrollParent(n),i=h(o);if(o===window){var a=d(n);(r=a.y+a.height-y().height)>0&&window.scrollTo(i.x,i.y+r+10)}else{v(n)||m(!1);var s=n;(r=s.offsetHeight+s.offsetTop-(o.offsetHeight+i.y))>0&&p.setTop(o,p.getTop(o)+r+10)}}}},g.render=function(){var t=this,e=this.props,n=e.block,i=e.blockRenderMap,s=e.blockRendererFn,p=e.blockStyleFn,f=e.contentState,d=e.decorator,h=e.editorKey,y=e.editorState,g=e.customStyleFn,m=e.customStyleMap,v=e.direction,M=e.forceSelection,E=e.selection,x=e.tree,k=null;n.children.size&&(k=n.children.reduce((function(e,n){var o=u.encode(n,0,0),c=f.getBlockForKey(n),d=w(c,s),g=d.CustomComponent||r,m=_(c,i),v=m.Element,b=m.wrapperTemplate,M=S(c,h,o,p,d,null),E=a({},t.props,{tree:y.getBlockTree(n),blockProps:d.customProps,offsetKey:o,block:c});return e.push(l.createElement(v,M,l.createElement(g,E))),!b||function(t,e){var n=t.getNextSiblingKey();return!!n&&e.getBlockForKey(n).getType()===t.getType()}(c,f)||function(t,e,n){var r=[],o=!0,i=!1,a=void 0;try{for(var s,c=n.reverse()[Symbol.iterator]();!(o=(s=c.next()).done);o=!0){var p=s.value;if(p.type!==e)break;r.push(p)}}catch(t){i=!0,a=t}finally{try{o||null==c.return||c.return()}finally{if(i)throw a}}n.splice(n.indexOf(r[0]),r.length+1);var f=r.reverse(),d=f[0].key;n.push(l.cloneElement(t,{key:"".concat(d,"-wrap"),"data-offset-key":u.encode(d,0,0)},f))}(b,v,e),e}),[]));var C=n.getKey(),j=u.encode(C,0,0),D=w(n,s),O=D.CustomComponent,I=null!=O?l.createElement(O,o({},this.props,{tree:y.getBlockTree(C),blockProps:D.customProps,offsetKey:j,block:n})):l.createElement(c,{block:n,children:k,contentState:f,customStyleFn:g,customStyleMap:m,decorator:d,direction:v,forceSelection:M,hasSelection:b(E,C),selection:E,tree:x});if(n.getParentKey())return I;var L=_(n,i).Element,N=S(n,h,j,p,D,this.wrapperRef);return l.createElement(L,N,I)},r}(l.Component);t.exports=M},3431:(t,e,n)=>{"use strict";var r=n(74241),o=n(84055),i=n(33638),a=n(46238),s=n(7482),c=n(91355),u=n(31611),l=n(23357),p=n(62263),f=n(34483),d=n(98392),h=c.isBrowser("IE"),y=!1,g=!1,m=null,v={onCompositionStart:function(t){g=!0,function(t){m||(m=new r(l(t))).start()}(t)},onCompositionEnd:function(t){y=!1,g=!1,setTimeout((function(){y||v.resolveComposition(t)}),20)},onSelect:u,onKeyDown:function(t,e){if(!g)return v.resolveComposition(t),void t._onKeyDown(e);e.which!==s.RIGHT&&e.which!==s.LEFT||e.preventDefault()},onKeyPress:function(t,e){e.which===s.RETURN&&e.preventDefault()},resolveComposition:function(t){if(!g){var e=d(m).stopAndFlushMutations();m=null,y=!0;var n=a.set(t._latestEditorState,{inCompositionMode:!1});if(t.exitCurrentMode(),e.size){var r=n.getCurrentContent();e.forEach((function(t,e){var s=i.decode(e),c=s.blockKey,u=s.decoratorKey,l=s.leafKey,p=n.getBlockTree(c).getIn([u,"leaves",l]),d=p.start,h=p.end,y=n.getSelection().merge({anchorKey:c,focusKey:c,anchorOffset:d,focusOffset:h,isBackward:!1}),g=f(r,y),m=r.getBlockForKey(c).getInlineStyleAt(d);r=o.replaceText(r,y,t,m,g),n=a.set(n,{currentContent:r})}));var s=p(n,l(t)).selectionState;t.restoreEditorDOM();var c=h?a.forceSelection(n,s):a.acceptSelection(n,s);t.update(a.push(c,r,"insert-characters"))}else t.update(n)}}};t.exports=v},60944:(t,e,n)=>{"use strict";var r=n(54516);function o(){return o=r||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o.apply(this,arguments)}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){a(t,e,n[e])}))}return t}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var s=n(84030),c=n(33638),u=n(1024),l=n(2775),p=n(52433),f=n(98392),d=function(t,e,n,r){return l({"public/DraftStyleDefault/unorderedListItem":"unordered-list-item"===t,"public/DraftStyleDefault/orderedListItem":"ordered-list-item"===t,"public/DraftStyleDefault/reset":n,"public/DraftStyleDefault/depth0":0===e,"public/DraftStyleDefault/depth1":1===e,"public/DraftStyleDefault/depth2":2===e,"public/DraftStyleDefault/depth3":3===e,"public/DraftStyleDefault/depth4":e>=4,"public/DraftStyleDefault/listLTR":"LTR"===r,"public/DraftStyleDefault/listRTL":"RTL"===r})},h=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=r.prototype;return a.shouldComponentUpdate=function(t){var e=this.props.editorState,n=t.editorState;if(e.getDirectionMap()!==n.getDirectionMap())return!0;if(e.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var r=n.getNativelyRenderedContent(),o=e.isInCompositionMode(),i=n.isInCompositionMode();if(e===n||null!==r&&n.getCurrentContent()===r||o&&i)return!1;var a=e.getCurrentContent(),s=n.getCurrentContent(),c=e.getDecorator(),u=n.getDecorator();return o!==i||a!==s||c!==u||n.mustForceSelection()},a.render=function(){for(var t=this.props,e=t.blockRenderMap,n=t.blockRendererFn,r=t.blockStyleFn,a=t.customStyleMap,l=t.customStyleFn,h=t.editorState,y=t.editorKey,g=t.preventScroll,m=t.textDirectionality,v=h.getCurrentContent(),b=h.getSelection(),_=h.mustForceSelection(),w=h.getDecorator(),S=f(h.getDirectionMap()),M=v.getBlocksAsArray(),E=[],x=null,k=null,C=0;C<M.length;C++){var j=M[C],D=j.getKey(),O=j.getType(),I=n(j),L=void 0,N=void 0,A=void 0;I&&(L=I.component,N=I.props,A=I.editable);var T=m||S.get(D),z=c.encode(D,0,0),R={contentState:v,block:j,blockProps:N,blockStyleFn:r,customStyleMap:a,customStyleFn:l,decorator:w,direction:T,forceSelection:_,offsetKey:z,preventScroll:g,selection:b,tree:h.getBlockTree(D)},P=e.get(O)||e.get("unstyled"),B=P.wrapper,F=P.element||e.get("unstyled").element,U=j.getDepth(),K="";r&&(K=r(j)),"li"===F&&(K=p(K,d(O,U,k!==B||null===x||U>x,T)));var H=L||s,q={className:K,"data-block":!0,"data-editor":y,"data-offset-key":z,key:D};void 0!==A&&(q=i({},q,{contentEditable:A,suppressContentEditableWarning:!0}));var Y=u.createElement(F,q,u.createElement(H,o({},R,{key:D})));E.push({block:Y,wrapperTemplate:B,key:D,offsetKey:z}),x=B?j.getDepth():null,k=B}for(var W=[],Q=0;Q<E.length;){var Z=E[Q];if(Z.wrapperTemplate){var V=[];do{V.push(E[Q].block),Q++}while(Q<E.length&&E[Q].wrapperTemplate===Z.wrapperTemplate);var G=u.cloneElement(Z.wrapperTemplate,{key:Z.key+"-wrap","data-offset-key":Z.offsetKey},V);W.push(G)}else W.push(Z.block),Q++}return u.createElement("div",{"data-contents":"true"},W)},r}(u.Component);t.exports=h},10989:(t,e,n)=>{"use strict";var r=n(27936)("draft_tree_data_support");t.exports=n(r?71435:60944)},71435:(t,e,n)=>{"use strict";var r=n(54516);function o(){return o=r||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o.apply(this,arguments)}var i=n(99902),a=n(33638),s=n(1024),c=n(98392),u=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var u=r.prototype;return u.shouldComponentUpdate=function(t){var e=this.props.editorState,n=t.editorState;if(e.getDirectionMap()!==n.getDirectionMap())return!0;if(e.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var r=n.getNativelyRenderedContent(),o=e.isInCompositionMode(),i=n.isInCompositionMode();if(e===n||null!==r&&n.getCurrentContent()===r||o&&i)return!1;var a=e.getCurrentContent(),s=n.getCurrentContent(),c=e.getDecorator(),u=n.getDecorator();return o!==i||a!==s||c!==u||n.mustForceSelection()},u.render=function(){for(var t=this.props,e=t.blockRenderMap,n=t.blockRendererFn,r=t.blockStyleFn,u=t.customStyleMap,l=t.customStyleFn,p=t.editorState,f=t.editorKey,d=t.textDirectionality,h=p.getCurrentContent(),y=p.getSelection(),g=p.mustForceSelection(),m=p.getDecorator(),v=c(p.getDirectionMap()),b=[],_=h.getBlocksAsArray()[0];_;){var w=_.getKey(),S={blockRenderMap:e,blockRendererFn:n,blockStyleFn:r,contentState:h,customStyleFn:l,customStyleMap:u,decorator:m,editorKey:f,editorState:p,forceSelection:g,selection:y,block:_,direction:d||v.get(w),tree:p.getBlockTree(w)},M=(e.get(_.getType())||e.get("unstyled")).wrapper;b.push({block:s.createElement(i,o({key:w},S)),wrapperTemplate:M,key:w,offsetKey:a.encode(w,0,0)});var E=_.getNextSiblingKey();_=E?h.getBlockForKey(E):null}for(var x=[],k=0;k<b.length;){var C=b[k];if(C.wrapperTemplate){var j=[];do{j.push(b[k].block),k++}while(k<b.length&&b[k].wrapperTemplate===C.wrapperTemplate);var D=s.cloneElement(C.wrapperTemplate,{key:C.key+"-wrap","data-offset-key":C.offsetKey},j);x.push(D)}else x.push(C.block),k++}return s.createElement("div",{"data-contents":"true"},x)},r}(s.Component);t.exports=u},75937:(t,e,n)=>{"use strict";var r=n(54516);function o(){return o=r||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o.apply(this,arguments)}var i=n(33638),a=n(1024),s=n(35796),c=n(11021),u=function(t){var e,n;function r(){return t.apply(this,arguments)||this}return n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,r.prototype.render=function(){var t=this.props,e=t.block,n=t.children,r=t.contentState,u=t.decorator,l=t.decoratorKey,p=t.direction,f=t.leafSet,d=t.text,h=e.getKey(),y=f.get("leaves"),g=u.getComponentForKey(l),m=u.getPropsForKey(l),v=i.encode(h,parseInt(l,10),0),b=d.slice(y.first().get("start"),y.last().get("end")),_=c.getHTMLDirIfDifferent(s.getDirection(b),p);return a.createElement(g,o({},m,{contentState:r,decoratedText:b,dir:_,key:v,entityKey:e.getEntityAt(f.get("start")),offsetKey:v}),n)},r}(a.Component);t.exports=u},83567:(t,e,n)=>{"use strict";var r=n(97880),o=n(84055),i=n(46238),a=n(59321),s=n(45653),c=n(26288),u=n(39433),l=n(52868),p=n(5218),f=n(98392),d={onDragEnd:function(t){t.exitCurrentMode(),h(t)},onDrop:function(t,e){var n=new r(e.nativeEvent.dataTransfer),l=t._latestEditorState,d=function(t,e){var n=null,r=null,o=s(t.currentTarget);if("function"==typeof o.caretRangeFromPoint){var i=o.caretRangeFromPoint(t.x,t.y);n=i.startContainer,r=i.startOffset}else{if(!t.rangeParent)return null;n=t.rangeParent,r=t.rangeOffset}n=f(n),r=f(r);var c=f(a(n));return u(e,c,r,c,r)}(e.nativeEvent,l);if(e.preventDefault(),t._dragCount=0,t.exitCurrentMode(),null!=d){var g=n.getFiles();if(g.length>0){if(t.props.handleDroppedFiles&&p(t.props.handleDroppedFiles(d,g)))return;c(g,(function(e){e&&t.update(y(l,d,e))}))}else{var m=t._internalDrag?"internal":"external";t.props.handleDrop&&p(t.props.handleDrop(d,n,m))||(t._internalDrag?t.update(function(t,e){var n=o.moveText(t.getCurrentContent(),t.getSelection(),e);return i.push(t,n,"insert-fragment")}(l,d)):t.update(y(l,d,n.getText()))),h(t)}}}};function h(t){t._internalDrag=!1;var e=t.editorContainer;if(e){var n=new MouseEvent("mouseup",{view:l(e),bubbles:!0,cancelable:!0});e.dispatchEvent(n)}}function y(t,e,n){var r=o.insertText(t.getCurrentContent(),e,n,t.getCurrentInlineStyle());return i.push(t,r,"insert-fragment")}t.exports=d},49199:(t,e,n)=>{"use strict";var r=n(91355),o=n(8658),i=n(5976),a=n(70410),s=n(3248),c=n(46811),u=n(98451),l=n(15160),p=n(45313),f=n(73078),d=n(63194),h=n(88924),y=n(31611),g=r.isBrowser("Chrome"),m=r.isBrowser("Firefox"),v=g||m?y:function(t){},b={onBeforeInput:o,onBlur:i,onCompositionStart:a,onCopy:s,onCut:c,onDragOver:u,onDragStart:l,onFocus:p,onInput:f,onKeyDown:d,onPaste:h,onSelect:y,onMouseUp:v,onKeyUp:v};t.exports=b},823:(t,e,n)=>{"use strict";var r=n(30314).unstable_flushControlled;t.exports=r},15267:(t,e,n)=>{"use strict";var r=n(54516);function o(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var a=n(46544),s=n(1024),c=n(73012),u=n(78659),l=n(46064).setDraftEditorSelection,p=function(t){var e,n;function p(){for(var e,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return i(o(e=t.call.apply(t,[this].concat(r))||this),"leaf",void 0),e}n=t,(e=p).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var f=p.prototype;return f._setSelection=function(){var t=this.props.selection;if(null!=t&&t.getHasFocus()){var e=this.props,n=e.block,r=e.start,o=e.text,i=n.getKey(),a=r+o.length;if(t.hasEdgeWithin(i,r,a)){var s=this.leaf;s||c(!1);var p,f=s.firstChild;f||c(!1),f.nodeType===Node.TEXT_NODE?p=f:u(f)?p=s:(p=f.firstChild)||c(!1),l(t,p,i,r,a)}}},f.shouldComponentUpdate=function(t){var e=this.leaf;return e||c(!1),e.textContent!==t.text||t.styleSet!==this.props.styleSet||t.forceSelection},f.componentDidUpdate=function(){this._setSelection()},f.componentDidMount=function(){this._setSelection()},f.render=function(){var t=this,e=this.props.block,n=this.props.text;n.endsWith("\n")&&this.props.isLast&&(n+="\n");var o=this.props,i=o.customStyleMap,c=o.customStyleFn,u=o.offsetKey,l=o.styleSet,p=l.reduce((function(t,e){var n={},o=i[e];return void 0!==o&&t.textDecoration!==o.textDecoration&&(n.textDecoration=[t.textDecoration,o.textDecoration].join(" ").trim()),r(t,o,n)}),{});if(c){var f=c(l,e);p=r(p,f)}return s.createElement("span",{"data-offset-key":u,ref:function(e){return t.leaf=e},style:p},s.createElement(a,null,n))},p}(s.Component);t.exports=p},36215:(t,e,n)=>{"use strict";var r=n(75937),o=n(15267),i=n(33638),a=n(18489),s=n(1024),c=n(2775),u=(a.List,function(t){var e,n;function a(){return t.apply(this,arguments)||this}return n=t,(e=a).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,a.prototype.render=function(){var t=this.props,e=t.block,n=t.contentState,a=t.customStyleFn,u=t.customStyleMap,l=t.decorator,p=t.direction,f=t.forceSelection,d=t.hasSelection,h=t.selection,y=t.tree,g=e.getKey(),m=e.getText(),v=y.size-1,b=this.props.children||y.map((function(t,c){var y=t.get("decoratorKey"),b=t.get("leaves"),_=b.size-1,w=b.map((function(t,n){var r=i.encode(g,c,n),l=t.get("start"),p=t.get("end");return s.createElement(o,{key:r,offsetKey:r,block:e,start:l,selection:d?h:null,forceSelection:f,text:m.slice(l,p),styleSet:e.getInlineStyleAt(l),customStyleMap:u,customStyleFn:a,isLast:y===v&&n===_})})).toArray();return y&&l?s.createElement(r,{block:e,children:w,contentState:n,decorator:l,decoratorKey:y,direction:p,leafSet:t,text:m,key:c}):w})).toArray();return s.createElement("div",{"data-offset-key":i.encode(g,0,0),className:c({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===p,"public/DraftStyleDefault/rtl":"RTL"===p})},b)},a}(s.Component));t.exports=u},20398:(t,e,n)=>{"use strict";var r=n(1024),o=n(2775),i=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=i.prototype;return a.shouldComponentUpdate=function(t){return this.props.text!==t.text||this.props.editorState.getSelection().getHasFocus()!==t.editorState.getSelection().getHasFocus()},a.render=function(){var t=this.props.editorState.getSelection().getHasFocus(),e=o({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":t});return r.createElement("div",{className:e},r.createElement("div",{className:o("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},i}(r.Component);t.exports=i},46544:(t,e,n)=>{"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var i=n(1024),a=n(91355),s=n(73012),c=n(23833),u=a.isBrowser("IE <= 11"),l=function(t){var e,n;function a(e){var n;return o(r(n=t.call(this,e)||this),"_forceFlag",void 0),o(r(n),"_node",void 0),n._forceFlag=!1,n}n=t,(e=a).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var l=a.prototype;return l.shouldComponentUpdate=function(t){var e=this._node,n=""===t.children;c(e)||s(!1);var r=e;return n?!function(t){return u?"\n"===t.textContent:"BR"===t.tagName}(r):r.textContent!==t.children},l.componentDidMount=function(){this._forceFlag=!this._forceFlag},l.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},l.render=function(){var t,e=this;return""===this.props.children?this._forceFlag?(t=function(t){return e._node=t},u?i.createElement("span",{key:"A","data-text":"true",ref:t},"\n"):i.createElement("br",{key:"A","data-text":"true",ref:t})):function(t){return u?i.createElement("span",{key:"B","data-text":"true",ref:t},"\n"):i.createElement("br",{key:"B","data-text":"true",ref:t})}((function(t){return e._node=t})):i.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(t){return e._node=t}},this.props.children)},a}(i.Component);t.exports=l},62599:t=>{"use strict";t.exports={initODS:function(){},handleExtensionCausedError:function(){}}},3031:(t,e,n)=>{"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(91825),i=n(18489),a=n(73012),s=n(44231),c=(0,i.Map)(),u=s();function l(t,e){console.warn("WARNING: "+t+' will be deprecated soon!\nPlease use "'+e+'" instead.')}var p={getLastCreatedEntityKey:function(){return l("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),p.__getLastCreatedEntityKey()},create:function(t,e,n){return l("DraftEntity.create","contentState.createEntity"),p.__create(t,e,n)},add:function(t){return l("DraftEntity.add","contentState.addEntity"),p.__add(t)},get:function(t){return l("DraftEntity.get","contentState.getEntity"),p.__get(t)},__getAll:function(){return c},__loadWithEntities:function(t){c=t,u=s()},mergeData:function(t,e){return l("DraftEntity.mergeData","contentState.mergeEntityData"),p.__mergeData(t,e)},replaceData:function(t,e){return l("DraftEntity.replaceData","contentState.replaceEntityData"),p.__replaceData(t,e)},__getLastCreatedEntityKey:function(){return u},__create:function(t,e,n){return p.__add(new o({type:t,mutability:e,data:n||{}}))},__add:function(t){return u=s(),c=c.set(u,t),u},__get:function(t){var e=c.get(t);return e||a(!1),e},__mergeData:function(t,e){var n=p.__get(t),o=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),o.forEach((function(e){r(t,e,n[e])}))}return t}({},n.getData(),e),i=n.set("data",o);return c=c.set(t,i),i},__replaceData:function(t,e){var n=p.__get(t).set("data",e);return c=c.set(t,n),n}};t.exports=p},91825:(t,e,n)=>{"use strict";var r=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var o=r.prototype;return o.getType=function(){return this.get("type")},o.getMutability=function(){return this.get("mutability")},o.getData=function(){return this.get("data")},r}((0,n(18489).Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object}));t.exports=r},19142:t=>{"use strict";t.exports={getRemovalRange:function(t,e,n,r,o){var i=n.split(" ");i=i.map((function(t,e){if("forward"===o){if(e>0)return" "+t}else if(e<i.length-1)return t+" ";return t}));for(var a,s=r,c=null,u=null,l=0;l<i.length;l++){if(t<(a=s+i[l].length)&&s<e)null!==c||(c=s),u=a;else if(null!==c)break;s=a}var p=r+n.length,f=c===r,d=u===p;return(!f&&d||f&&!d)&&("forward"===o?u!==p&&u++:c!==r&&c--),{start:c,end:u}}}},31532:t=>{"use strict";t.exports={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}}},84055:(t,e,n)=>{"use strict";var r=n(28),o=n(76520),i=n(48932),a=n(3022),s=n(58364),c=n(18489),u=n(14719),l=n(79585),p=n(73012),f=n(37248),d=n(77506),h=n(12269),y=n(70774),g=c.OrderedSet,m={replaceText:function(t,e,n,o,i){var a=d(t,e),s=h(a,e),c=r.create({style:o||g(),entity:i||null});return l(s,s.getSelectionAfter(),n,c)},insertText:function(t,e,n,r,o){return e.isCollapsed()||p(!1),m.replaceText(t,e,n,r,o)},moveText:function(t,e,n){var r=s(t,e),o=m.removeRange(t,e,"backward");return m.replaceWithFragment(o,n,r)},replaceWithFragment:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA",o=d(t,e),i=h(o,e);return u(i,i.getSelectionAfter(),n,r)},removeRange:function(t,e,n){var r,o,i,s;e.getIsBackward()&&(e=e.merge({anchorKey:e.getFocusKey(),anchorOffset:e.getFocusOffset(),focusKey:e.getAnchorKey(),focusOffset:e.getAnchorOffset(),isBackward:!1})),r=e.getAnchorKey(),o=e.getFocusKey(),i=t.getBlockForKey(r),s=t.getBlockForKey(o);var c=e.getStartOffset(),u=e.getEndOffset(),l=i.getEntityAt(c),p=s.getEntityAt(u-1);if(r===o&&l&&l===p){var f=a(t.getEntityMap(),i,s,e,n);return h(t,f)}var y=d(t,e);return h(y,e)},splitBlock:function(t,e){var n=d(t,e),r=h(n,e);return y(r,r.getSelectionAfter())},applyInlineStyle:function(t,e,n){return o.add(t,e,n)},removeInlineStyle:function(t,e,n){return o.remove(t,e,n)},setBlockType:function(t,e,n){return f(t,e,(function(t){return t.merge({type:n,depth:0})}))},setBlockData:function(t,e,n){return f(t,e,(function(t){return t.merge({data:n})}))},mergeBlockData:function(t,e,n){return f(t,e,(function(t){return t.merge({data:t.getData().merge(n)})}))},applyEntity:function(t,e,n){var r=d(t,e);return i(r,e,n)}};t.exports=m},33638:t=>{"use strict";var e="-",n={encode:function(t,n,r){return t+e+n+e+r},decode:function(t){var n=t.split(e).reverse(),r=n[0],o=n[1];return{blockKey:n.slice(2).reverse().join(e),decoratorKey:parseInt(o,10),leafKey:parseInt(r,10)}}};t.exports=n},17605:(t,e,n)=>{"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(39806),i=n(72368),a=n(97614),s=n(84894),c=n(27917),u=n(27936),l=n(18489),p=n(24844),f=l.List,d=l.Repeat,h=u("draft_tree_data_support"),y=h?i:o,g={processHTML:function(t,e){return a(t,c,e)},processText:function(t,e,n){return t.reduce((function(t,o,i){o=p(o);var a=s(),c={key:a,type:n,text:o,characterList:f(d(e,o.length))};if(h&&0!==i){var u=i-1;c=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),o.forEach((function(e){r(t,e,n[e])}))}return t}({},c,{prevSibling:(t[u]=t[u].merge({nextSibling:a})).getKey()})}return t.push(new y(c)),t}),[])}};t.exports=g},81360:(t,e,n)=>{"use strict";var r="\\s|(?![_])"+n(59878).getPunctuation(),o=new RegExp("^(?:"+r+")*(?:['‘’]|(?!"+r+").)*(?:(?!"+r+").)"),i=new RegExp("(?:(?!"+r+").)(?:['‘’]|(?!"+r+").)*(?:"+r+")*$");function a(t,e){var n=e?i.exec(t):o.exec(t);return n?n[0]:t}var s={getBackward:function(t){return a(t,!0)},getForward:function(t){return a(t,!1)}};t.exports=s},56588:t=>{"use strict";var e={stringify:function(t){return"_"+String(t)},unstringify:function(t){return t.slice(1)}};t.exports=e},74645:(t,e,n)=>{"use strict";function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){o(t,e,n[e])}))}return t}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var i=n(84894),a=n(73012),s=function(t){if(!t||!t.type)return!1;var e=t.type;return"unordered-list-item"===e||"ordered-list-item"===e},c={fromRawTreeStateToRawState:function(t){var e=t.blocks,n=[];return Array.isArray(e)||a(!1),Array.isArray(e)&&e.length?(function(t,e){for(var o=[].concat(t).reverse();o.length;){var i=o.pop();l=void 0,l=r({},u=i),s(u)&&(l.depth=l.depth||0,function(t){Array.isArray(t.children)&&(t.children=t.children.map((function(e){return e.type===t.type?r({},e,{depth:(t.depth||0)+1}):e})))}(u),null!=u.children&&u.children.length>0)||(delete l.children,n.push(l));var c=i.children;Array.isArray(c)||a(!1),o=o.concat([].concat(c.reverse()))}var u,l}(e),t.blocks=n,r({},t,{blocks:n})):t},fromRawStateToRawTreeState:function(t){var e=[],n=[];return t.blocks.forEach((function(t){var o=s(t),a=t.depth||0,c=r({},t,{children:[]});if(o){var u=n[0];if(null==u&&0===a)e.push(c);else if(null==u||u.depth<a-1){var l={key:i(),text:"",depth:a-1,type:t.type,children:[],entityRanges:[],inlineStyleRanges:[]};n.unshift(l),1===a?e.push(l):null!=u&&u.children.push(l),l.children.push(c)}else if(u.depth===a-1)u.children.push(c);else{for(;null!=u&&u.depth>=a;)n.shift(),u=n[0];a>0?u.children.push(c):e.push(c)}}else e.push(c)})),r({},t,{blocks:e})}};t.exports=c},54775:(t,e,n)=>{"use strict";n(85806),t.exports={isValidBlock:function(t,e){var n=t.getKey(),r=t.getParentKey();if(null!=r&&!e.get(r).getChildKeys().includes(n))return!1;if(!t.getChildKeys().map((function(t){return e.get(t)})).every((function(t){return t.getParentKey()===n})))return!1;var o=t.getPrevSiblingKey();if(null!=o&&e.get(o).getNextSiblingKey()!==n)return!1;var i=t.getNextSiblingKey();return(null==i||e.get(i).getPrevSiblingKey()===n)&&!(null!==i&&null!==o&&o===i||""!=t.text&&t.getChildKeys().size>0)},isConnectedTree:function(t){var e=t.toArray().filter((function(t){return null==t.getParentKey()&&null==t.getPrevSiblingKey()}));if(1!==e.length)return!1;for(var n=0,r=e.shift().getKey(),o=[];null!=r;){var i=t.get(r),a=i.getChildKeys(),s=i.getNextSiblingKey();if(a.size>0){null!=s&&o.unshift(s);var c=a.map((function(e){return t.get(e)})).find((function(t){return null==t.getPrevSiblingKey()}));if(null==c)return!1;r=c.getKey()}else r=null!=i.getNextSiblingKey()?i.getNextSiblingKey():o.shift();n++}return n===t.size},isValidTree:function(t){var e=this;return!!t.toArray().every((function(n){return e.isValidBlock(n,t)}))&&this.isConnectedTree(t)}}},22976:(t,e,n)=>{"use strict";var r,o=n(90209),i=n(18489),a=n(98392),s=i.OrderedMap,c={getDirectionMap:function(t,e){r?r.reset():r=new o;var n=t.getBlockMap(),c=n.valueSeq().map((function(t){return a(r).getDirection(t.getText())})),u=s(n.keySeq().zip(c));return null!=e&&i.is(e,u)?e:u}};t.exports=c},46238:(t,e,n)=>{"use strict";function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){o(t,e,n[e])}))}return t}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var i=n(39893),a=n(10789),s=n(22976),c=n(69806),u=n(18489),l=u.OrderedSet,p=u.Record,f=u.Stack,d=u.OrderedMap,h=u.List,y=p({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:f(),selection:null,treeMap:null,undoStack:f()}),g=function(){e.createEmpty=function(t){return this.createWithText("",t)},e.createWithText=function(t,n){return e.createWithContent(a.createFromText(t),n)},e.createWithContent=function(t,n){if(0===t.getBlockMap().count())return e.createEmpty(n);var r=t.getBlockMap().first().getKey();return e.create({currentContent:t,undoStack:f(),redoStack:f(),decorator:n||null,selection:c.createEmpty(r)})},e.create=function(t){var n=t.currentContent,o=r({},t,{treeMap:v(n,t.decorator),directionMap:s.getDirectionMap(n)});return new e(new y(o))},e.fromJS=function(t){return new e(new y(r({},t,{directionMap:null!=t.directionMap?d(t.directionMap):t.directionMap,inlineStyleOverride:null!=t.inlineStyleOverride?l(t.inlineStyleOverride):t.inlineStyleOverride,nativelyRenderedContent:null!=t.nativelyRenderedContent?a.fromJS(t.nativelyRenderedContent):t.nativelyRenderedContent,redoStack:null!=t.redoStack?f(t.redoStack.map((function(t){return a.fromJS(t)}))):t.redoStack,selection:null!=t.selection?new c(t.selection):t.selection,treeMap:null!=t.treeMap?d(t.treeMap).map((function(t){return h(t).map((function(t){return i.fromJS(t)}))})):t.treeMap,undoStack:null!=t.undoStack?f(t.undoStack.map((function(t){return a.fromJS(t)}))):t.undoStack,currentContent:a.fromJS(t.currentContent)})))},e.set=function(t,n){return new e(t.getImmutable().withMutations((function(e){var r=e.get("decorator"),o=r;null===n.decorator?o=null:n.decorator&&(o=n.decorator);var a=n.currentContent||t.getCurrentContent();if(o!==r){var s,c=e.get("treeMap");return s=o&&r?function(t,e,n,r,o){return n.merge(e.toSeq().filter((function(e){return r.getDecorations(e,t)!==o.getDecorations(e,t)})).map((function(e){return i.generate(t,e,r)})))}(a,a.getBlockMap(),c,o,r):v(a,o),void e.merge({decorator:o,treeMap:s,nativelyRenderedContent:null})}a!==t.getCurrentContent()&&e.set("treeMap",function(t,e,n,r){var o=t.getCurrentContent().set("entityMap",n),a=o.getBlockMap();return t.getImmutable().get("treeMap").merge(e.toSeq().filter((function(t,e){return t!==a.get(e)})).map((function(t){return i.generate(o,t,r)})))}(t,a.getBlockMap(),a.getEntityMap(),o)),e.merge(n)})))};var t=e.prototype;function e(t){o(this,"_immutable",void 0),this._immutable=t}return t.toJS=function(){return this.getImmutable().toJS()},t.getAllowUndo=function(){return this.getImmutable().get("allowUndo")},t.getCurrentContent=function(){return this.getImmutable().get("currentContent")},t.getUndoStack=function(){return this.getImmutable().get("undoStack")},t.getRedoStack=function(){return this.getImmutable().get("redoStack")},t.getSelection=function(){return this.getImmutable().get("selection")},t.getDecorator=function(){return this.getImmutable().get("decorator")},t.isInCompositionMode=function(){return this.getImmutable().get("inCompositionMode")},t.mustForceSelection=function(){return this.getImmutable().get("forceSelection")},t.getNativelyRenderedContent=function(){return this.getImmutable().get("nativelyRenderedContent")},t.getLastChangeType=function(){return this.getImmutable().get("lastChangeType")},t.getInlineStyleOverride=function(){return this.getImmutable().get("inlineStyleOverride")},e.setInlineStyleOverride=function(t,n){return e.set(t,{inlineStyleOverride:n})},t.getCurrentInlineStyle=function(){var t=this.getInlineStyleOverride();if(null!=t)return t;var e=this.getCurrentContent(),n=this.getSelection();return n.isCollapsed()?function(t,e){var n=e.getStartKey(),r=e.getStartOffset(),o=t.getBlockForKey(n);return r>0?o.getInlineStyleAt(r-1):o.getLength()?o.getInlineStyleAt(0):_(t,n)}(e,n):function(t,e){var n=e.getStartKey(),r=e.getStartOffset(),o=t.getBlockForKey(n);return r<o.getLength()?o.getInlineStyleAt(r):r>0?o.getInlineStyleAt(r-1):_(t,n)}(e,n)},t.getBlockTree=function(t){return this.getImmutable().getIn(["treeMap",t])},t.isSelectionAtStartOfContent=function(){var t=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(t,0,0)},t.isSelectionAtEndOfContent=function(){var t=this.getCurrentContent().getBlockMap().last(),e=t.getLength();return this.getSelection().hasEdgeWithin(t.getKey(),e,e)},t.getDirectionMap=function(){return this.getImmutable().get("directionMap")},e.acceptSelection=function(t,e){return m(t,e,!1)},e.forceSelection=function(t,e){return e.getHasFocus()||(e=e.set("hasFocus",!0)),m(t,e,!0)},e.moveSelectionToEnd=function(t){var n=t.getCurrentContent().getLastBlock(),r=n.getKey(),o=n.getLength();return e.acceptSelection(t,new c({anchorKey:r,anchorOffset:o,focusKey:r,focusOffset:o,isBackward:!1}))},e.moveFocusToEnd=function(t){var n=e.moveSelectionToEnd(t);return e.forceSelection(n,n.getSelection())},e.push=function(t,n,r){var o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(t.getCurrentContent()===n)return t;var i=s.getDirectionMap(n,t.getDirectionMap());if(!t.getAllowUndo())return e.set(t,{currentContent:n,directionMap:i,lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:o,inlineStyleOverride:null});var a=t.getSelection(),c=t.getCurrentContent(),u=t.getUndoStack(),l=n;a!==c.getSelectionAfter()||b(t,r)?(u=u.push(c),l=l.set("selectionBefore",a)):"insert-characters"!==r&&"backspace-character"!==r&&"delete-character"!==r||(l=l.set("selectionBefore",c.getSelectionBefore()));var p=t.getInlineStyleOverride(),d=["adjust-depth","change-block-type","split-block"];-1===d.indexOf(r)&&(p=null);var h={currentContent:l,directionMap:i,undoStack:u,redoStack:f(),lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:o,inlineStyleOverride:p};return e.set(t,h)},e.undo=function(t){if(!t.getAllowUndo())return t;var n=t.getUndoStack(),r=n.peek();if(!r)return t;var o=t.getCurrentContent(),i=s.getDirectionMap(r,t.getDirectionMap());return e.set(t,{currentContent:r,directionMap:i,undoStack:n.shift(),redoStack:t.getRedoStack().push(o),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:o.getSelectionBefore()})},e.redo=function(t){if(!t.getAllowUndo())return t;var n=t.getRedoStack(),r=n.peek();if(!r)return t;var o=t.getCurrentContent(),i=s.getDirectionMap(r,t.getDirectionMap());return e.set(t,{currentContent:r,directionMap:i,undoStack:t.getUndoStack().push(o),redoStack:n.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:r.getSelectionAfter()})},t.getImmutable=function(){return this._immutable},e}();function m(t,e,n){return g.set(t,{selection:e,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function v(t,e){return t.getBlockMap().map((function(n){return i.generate(t,n,e)})).toOrderedMap()}function b(t,e){return e!==t.getLastChangeType()||"insert-characters"!==e&&"backspace-character"!==e&&"delete-character"!==e}function _(t,e){var n=t.getBlockMap().reverse().skipUntil((function(t,n){return n===e})).skip(1).skipUntil((function(t,e){return t.getLength()})).first();return n?n.getInlineStyleAt(n.getLength()-1):l()}t.exports=g},76944:(t,e,n)=>{"use strict";var r=n(91355),o=n(18528),i=r.isPlatform("Mac OS X"),a={isCtrlKeyCommand:function(t){return!!t.ctrlKey&&!t.altKey},isOptionKeyCommand:function(t){return i&&t.altKey},usesMacOSHeuristics:function(){return i},hasCommandModifier:function(t){return i?!!t.metaKey&&!t.altKey:a.isCtrlKeyCommand(t)},isSoftNewlineEvent:o};t.exports=a},28484:()=>{},93626:(t,e,n)=>{"use strict";var r=n(84055),o=n(46238),i=n(17027),a=n(98392),s={currentBlockContainsLink:function(t){var e=t.getSelection(),n=t.getCurrentContent(),r=n.getEntityMap();return n.getBlockForKey(e.getAnchorKey()).getCharacterList().slice(e.getStartOffset(),e.getEndOffset()).some((function(t){var e=t.getEntity();return!!e&&"LINK"===r.__get(e).getType()}))},getCurrentBlockType:function(t){var e=t.getSelection();return t.getCurrentContent().getBlockForKey(e.getStartKey()).getType()},getDataObjectForLinkURL:function(t){return{url:t.toString()}},handleKeyCommand:function(t,e,n){switch(e){case"bold":return s.toggleInlineStyle(t,"BOLD");case"italic":return s.toggleInlineStyle(t,"ITALIC");case"underline":return s.toggleInlineStyle(t,"UNDERLINE");case"code":return s.toggleCode(t);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return s.onBackspace(t);case"delete":case"delete-word":case"delete-to-end-of-block":return s.onDelete(t);default:return null}},insertSoftNewline:function(t){var e=r.insertText(t.getCurrentContent(),t.getSelection(),"\n",t.getCurrentInlineStyle(),null),n=o.push(t,e,"insert-characters");return o.forceSelection(n,e.getSelectionAfter())},onBackspace:function(t){var e=t.getSelection();if(!e.isCollapsed()||e.getAnchorOffset()||e.getFocusOffset())return null;var n=t.getCurrentContent(),r=e.getStartKey(),i=n.getBlockBefore(r);if(i&&"atomic"===i.getType()){var a=n.getBlockMap().delete(i.getKey()),c=n.merge({blockMap:a,selectionAfter:e});if(c!==n)return o.push(t,c,"remove-range")}var u=s.tryToRemoveBlockStyle(t);return u?o.push(t,u,"change-block-type"):null},onDelete:function(t){var e=t.getSelection();if(!e.isCollapsed())return null;var n=t.getCurrentContent(),i=e.getStartKey(),a=n.getBlockForKey(i).getLength();if(e.getStartOffset()<a)return null;var s=n.getBlockAfter(i);if(!s||"atomic"!==s.getType())return null;var c=e.merge({focusKey:s.getKey(),focusOffset:s.getLength()}),u=r.removeRange(n,c,"forward");return u!==n?o.push(t,u,"remove-range"):null},onTab:function(t,e,n){var r=e.getSelection(),a=r.getAnchorKey();if(a!==r.getFocusKey())return e;var s=e.getCurrentContent(),c=s.getBlockForKey(a),u=c.getType();if("unordered-list-item"!==u&&"ordered-list-item"!==u)return e;t.preventDefault();var l=c.getDepth();if(!t.shiftKey&&l===n)return e;var p=i(s,r,t.shiftKey?-1:1,n);return o.push(e,p,"adjust-depth")},toggleBlockType:function(t,e){var n=t.getSelection(),i=n.getStartKey(),s=n.getEndKey(),c=t.getCurrentContent(),u=n;if(i!==s&&0===n.getEndOffset()){var l=a(c.getBlockBefore(s));s=l.getKey(),u=u.merge({anchorKey:i,anchorOffset:n.getStartOffset(),focusKey:s,focusOffset:l.getLength(),isBackward:!1})}if(c.getBlockMap().skipWhile((function(t,e){return e!==i})).reverse().skipWhile((function(t,e){return e!==s})).some((function(t){return"atomic"===t.getType()})))return t;var p=c.getBlockForKey(i).getType()===e?"unstyled":e;return o.push(t,r.setBlockType(c,u,p),"change-block-type")},toggleCode:function(t){var e=t.getSelection(),n=e.getAnchorKey(),r=e.getFocusKey();return e.isCollapsed()||n!==r?s.toggleBlockType(t,"code-block"):s.toggleInlineStyle(t,"CODE")},toggleInlineStyle:function(t,e){var n=t.getSelection(),i=t.getCurrentInlineStyle();if(n.isCollapsed())return o.setInlineStyleOverride(t,i.has(e)?i.remove(e):i.add(e));var a,s=t.getCurrentContent();return a=i.has(e)?r.removeInlineStyle(s,n,e):r.applyInlineStyle(s,n,e),o.push(t,a,"change-inline-style")},toggleLink:function(t,e,n){var i=r.applyEntity(t.getCurrentContent(),e,n);return o.push(t,i,"apply-entity")},tryToRemoveBlockStyle:function(t){var e=t.getSelection(),n=e.getAnchorOffset();if(e.isCollapsed()&&0===n){var o=e.getAnchorKey(),i=t.getCurrentContent(),a=i.getBlockForKey(o).getType(),s=i.getBlockBefore(o);if("code-block"===a&&s&&"code-block"===s.getType()&&0!==s.getLength())return null;if("unstyled"!==a)return r.setBlockType(i,e,"unstyled")}return null}};t.exports=s},70069:(t,e,n)=>{"use strict";var r=n(84055),o=n(46238),i=n(58364),a=n(98392),s=null,c={cut:function(t){var e=t.getCurrentContent(),n=t.getSelection(),c=null;if(n.isCollapsed()){var u=n.getAnchorKey(),l=e.getBlockForKey(u).getLength();if(l===n.getAnchorOffset()){var p=e.getKeyAfter(u);if(null==p)return t;c=n.set("focusKey",p).set("focusOffset",0)}else c=n.set("focusOffset",l)}else c=n;c=a(c),s=i(e,c);var f=r.removeRange(e,c,"forward");return f===e?t:o.push(t,f,"remove-range")},paste:function(t){if(!s)return t;var e=r.replaceWithFragment(t.getCurrentContent(),t.getSelection(),s);return o.push(t,e,"insert-fragment")}};t.exports=c},69806:(t,e,n)=>{"use strict";var r=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var o=r.prototype;return o.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},o.getAnchorKey=function(){return this.get("anchorKey")},o.getAnchorOffset=function(){return this.get("anchorOffset")},o.getFocusKey=function(){return this.get("focusKey")},o.getFocusOffset=function(){return this.get("focusOffset")},o.getIsBackward=function(){return this.get("isBackward")},o.getHasFocus=function(){return this.get("hasFocus")},o.hasEdgeWithin=function(t,e,n){var r=this.getAnchorKey(),o=this.getFocusKey();if(r===o&&r===t){var i=this.getStartOffset(),a=this.getEndOffset();return e<=i&&i<=n||e<=a&&a<=n}if(t!==r&&t!==o)return!1;var s=t===r?this.getAnchorOffset():this.getFocusOffset();return e<=s&&n>=s},o.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},o.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},o.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},o.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},o.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},r.createEmpty=function(t){return new r({anchorKey:t,anchorOffset:0,focusKey:t,focusOffset:0,isBackward:!1,hasFocus:!1})},r}((0,n(18489).Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1}));t.exports=r},17027:t=>{"use strict";t.exports=function(t,e,n,r){var o=e.getStartKey(),i=e.getEndKey(),a=t.getBlockMap(),s=a.toSeq().skipUntil((function(t,e){return e===o})).takeUntil((function(t,e){return e===i})).concat([[i,a.get(i)]]).map((function(t){var e=t.getDepth()+n;return e=Math.max(0,Math.min(e,r)),t.set("depth",e)}));return a=a.merge(s),t.merge({blockMap:a,selectionBefore:e,selectionAfter:e})}},65491:(t,e,n)=>{"use strict";var r=n(28);t.exports=function(t,e,n,o){for(var i=e,a=t.getCharacterList();i<n;)a=a.set(i,r.applyEntity(a.get(i),o)),i++;return t.set("characterList",a)}},48932:(t,e,n)=>{"use strict";var r=n(65491),o=n(18489);t.exports=function(t,e,n){var i=t.getBlockMap(),a=e.getStartKey(),s=e.getStartOffset(),c=e.getEndKey(),u=e.getEndOffset(),l=i.skipUntil((function(t,e){return e===a})).takeUntil((function(t,e){return e===c})).toOrderedMap().merge(o.OrderedMap([[c,i.get(c)]])).map((function(t,e){var o=e===a?s:0,i=e===c?u:t.getLength();return r(t,o,i,n)}));return t.merge({blockMap:i.merge(l),selectionBefore:e,selectionAfter:e})}},40313:(t,e,n)=>{"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(39806),i=n(72368),a=n(56588),s=n(84963),c=n(63384),u=n(73012),l=function(t,e){return{key:t.getKey(),text:t.getText(),type:t.getType(),depth:t.getDepth(),inlineStyleRanges:c(t),entityRanges:s(t,e),data:t.getData().toObject()}};t.exports=function(t){var e={entityMap:{},blocks:[]};return e=function(t,e){var n=e.entityMap,s=[],c={},p={},f=0;return t.getBlockMap().forEach((function(t){t.findEntityRanges((function(t){return null!==t.getEntity()}),(function(e){var r=t.getEntityAt(e),o=a.stringify(r);p[o]||(p[o]=r,n[o]="".concat(f),f++)})),function(t,e,n,a){if(t instanceof o)n.push(l(t,e));else{t instanceof i||u(!1);var s=t.getParentKey(),c=a[t.getKey()]=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),o.forEach((function(e){r(t,e,n[e])}))}return t}({},l(t,e),{children:[]});s?a[s].children.push(c):n.push(c)}}(t,n,s,c)})),{blocks:s,entityMap:n}}(t,e),e=function(t,e){var n=e.blocks,r=e.entityMap,o={};return Object.keys(r).forEach((function(e,n){var r=t.getEntity(a.unstringify(e));o[n]={type:r.getType(),mutability:r.getMutability(),data:r.getData()}})),{blocks:n,entityMap:o}}(t,e),e}},97614:(t,e,n)=>{"use strict";var r;function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){i(t,e,n[e])}))}return t}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var a=n(28),s=n(39806),c=n(72368),u=n(74682),l=n(3031),p=n(2909),f=n(2775),d=n(84894),h=n(27917),y=n(27936),g=n(18489),m=g.List,v=g.Map,b=g.OrderedSet,_=n(19662),w=n(78659),S=n(8187),M=n(9115),E=y("draft_tree_data_support"),x=new RegExp("\r","g"),k=new RegExp("\n","g"),C=new RegExp("^\n","g"),j=new RegExp(" ","g"),D=new RegExp(" ?","g"),O=new RegExp("​?","g"),I=["bold","bolder","500","600","700","800","900"],L=["light","lighter","normal","100","200","300","400"],N=["className","href","rel","target","title"],A=["alt","className","height","src","width"],T=(i(r={},f("public/DraftStyleDefault/depth0"),0),i(r,f("public/DraftStyleDefault/depth1"),1),i(r,f("public/DraftStyleDefault/depth2"),2),i(r,f("public/DraftStyleDefault/depth3"),3),i(r,f("public/DraftStyleDefault/depth4"),4),r),z=v({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),R=function(t){var e={};return t.mapKeys((function(t,n){var r=[n.element];void 0!==n.aliasedElements&&r.push.apply(r,n.aliasedElements),r.forEach((function(n){void 0===e[n]?e[n]=t:"string"==typeof e[n]?e[n]=[e[n],t]:e[n].push(t)}))})),v(e)},P=function(t){return S(t)&&t.style.fontFamily.includes("monospace")?"CODE":null},B=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(T).some((function(n){t.classList.contains(n)&&(e=T[n])})),e},F=function(t){if(!_(t))return!1;var e=t;if(!e.href||"http:"!==e.protocol&&"https:"!==e.protocol&&"mailto:"!==e.protocol&&"tel:"!==e.protocol)return!1;try{return new p(e.href),!0}catch(t){return!1}},U=function(t){if(!M(t))return!1;var e=t;return!(!e.attributes.getNamedItem("src")||!e.attributes.getNamedItem("src").value)},K=function(t,e){if(!S(t))return e;var n=t,r=n.style.fontWeight,o=n.style.fontStyle,i=n.style.textDecoration;return e.withMutations((function(t){I.indexOf(r)>=0?t.add("BOLD"):L.indexOf(r)>=0&&t.remove("BOLD"),"italic"===o?t.add("ITALIC"):"normal"===o&&t.remove("ITALIC"),"underline"===i&&t.add("UNDERLINE"),"line-through"===i&&t.add("STRIKETHROUGH"),"none"===i&&(t.remove("UNDERLINE"),t.remove("STRIKETHROUGH"))}))},H=function(t){return"ul"===t||"ol"===t},q=function(){function t(t,e){i(this,"characterList",m()),i(this,"currentBlockType","unstyled"),i(this,"currentDepth",0),i(this,"currentEntity",null),i(this,"currentText",""),i(this,"wrapper",null),i(this,"blockConfigs",[]),i(this,"contentBlocks",[]),i(this,"entityMap",l),i(this,"blockTypeMap",void 0),i(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=t,this.disambiguate=e}var e=t.prototype;return e.clear=function(){this.characterList=m(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=l,this.wrapper=null,this.contentBlocks=[]},e.addDOMNode=function(t){var e;return this.contentBlocks=[],this.currentDepth=0,(e=this.blockConfigs).push.apply(e,this._toBlockConfigs([t],b())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},e.getContentBlocks=function(){return 0===this.contentBlocks.length&&(E?this._toContentBlocks(this.blockConfigs):this._toFlatContentBlocks(this.blockConfigs)),{contentBlocks:this.contentBlocks,entityMap:this.entityMap}},e._makeBlockConfig=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.key||d(),n=o({key:e,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:m(),prevSibling:null,nextSibling:null,childConfigs:[]},t);return this.characterList=m(),this.currentBlockType="unstyled",this.currentText="",n},e._toBlockConfigs=function(t,e){for(var n=[],r=0;r<t.length;r++){var o=t[r],i=o.nodeName.toLowerCase();if("body"===i||H(i)){this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var a=this.currentDepth,s=this.wrapper;H(i)&&(this.wrapper=i,H(s)&&this.currentDepth++),n.push.apply(n,this._toBlockConfigs(Array.from(o.childNodes),e)),this.currentDepth=a,this.wrapper=s}else{var c=this.blockTypeMap.get(i);if(void 0===c)if("#text"!==i)if("br"!==i)if(U(o))this._addImgNode(o,e);else if(F(o))this._addAnchorNode(o,n,e);else{var u=e;z.has(i)&&(u=u.add(z.get(i))),u=K(o,u);var l=P(o);null!=l&&(u=u.add(l)),n.push.apply(n,this._toBlockConfigs(Array.from(o.childNodes),u))}else this._addBreakNode(o,e);else this._addTextNode(o,e);else{this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var p=this.currentDepth,f=this.wrapper;if(this.wrapper="pre"===i?"pre":this.wrapper,"string"!=typeof c&&(c=this.disambiguate(i,this.wrapper)||c[0]||"unstyled"),!E&&S(o)&&("unordered-list-item"===c||"ordered-list-item"===c)){var h=o;this.currentDepth=B(h,this.currentDepth)}var y=d(),g=this._toBlockConfigs(Array.from(o.childNodes),e);this._trimCurrentText(),n.push(this._makeBlockConfig({key:y,childConfigs:g,type:c})),this.currentDepth=p,this.wrapper=f}}}return n},e._appendText=function(t,e){var n;this.currentText+=t;var r=a.create({style:e,entity:this.currentEntity});this.characterList=(n=this.characterList).push.apply(n,Array(t.length).fill(r))},e._trimCurrentText=function(){var t=this.currentText.length,e=t-this.currentText.trimLeft().length,n=this.currentText.trimRight().length,r=this.characterList.findEntry((function(t){return null!==t.getEntity()}));(e=void 0!==r?Math.min(e,r[0]):e)>(n=void 0!==(r=this.characterList.reverse().findEntry((function(t){return null!==t.getEntity()})))?Math.max(n,t-r[0]):n)?(this.currentText="",this.characterList=m()):(this.currentText=this.currentText.slice(e,n),this.characterList=this.characterList.slice(e,n))},e._addTextNode=function(t,e){var n=t.textContent;""===n.trim()&&"pre"!==this.wrapper&&(n=" "),"pre"!==this.wrapper&&(n=(n=n.replace(C,"")).replace(k," ")),this._appendText(n,e)},e._addBreakNode=function(t,e){w(t)&&this._appendText("\n",e)},e._addImgNode=function(t,e){if(M(t)){var n=t,r={};A.forEach((function(t){var e=n.getAttribute(t);e&&(r[t]=e)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",r),y("draftjs_fix_paste_for_img")?"presentation"!==n.getAttribute("role")&&this._appendText("📷",e):this._appendText("📷",e),this.currentEntity=null}},e._addAnchorNode=function(t,e,n){if(_(t)){var r=t,o={};N.forEach((function(t){var e=r.getAttribute(t);e&&(o[t]=e)})),o.url=new p(r.href).toString(),this.currentEntity=this.entityMap.__create("LINK","MUTABLE",o||{}),e.push.apply(e,this._toBlockConfigs(Array.from(t.childNodes),n)),this.currentEntity=null}},e._toContentBlocks=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=t.length-1,r=0;r<=n;r++){var i=t[r];i.parent=e,i.prevSibling=r>0?t[r-1].key:null,i.nextSibling=r<n?t[r+1].key:null,i.children=m(i.childConfigs.map((function(t){return t.key}))),this.contentBlocks.push(new c(o({},i))),this._toContentBlocks(i.childConfigs,i.key)}},e._hoistContainersInBlockConfigs=function(t){var e=this;return m(t).flatMap((function(t){return"unstyled"!==t.type||""!==t.text?[t]:e._hoistContainersInBlockConfigs(t.childConfigs)}))},e._toFlatContentBlocks=function(t){var e=this;this._hoistContainersInBlockConfigs(t).forEach((function(t){var n=e._extractTextFromBlockConfigs(t.childConfigs),r=n.text,i=n.characterList;e.contentBlocks.push(new s(o({},t,{text:t.text+r,characterList:t.characterList.concat(i)})))}))},e._extractTextFromBlockConfigs=function(t){for(var e=t.length-1,n="",r=m(),o=0;o<=e;o++){var i=t[o];n+=i.text,r=r.concat(i.characterList),""!==n&&"unstyled"!==i.type&&(n+="\n",r=r.push(r.last()));var a=this._extractTextFromBlockConfigs(i.childConfigs);n+=a.text,r=r.concat(a.characterList)}return{text:n,characterList:r}},t}();t.exports=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u,r=e(t=t.trim().replace(x,"").replace(j," ").replace(D,"").replace(O,""));if(!r)return null;var o=R(n),i=function(t,e){return"li"===t?"ol"===e?"ordered-list-item":"unordered-list-item":null};return new q(o,i).addDOMNode(r).getContentBlocks()}},80618:(t,e,n)=>{"use strict";function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){o(t,e,n[e])}))}return t}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var i=n(39806),a=n(72368),s=n(10789),c=n(3031),u=n(74645),l=(n(54775),n(69806)),p=n(68115),f=n(9769),d=n(47413),h=n(84894),y=n(27936),g=n(18489),m=n(73012),v=y("draft_tree_data_support"),b=g.List,_=g.Map,w=g.OrderedMap,S=function(t,e){var n=t.key,r=t.type,o=t.data;return{text:t.text,depth:t.depth||0,type:r||"unstyled",key:n||h(),data:_(o),characterList:M(t,e)}},M=function(t,e){var n=t.text,o=t.entityRanges,i=t.inlineStyleRanges,a=o||[];return p(d(n,i||[]),f(n,a.filter((function(t){return e.hasOwnProperty(t.key)})).map((function(t){return r({},t,{key:e[t.key]})}))))},E=function(t){return r({},t,{key:t.key||h()})},x=function(t,e,n){var o=e.map((function(t){return r({},t,{parentRef:n})}));return t.concat(o.reverse())};t.exports=function(t){Array.isArray(t.blocks)||m(!1);var e=function(t){var e=t.entityMap,n={};return Object.keys(e).forEach((function(t){var r=e[t],o=r.type,i=r.mutability,a=r.data;n[t]=c.__create(o,i,a||{})})),n}(t),n=function(t,e){var n=t.blocks.find((function(t){return Array.isArray(t.children)&&t.children.length>0})),o=v&&!n?u.fromRawStateToRawTreeState(t).blocks:t.blocks;if(!v)return function(t,e){return w(t.map((function(t){var n=new i(S(t,e));return[n.getKey(),n]})))}(n?u.fromRawTreeStateToRawState(t).blocks:o,e);var s=function(t,e){return t.map(E).reduce((function(n,o,i){Array.isArray(o.children)||m(!1);var s=o.children.map(E),c=new a(r({},S(o,e),{prevSibling:0===i?null:t[i-1].key,nextSibling:i===t.length-1?null:t[i+1].key,children:b(s.map((function(t){return t.key})))}));n=n.set(c.getKey(),c);for(var u=x([],s,c);u.length>0;){var l=u.pop(),p=l.parentRef,f=p.getChildKeys(),d=f.indexOf(l.key),h=Array.isArray(l.children);if(!h){h||m(!1);break}var y=l.children.map(E),g=new a(r({},S(l,e),{parent:p.getKey(),children:b(y.map((function(t){return t.key}))),prevSibling:0===d?null:f.get(d-1),nextSibling:d===f.size-1?null:f.get(d+1)}));n=n.set(g.getKey(),g),u=x(u,y,g)}return n}),w())}(o,e);return s}(t,e),o=n.isEmpty()?new l:l.createEmpty(n.first().getKey());return new s({blockMap:n,entityMap:e,selectionBefore:o,selectionAfter:o})}},68115:(t,e,n)=>{"use strict";var r=n(28),o=n(18489).List;t.exports=function(t,e){var n=t.map((function(t,n){var o=e[n];return r.create({style:t,entity:o})}));return o(n)}},9769:(t,e,n)=>{"use strict";var r=n(13820).substr;t.exports=function(t,e){var n=Array(t.length).fill(null);return e&&e.forEach((function(e){for(var o=r(t,0,e.offset).length,i=o+r(t,e.offset,e.length).length,a=o;a<i;a++)n[a]=e.key})),n}},47413:(t,e,n)=>{"use strict";var r=n(13820),o=n(18489).OrderedSet,i=r.substr,a=o();t.exports=function(t,e){var n=Array(t.length).fill(a);return e&&e.forEach((function(e){for(var r=i(t,0,e.offset).length,o=r+i(t,e.offset,e.length).length;r<o;)n[r]=n[r].add(e.style),r++})),n}},50884:t=>{"use strict";t.exports={notEmptyKey:function(t){return null!=t&&""!=t}}},8658:(t,e,n)=>{"use strict";var r=n(84055),o=n(46238),i=n(91355),a=n(34483),s=n(5218),c=n(99322),u=n(98392),l=n(55060),p=i.isBrowser("Firefox");function f(t,e,n,i,a){var s=r.replaceText(t.getCurrentContent(),t.getSelection(),e,n,i);return o.push(t,s,"insert-characters",a)}t.exports=function(t,e){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0);var n=t._latestEditorState,r=e.data;if(r)if(t.props.handleBeforeInput&&s(t.props.handleBeforeInput(r,n,e.timeStamp)))e.preventDefault();else{var i=n.getSelection(),d=i.getStartOffset(),h=i.getAnchorKey();if(!i.isCollapsed())return e.preventDefault(),void t.update(f(n,r,n.getCurrentInlineStyle(),a(n.getCurrentContent(),n.getSelection()),!0));var y,g=f(n,r,n.getCurrentInlineStyle(),a(n.getCurrentContent(),n.getSelection()),!1),m=!1;if(m||(m=c(t._latestCommittedEditorState)),!m){var v=n.getBlockTree(h),b=g.getBlockTree(h);m=v.size!==b.size||v.zip(b).some((function(t){var e=t[0],n=t[1],o=e.get("start"),i=o+(o>=d?r.length:0),a=e.get("end"),s=a+(a>=d?r.length:0),c=n.get("start"),u=n.get("end"),l=n.get("decoratorKey");return e.get("decoratorKey")!==l||e.get("leaves").size!==n.get("leaves").size||i!==c||s!==u||null!=l&&u-c!=a-o}))}if(m||(y=r,m=p&&("'"==y||"/"==y)),m||(m=u(g.getDirectionMap()).get(h)!==u(n.getDirectionMap()).get(h)),m)return e.preventDefault(),g=o.set(g,{forceSelection:!0}),void t.update(g);g=o.set(g,{nativelyRenderedContent:g.getCurrentContent()}),t._pendingStateFromBeforeInput=g,l((function(){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0)}))}}},5976:(t,e,n)=>{"use strict";var r=n(46238),o=n(61530),i=n(16838);t.exports=function(t,e){var n=e.currentTarget.ownerDocument;if(!Boolean(t.props.preserveSelectionOnBlur)&&i(n)===n.body){var a=n.defaultView.getSelection(),s=t.editor;1===a.rangeCount&&o(s,a.anchorNode)&&o(s,a.focusNode)&&a.removeAllRanges()}var c=t._latestEditorState,u=c.getSelection();if(u.getHasFocus()){var l=u.set("hasFocus",!1);t.props.onBlur&&t.props.onBlur(e),t.update(r.acceptSelection(c,l))}}},70410:(t,e,n)=>{"use strict";var r=n(46238);t.exports=function(t,e){t.setMode("composite"),t.update(r.set(t._latestEditorState,{inCompositionMode:!0})),t._onCompositionStart(e)}},3248:(t,e,n)=>{"use strict";var r=n(25057);t.exports=function(t,e){t._latestEditorState.getSelection().isCollapsed()?e.preventDefault():t.setClipboard(r(t._latestEditorState))}},46811:(t,e,n)=>{"use strict";var r=n(84055),o=n(46238),i=n(99986),a=n(25057),s=n(51702),c=n(89836);t.exports=function(t,e){var n,u=t._latestEditorState,l=u.getSelection(),p=e.target;if(l.isCollapsed())e.preventDefault();else{if(c(p)){var f=p;n=s(i.getScrollParent(f))}var d=a(u);t.setClipboard(d),t.setMode("cut"),setTimeout((function(){t.restoreEditorDOM(n),t.exitCurrentMode(),t.update(function(t){var e=r.removeRange(t.getCurrentContent(),t.getSelection(),"forward");return o.push(t,e,"remove-range")}(u))}),0)}}},98451:t=>{"use strict";t.exports=function(t,e){t.setMode("drag"),e.preventDefault()}},15160:t=>{"use strict";t.exports=function(t){t._internalDrag=!0,t.setMode("drag")}},45313:(t,e,n)=>{"use strict";var r=n(46238),o=n(91355);t.exports=function(t,e){var n=t._latestEditorState,i=n.getSelection();if(!i.getHasFocus()){var a=i.set("hasFocus",!0);t.props.onFocus&&t.props.onFocus(e),o.isBrowser("Chrome < 60.0.3081.0")?t.update(r.forceSelection(n,a)):t.update(r.acceptSelection(n,a))}}},73078:(t,e,n)=>{"use strict";var r=n(84055),o=n(33638),i=n(46238),a=n(91355),s=n(50884).notEmptyKey,c=n(59321),u=n(19226),l=n(98392),p=a.isEngine("Gecko");t.exports=function(t,e){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0);var n=t.editor.ownerDocument.defaultView.getSelection(),a=n.anchorNode,f=n.isCollapsed,d=(null==a?void 0:a.nodeType)!==Node.TEXT_NODE&&(null==a?void 0:a.nodeType)!==Node.ELEMENT_NODE;if(null!=a&&!d){if(a.nodeType===Node.TEXT_NODE&&(null!==a.previousSibling||null!==a.nextSibling)){var h=a.parentNode;if(null==h)return;a.nodeValue=h.textContent;for(var y=h.firstChild;null!=y;y=y.nextSibling)y!==a&&h.removeChild(y)}var g=a.textContent,m=t._latestEditorState,v=l(c(a)),b=o.decode(v),_=b.blockKey,w=b.decoratorKey,S=b.leafKey,M=m.getBlockTree(_).getIn([w,"leaves",S]),E=M.start,x=M.end,k=m.getCurrentContent(),C=k.getBlockForKey(_),j=C.getText().slice(E,x);if(g.endsWith("\n\n")&&(g=g.slice(0,-1)),g!==j){var D,O,I,L,N=m.getSelection(),A=N.merge({anchorOffset:E,focusOffset:x,isBackward:!1}),T=C.getEntityAt(E),z=s(T)?k.getEntity(T):null,R="MUTABLE"===(null!=z?z.getMutability():null),P=R?"spellcheck-change":"apply-entity",B=r.replaceText(k,A,g,C.getInlineStyleAt(E),R?C.getEntityAt(E):null);if(p)D=n.anchorOffset,O=n.focusOffset,L=(I=E+Math.min(D,O))+Math.abs(D-O),D=I,O=L;else{var F=g.length-j.length;I=N.getStartOffset(),L=N.getEndOffset(),D=f?L+F:I,O=L+F}var U=B.merge({selectionBefore:k.getSelectionAfter(),selectionAfter:N.merge({anchorOffset:D,focusOffset:O})});t.update(i.push(m,U,P))}else{var K=e.nativeEvent.inputType;if(K){var H=function(t,e){return"deleteContentBackward"===t?u(e):e}(K,m);if(H!==m)return t.restoreEditorDOM(),void t.update(H)}}}}},63194:(t,e,n)=>{"use strict";var r=n(84055),o=n(46238),i=n(76944),a=n(7482),s=n(70069),c=n(91355),u=n(5218),l=n(63453),p=n(29683),f=n(47796),d=n(27380),h=n(24738),y=n(92172),g=n(19226),m=n(35394),v=n(95358),b=n(95649),_=i.isOptionKeyCommand,w=c.isBrowser("Chrome");t.exports=function(t,e){var n=e.which,i=t._latestEditorState;function c(n){var r=t.props[n];return!!r&&(r(e),!0)}switch(n){case a.RETURN:if(e.preventDefault(),t.props.handleReturn&&u(t.props.handleReturn(e,i)))return;break;case a.ESC:if(e.preventDefault(),c("onEscape"))return;break;case a.TAB:if(c("onTab"))return;break;case a.UP:if(c("onUpArrow"))return;break;case a.RIGHT:if(c("onRightArrow"))return;break;case a.DOWN:if(c("onDownArrow"))return;break;case a.LEFT:if(c("onLeftArrow"))return;break;case a.SPACE:w&&_(e)&&e.preventDefault()}var S=t.props.keyBindingFn(e);if(null!=S&&""!==S)if("undo"!==S){if(e.preventDefault(),!t.props.handleKeyCommand||!u(t.props.handleKeyCommand(S,i,e.timeStamp))){var M=function(t,e,n){switch(t){case"redo":return o.redo(e);case"delete":return m(e);case"delete-word":return f(e);case"backspace":return g(e);case"backspace-word":return p(e);case"backspace-to-start-of-line":return l(e,n);case"split-block":return d(e);case"transpose-characters":return v(e);case"move-selection-to-start-of-block":return y(e);case"move-selection-to-end-of-block":return h(e);case"secondary-cut":return s.cut(e);case"secondary-paste":return s.paste(e);default:return e}}(S,i,e);M!==i&&t.update(M)}}else b(e,i,t.update);else if(n===a.SPACE&&w&&_(e)){var E=r.replaceText(i.getCurrentContent(),i.getSelection()," ");t.update(o.push(i,E,"insert-characters"))}}},88924:(t,e,n)=>{"use strict";var r=n(38046),o=n(28),i=n(97880),a=n(84055),s=n(17605),c=n(46238),u=n(93626),l=n(34483),p=n(26288),f=n(5218),d=n(39347);function h(t,e,n){var r=a.replaceWithFragment(t.getCurrentContent(),t.getSelection(),e);return c.push(t,r.set("entityMap",n),"insert-fragment")}t.exports=function(t,e){e.preventDefault();var n=new i(e.clipboardData);if(!n.isRichText()){var y=n.getFiles(),g=n.getText();if(y.length>0){if(t.props.handlePastedFiles&&f(t.props.handlePastedFiles(y)))return;return void p(y,(function(e){if(e=e||g){var n=t._latestEditorState,i=d(e),p=o.create({style:n.getCurrentInlineStyle(),entity:l(n.getCurrentContent(),n.getSelection())}),f=u.getCurrentBlockType(n),h=s.processText(i,p,f),y=r.createFromArray(h),m=a.replaceWithFragment(n.getCurrentContent(),n.getSelection(),y);t.update(c.push(n,m,"insert-fragment"))}}))}}var m=[],v=n.getText(),b=n.getHTML(),_=t._latestEditorState;if(t.props.formatPastedText){var w=t.props.formatPastedText(v,b);v=w.text,b=w.html}if(!t.props.handlePastedText||!f(t.props.handlePastedText(v,b,_))){if(v&&(m=d(v)),!t.props.stripPastedStyles){var S,M=t.getClipboard();if(!t.props.formatPastedText&&n.isRichText()&&M){if(-1!==(null===(S=b)||void 0===S?void 0:S.indexOf(t.getEditorKey()))||1===m.length&&1===M.size&&M.first().getText()===v)return void t.update(h(t._latestEditorState,M))}else if(M&&n.types.includes("com.apple.webarchive")&&!n.types.includes("text/html")&&function(t,e){return t.length===e.size&&e.valueSeq().every((function(e,n){return e.getText()===t[n]}))}(m,M))return void t.update(h(t._latestEditorState,M));if(b){var E=s.processHTML(b,t.props.blockRenderMap);if(E){var x=E.contentBlocks,k=E.entityMap;if(x){var C=r.createFromArray(x);return void t.update(h(t._latestEditorState,C,k))}}}t.setClipboard(null)}if(m.length){var j=o.create({style:_.getCurrentInlineStyle(),entity:l(_.getCurrentContent(),_.getSelection())}),D=u.getCurrentBlockType(_),O=s.processText(m,j,D),I=r.createFromArray(O);t.update(h(t._latestEditorState,I))}}}},31611:(t,e,n)=>{"use strict";var r=n(31532),o=n(46238),i=n(23357),a=n(62263);t.exports=function(t){if(t._blockSelectEvents||t._latestEditorState!==t.props.editorState){if(t._blockSelectEvents){var e=t.props.editorState.getSelection();r.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(e.toJS())})}}else{var n=t.props.editorState,s=a(n,i(t)),c=s.selectionState;c!==n.getSelection()&&(n=s.needsRecovery?o.forceSelection(n,c):o.acceptSelection(n,c),t.update(n))}}},84963:(t,e,n)=>{"use strict";var r=n(56588),o=n(13820).strlen;t.exports=function(t,e){var n=[];return t.findEntityRanges((function(t){return!!t.getEntity()}),(function(i,a){var s=t.getText(),c=t.getEntityAt(i);n.push({offset:o(s.slice(0,i)),length:o(s.slice(i,a)),key:Number(e[r.stringify(c)])})})),n}},63384:(t,e,n)=>{"use strict";var r=n(13820),o=n(90754),i=function(t,e){return t===e},a=function(t){return!!t},s=[];t.exports=function(t){var e=t.getCharacterList().map((function(t){return t.getStyle()})).toList(),n=e.flatten().toSet().map((function(n){return function(t,e,n){var s=[],c=e.map((function(t){return t.has(n)})).toList();return o(c,i,a,(function(e,o){var i=t.getText();s.push({offset:r.strlen(i.slice(0,e)),length:r.strlen(i.slice(e,o)),style:n})})),s}(t,e,n)}));return Array.prototype.concat.apply(s,n.toJS())}},96107:(t,e,n)=>{"use strict";var r=n(13820),o=n(45653),i=n(74468),a=n(73012);function s(t,e){for(var n=1/0,r=1/0,o=-1/0,i=-1/0,a=0;a<t.length;a++){var s=t[a];0!==s.width&&1!==s.width&&(n=Math.min(n,s.top),r=Math.min(r,s.bottom),o=Math.max(o,s.top),i=Math.max(i,s.bottom))}return o<=r&&o-n<e&&i-r<e}function c(t){switch(t.nodeType){case Node.DOCUMENT_TYPE_NODE:return 0;case Node.TEXT_NODE:case Node.PROCESSING_INSTRUCTION_NODE:case Node.COMMENT_NODE:return t.length;default:return t.childNodes.length}}t.exports=function(t){t.collapsed||a(!1);var e=(t=t.cloneRange()).startContainer;1!==e.nodeType&&(e=e.parentNode);var n=function(t){var e=getComputedStyle(t),n=o(t),r=n.createElement("div");r.style.fontFamily=e.fontFamily,r.style.fontSize=e.fontSize,r.style.fontStyle=e.fontStyle,r.style.fontWeight=e.fontWeight,r.style.lineHeight=e.lineHeight,r.style.position="absolute",r.textContent="M";var i=n.body;i||a(!1),i.appendChild(r);var s=r.getBoundingClientRect();return i.removeChild(r),s.height}(e),u=t.endContainer,l=t.endOffset;for(t.setStart(t.startContainer,0);s(i(t),n)&&(u=t.startContainer,l=t.startOffset,u.parentNode||a(!1),t.setStartBefore(u),1!==u.nodeType||"inline"===getComputedStyle(u).display););for(var p=u,f=l-1;;){for(var d=p.nodeValue,h=f;h>=0;h--)if(!(null!=d&&h>0&&r.isSurrogatePair(d,h-1))){if(t.setStart(p,h),!s(i(t),n))break;u=p,l=h}if(-1===h||0===p.childNodes.length)break;f=c(p=p.childNodes[h])}return t.setStart(u,l),t}},59321:(t,e,n)=>{"use strict";var r=n(45653),o=n(6244);t.exports=function(t){for(var e=t;e&&e!==r(t).documentElement;){var n=o(e);if(null!=n)return n;e=e.parentNode}return null}},90754:t=>{"use strict";t.exports=function(t,e,n,r){if(t.size){var o=0;t.reduce((function(t,i,a){return e(t,i)||(n(t)&&r(o,a),o=a),i})),n(t.last())&&r(o,t.count())}}},84894:t=>{"use strict";var e={},n=Math.pow(2,24);t.exports=function(){for(var t;void 0===t||e.hasOwnProperty(t)||!isNaN(+t);)t=Math.floor(Math.random()*n).toString(32);return e[t]=!0,t}},3022:(t,e,n)=>{"use strict";var r=n(19142),o=n(21622),i=n(73012);function a(t,e,n,a,s,c,u){var l=n.getStartOffset(),p=n.getEndOffset(),f=t.__get(s).getMutability(),d=u?l:p;if("MUTABLE"===f)return n;var h=o(e,s).filter((function(t){return d<=t.end&&d>=t.start}));1!=h.length&&i(!1);var y=h[0];if("IMMUTABLE"===f)return n.merge({anchorOffset:y.start,focusOffset:y.end,isBackward:!1});c||(u?p=y.end:l=y.start);var g=r.getRemovalRange(l,p,e.getText().slice(y.start,y.end),y.start,a);return n.merge({anchorOffset:g.start,focusOffset:g.end,isBackward:!1})}t.exports=function(t,e,n,r,o){var i=r.getStartOffset(),s=r.getEndOffset(),c=e.getEntityAt(i),u=n.getEntityAt(s-1);if(!c&&!u)return r;var l=r;if(c&&c===u)l=a(t,e,l,o,c,!0,!0);else if(c&&u){var p=a(t,e,l,o,c,!1,!0),f=a(t,n,l,o,u,!1,!1);l=l.merge({anchorOffset:p.getAnchorOffset(),focusOffset:f.getFocusOffset(),isBackward:!1})}else if(c){var d=a(t,e,l,o,c,!1,!0);l=l.merge({anchorOffset:d.getStartOffset(),isBackward:!1})}else if(u){var h=a(t,n,l,o,u,!1,!1);l=l.merge({focusOffset:h.getEndOffset(),isBackward:!1})}return l}},23357:(t,e,n)=>{"use strict";var r=n(73012),o=n(8187);t.exports=function(t){var e=t.editorContainer;return e||r(!1),o(e.firstChild)||r(!1),e.firstChild}},58364:(t,e,n)=>{"use strict";var r=n(58064),o=n(77506);t.exports=function(t,e){var n=e.getStartKey(),i=e.getStartOffset(),a=e.getEndKey(),s=e.getEndOffset(),c=o(t,e).getBlockMap(),u=c.keySeq(),l=u.indexOf(n),p=u.indexOf(a)+1;return r(c.slice(l,p).map((function(t,e){var r=t.getText(),o=t.getCharacterList();return n===a?t.merge({text:r.slice(i,s),characterList:o.slice(i,s)}):e===n?t.merge({text:r.slice(i),characterList:o.slice(i)}):e===a?t.merge({text:r.slice(0,s),characterList:o.slice(0,s)}):t})))}},45653:t=>{"use strict";t.exports=function(t){return t&&t.ownerDocument?t.ownerDocument:document}},91741:(t,e,n)=>{"use strict";var r=n(76944),o=n(7482),i=n(91355),a=i.isPlatform("Mac OS X"),s=a&&i.isBrowser("Firefox < 29"),c=r.hasCommandModifier,u=r.isCtrlKeyCommand;function l(t){return a&&t.altKey||u(t)}t.exports=function(t){switch(t.keyCode){case 66:return c(t)?"bold":null;case 68:return u(t)?"delete":null;case 72:return u(t)?"backspace":null;case 73:return c(t)?"italic":null;case 74:return c(t)?"code":null;case 75:return a&&u(t)?"secondary-cut":null;case 77:case 79:return u(t)?"split-block":null;case 84:return a&&u(t)?"transpose-characters":null;case 85:return c(t)?"underline":null;case 87:return a&&u(t)?"backspace-word":null;case 89:return u(t)?a?"secondary-paste":"redo":null;case 90:return function(t){return c(t)?t.shiftKey?"redo":"undo":null}(t)||null;case o.RETURN:return"split-block";case o.DELETE:return function(t){return!a&&t.shiftKey?null:l(t)?"delete-word":"delete"}(t);case o.BACKSPACE:return function(t){return c(t)&&a?"backspace-to-start-of-line":l(t)?"backspace-word":"backspace"}(t);case o.LEFT:return s&&c(t)?"move-selection-to-start-of-block":null;case o.RIGHT:return s&&c(t)?"move-selection-to-end-of-block":null;default:return null}}},62263:(t,e,n)=>{"use strict";var r=n(97222);t.exports=function(t,e){var n=e.ownerDocument.defaultView.getSelection(),o=n.anchorNode,i=n.anchorOffset,a=n.focusNode,s=n.focusOffset;return 0===n.rangeCount||null==o||null==a?{selectionState:t.getSelection().set("hasFocus",!1),needsRecovery:!1}:r(t,e,o,i,a,s)}},97222:(t,e,n)=>{"use strict";var r=n(59321),o=n(6244),i=n(39433),a=n(73012),s=n(23833),c=n(98392);function u(t,e,n){var i=e,u=r(i);if(null!=u||t&&(t===i||t.firstChild===i)||a(!1),t===i&&(i=i.firstChild,s(i)||a(!1),"true"!==i.getAttribute("data-contents")&&a(!1),n>0&&(n=i.childNodes.length)),0===n){var p=null;if(null!=u)p=u;else{var f=function(t){for(;t.firstChild&&(s(t.firstChild)&&"true"===t.firstChild.getAttribute("data-blocks")||o(t.firstChild));)t=t.firstChild;return t}(i);p=c(o(f))}return{key:p,offset:0}}var d=i.childNodes[n-1],h=null,y=null;if(o(d)){var g=function(t){for(;t.lastChild&&(s(t.lastChild)&&"true"===t.lastChild.getAttribute("data-blocks")||o(t.lastChild));)t=t.lastChild;return t}(d);h=c(o(g)),y=l(g)}else h=c(u),y=l(d);return{key:h,offset:y}}function l(t){var e=t.textContent;return"\n"===e?0:e.length}t.exports=function(t,e,n,o,a,s){var l=n.nodeType===Node.TEXT_NODE,p=a.nodeType===Node.TEXT_NODE;if(l&&p)return{selectionState:i(t,c(r(n)),o,c(r(a)),s),needsRecovery:!1};var f=null,d=null,h=!0;return l?(f={key:c(r(n)),offset:o},d=u(e,a,s)):p?(d={key:c(r(a)),offset:s},f=u(e,n,o)):(f=u(e,n,o),d=u(e,a,s),n===a&&o===s&&(h=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:i(t,f.key,f.offset,d.key,d.offset),needsRecovery:h}}},34483:(t,e,n)=>{"use strict";var r=n(50884).notEmptyKey;function o(t,e){return r(e)&&"MUTABLE"===t.__get(e).getMutability()?e:null}t.exports=function(t,e){var n;if(e.isCollapsed()){var r=e.getAnchorKey(),i=e.getAnchorOffset();return i>0?(n=t.getBlockForKey(r).getEntityAt(i-1))!==t.getBlockForKey(r).getEntityAt(i)?null:o(t.getEntityMap(),n):null}var a=e.getStartKey(),s=e.getStartOffset(),c=t.getBlockForKey(a);return n=s===c.getLength()?null:c.getEntityAt(s),o(t.getEntityMap(),n)}},25057:(t,e,n)=>{"use strict";var r=n(58364);t.exports=function(t){var e=t.getSelection();return e.isCollapsed()?null:r(t.getCurrentContent(),e)}},2839:(t,e,n)=>{"use strict";var r=n(72368);t.exports=function(t,e){if(!(t instanceof r))return null;var n=t.getNextSiblingKey();if(n)return n;var o=t.getParentKey();if(!o)return null;for(var i=e.get(o);i&&!i.getNextSiblingKey();){var a=i.getParentKey();i=a?e.get(a):null}return i?i.getNextSiblingKey():null}},14723:t=>{"use strict";t.exports=function(t){return Object.keys(t).map((function(e){return t[e]}))}},50959:(t,e,n)=>{"use strict";var r=n(74468);t.exports=function(t){var e=r(t),n=0,o=0,i=0,a=0;if(e.length){if(e.length>1&&0===e[0].width){var s=e[1];n=s.top,o=s.right,i=s.bottom,a=s.left}else{var c=e[0];n=c.top,o=c.right,i=c.bottom,a=c.left}for(var u=1;u<e.length;u++){var l=e[u];0!==l.height&&0!==l.width&&(n=Math.min(n,l.top),o=Math.max(o,l.right),i=Math.max(i,l.bottom),a=Math.min(a,l.left))}}return{top:n,right:o,bottom:i,left:a,width:o-a,height:i-n}}},74468:(t,e,n)=>{"use strict";var r=n(91355),o=n(73012),i=r.isBrowser("Chrome")?function(t){for(var e=t.cloneRange(),n=[],r=t.endContainer;null!=r;r=r.parentNode){var i=r===t.commonAncestorContainer;i?e.setStart(t.startContainer,t.startOffset):e.setStart(e.endContainer,0);var a,s=Array.from(e.getClientRects());if(n.push(s),i)return n.reverse(),(a=[]).concat.apply(a,n);e.setEndBefore(r)}o(!1)}:function(t){return Array.from(t.getClientRects())};t.exports=i},21622:(t,e,n)=>{"use strict";var r=n(73012);t.exports=function(t,e){var n=[];return t.findEntityRanges((function(t){return t.getEntity()===e}),(function(t,e){n.push({start:t,end:e})})),n.length||r(!1),n}},27917:(t,e,n)=>{"use strict";var r=n(91355),o=n(73012),i=r.isBrowser("IE <= 9");t.exports=function(t){var e,n=null;return!i&&document.implementation&&document.implementation.createHTMLDocument&&((e=document.implementation.createHTMLDocument("foo")).documentElement||o(!1),e.documentElement.innerHTML=t,n=e.getElementsByTagName("body")[0]),n}},6244:(t,e,n)=>{"use strict";var r=n(23833);t.exports=function t(e){if(r(e)){var n=e,o=n.getAttribute("data-offset-key");if(o)return o;for(var i=0;i<n.childNodes.length;i++){var a=t(n.childNodes[i]);if(a)return a}}return null}},26288:(t,e,n)=>{"use strict";var r=n(73012),o=/\.textClipping$/,i={"text/plain":!0,"text/html":!0,"text/rtf":!0};t.exports=function(t,e){var a=0,s=[];t.forEach((function(c){!function(t,e){if(!n.g.FileReader||t.type&&!(t.type in i))e("");else{if(""===t.type){var a="";return o.test(t.name)&&(a=t.name.replace(o,"")),void e(a)}var s=new FileReader;s.onload=function(){var t=s.result;"string"!=typeof t&&r(!1),e(t)},s.onerror=function(){e("")},s.readAsText(t)}}(c,(function(n){a++,n&&s.push(n.slice(0,5e3)),a==t.length&&e(s.join("\r"))}))}))}},39433:(t,e,n)=>{"use strict";var r=n(33638),o=n(98392);t.exports=function(t,e,n,i,a){var s=o(t.getSelection());if(!e||!i)return s;var c=r.decode(e),u=c.blockKey,l=t.getBlockTree(u),p=l&&l.getIn([c.decoratorKey,"leaves",c.leafKey]),f=r.decode(i),d=f.blockKey,h=t.getBlockTree(d),y=h&&h.getIn([f.decoratorKey,"leaves",f.leafKey]);if(!p||!y)return s;var g=p.get("start"),m=y.get("start"),v=p?g+n:null,b=y?m+a:null;if(s.getAnchorKey()===u&&s.getAnchorOffset()===v&&s.getFocusKey()===d&&s.getFocusOffset()===b)return s;var _=!1;if(u===d){var w=p.get("end"),S=y.get("end");_=m===g&&S===w?a<n:m<g}else _=t.getCurrentContent().getBlockMap().keySeq().skipUntil((function(t){return t===u||t===d})).first()===d;return s.merge({anchorKey:u,anchorOffset:v,focusKey:d,focusOffset:b,isBackward:_})}},602:(t,e,n)=>{"use strict";var r=n(50959);t.exports=function(t){var e=t.getSelection();if(!e.rangeCount)return null;var n=e.getRangeAt(0),o=r(n),i=o.top,a=o.right,s=o.bottom,c=o.left;return 0===i&&0===a&&0===s&&0===c?null:o}},52868:t=>{"use strict";t.exports=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:window}},27936:t=>{"use strict";t.exports=function(t){return!("undefined"==typeof window||!window.__DRAFT_GKX||!window.__DRAFT_GKX[t])}},14719:(t,e,n)=>{"use strict";var r=n(38046),o=n(72368),i=n(18489),a=n(31226),s=n(73012),c=n(58064),u=i.List,l=function(t,e,n,r,o,i){var s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",c=n.get(o),u=c.getText(),l=c.getCharacterList(),p=o,f=i+r.getText().length,d=null;switch(s){case"MERGE_OLD_DATA_TO_NEW_DATA":d=r.getData().merge(c.getData());break;case"REPLACE_WITH_NEW_DATA":d=r.getData()}var h=c.getType();u&&"unstyled"===h&&(h=r.getType());var y=c.merge({text:u.slice(0,i)+r.getText()+u.slice(i),characterList:a(l,r.getCharacterList(),i),type:h,data:d});return t.merge({blockMap:n.set(o,y),selectionBefore:e,selectionAfter:e.merge({anchorKey:p,anchorOffset:f,focusKey:p,focusOffset:f,isBackward:!1})})},p=function(t,e,n,i,a,s){var c=n.first()instanceof o,l=[],p=i.size,f=n.get(a),d=i.first(),h=i.last(),y=h.getLength(),g=h.getKey(),m=c&&(!f.getChildKeys().isEmpty()||!d.getChildKeys().isEmpty());n.forEach((function(t,e){e===a?(m?l.push(t):l.push(function(t,e,n){var r=t.getText(),o=t.getCharacterList(),i=r.slice(0,e),a=o.slice(0,e),s=n.first();return t.merge({text:i+s.getText(),characterList:a.concat(s.getCharacterList()),type:i?t.getType():s.getType(),data:s.getData()})}(t,s,i)),i.slice(m?0:1,p-1).forEach((function(t){return l.push(t)})),l.push(function(t,e,n){var r=t.getText(),o=t.getCharacterList(),i=r.length,a=r.slice(e,i),s=o.slice(e,i),c=n.last();return c.merge({text:c.getText()+a,characterList:c.getCharacterList().concat(s),data:c.getData()})}(t,s,i))):l.push(t)}));var v=r.createFromArray(l);return c&&(v=function(t,e,n,r){return t.withMutations((function(e){var o=n.getKey(),i=r.getKey(),a=n.getNextSiblingKey(),s=n.getParentKey(),c=function(t,e){var n=t.getKey(),r=t,o=[];for(e.get(n)&&o.push(n);r&&r.getNextSiblingKey();){var i=r.getNextSiblingKey();if(!i)break;o.push(i),r=e.get(i)}return o}(r,t),l=c[c.length-1];if(e.get(i)?(e.setIn([o,"nextSibling"],i),e.setIn([i,"prevSibling"],o)):(e.setIn([o,"nextSibling"],r.getNextSiblingKey()),e.setIn([r.getNextSiblingKey(),"prevSibling"],o)),e.setIn([l,"nextSibling"],a),a&&e.setIn([a,"prevSibling"],l),c.forEach((function(t){return e.setIn([t,"parent"],s)})),s){var p=t.get(s).getChildKeys(),f=p.indexOf(o)+1,d=p.toArray();d.splice.apply(d,[f,0].concat(c)),e.setIn([s,"children"],u(d))}}))}(v,0,f,d)),t.merge({blockMap:v,selectionBefore:e,selectionAfter:e.merge({anchorKey:g,anchorOffset:y,focusKey:g,focusOffset:y,isBackward:!1})})};t.exports=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";e.isCollapsed()||s(!1);var i=t.getBlockMap(),a=c(n),u=e.getStartKey(),f=e.getStartOffset(),d=i.get(u);return d instanceof o&&(d.getChildKeys().isEmpty()||s(!1)),1===a.size?l(t,e,i,a.first(),u,f,r):p(t,e,i,a,u,f)}},31226:t=>{"use strict";t.exports=function(t,e,n){var r=t;if(n===r.count())e.forEach((function(t){r=r.push(t)}));else if(0===n)e.reverse().forEach((function(t){r=r.unshift(t)}));else{var o=r.slice(0,n),i=r.slice(n);r=o.concat(e,i).toList()}return r}},79585:(t,e,n)=>{"use strict";var r=n(18489),o=n(31226),i=n(73012),a=r.Repeat;t.exports=function(t,e,n,r){e.isCollapsed()||i(!1);var s=null;if(null!=n&&(s=n.length),null==s||0===s)return t;var c=t.getBlockMap(),u=e.getStartKey(),l=e.getStartOffset(),p=c.get(u),f=p.getText(),d=p.merge({text:f.slice(0,l)+n+f.slice(l,p.getLength()),characterList:o(p.getCharacterList(),a(r,s).toList(),l)}),h=l+s;return t.merge({blockMap:c.set(u,d),selectionAfter:e.merge({anchorOffset:h,focusOffset:h})})}},23833:t=>{"use strict";t.exports=function(t){return!(!t||!t.ownerDocument)&&t.nodeType===Node.ELEMENT_NODE}},5218:t=>{"use strict";t.exports=function(t){return"handled"===t||!0===t}},19662:(t,e,n)=>{"use strict";var r=n(23833);t.exports=function(t){return!(!t||!t.ownerDocument)&&r(t)&&"A"===t.nodeName}},78659:(t,e,n)=>{"use strict";var r=n(23833);t.exports=function(t){return!(!t||!t.ownerDocument)&&r(t)&&"BR"===t.nodeName}},8187:t=>{"use strict";t.exports=function(t){return!(!t||!t.ownerDocument)&&(t.ownerDocument.defaultView?t instanceof t.ownerDocument.defaultView.HTMLElement:t instanceof HTMLElement)}},9115:(t,e,n)=>{"use strict";var r=n(23833);t.exports=function(t){return!(!t||!t.ownerDocument)&&r(t)&&"IMG"===t.nodeName}},89836:t=>{"use strict";t.exports=function(t){if(!t||!("ownerDocument"in t))return!1;if("ownerDocument"in t){var e=t;if(!e.ownerDocument.defaultView)return e instanceof Node;if(e instanceof e.ownerDocument.defaultView.Node)return!0}return!1}},99322:t=>{"use strict";t.exports=function(t){var e=t.getSelection(),n=e.getAnchorKey(),r=t.getBlockTree(n),o=e.getStartOffset(),i=!1;return r.some((function(t){return o===t.get("start")?(i=!0,!0):o<t.get("end")&&t.get("leaves").some((function(t){var e=t.get("start");return o===e&&(i=!0,!0)}))})),i}},18528:(t,e,n)=>{"use strict";var r=n(7482);t.exports=function(t){return t.which===r.RETURN&&(t.getModifierState("Shift")||t.getModifierState("Alt")||t.getModifierState("Control"))}},63453:(t,e,n)=>{"use strict";var r=n(46238),o=n(96107),i=n(97222),a=n(39443),s=n(26371);t.exports=function(t,e){var n=s(t,(function(t){var n=t.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return a(t,1);var r=e.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return r=o(r),i(t,null,r.endContainer,r.endOffset,r.startContainer,r.startOffset).selectionState}),"backward");return n===t.getCurrentContent()?t:r.push(t,n,"remove-range")}},29683:(t,e,n)=>{"use strict";var r=n(81360),o=n(46238),i=n(39443),a=n(26371);t.exports=function(t){var e=a(t,(function(t){var e=t.getSelection(),n=e.getStartOffset();if(0===n)return i(t,1);var o=e.getStartKey(),a=t.getCurrentContent().getBlockForKey(o).getText().slice(0,n),s=r.getBackward(a);return i(t,s.length||1)}),"backward");return e===t.getCurrentContent()?t:o.push(t,e,"remove-range")}},47796:(t,e,n)=>{"use strict";var r=n(81360),o=n(46238),i=n(95217),a=n(26371);t.exports=function(t){var e=a(t,(function(t){var e=t.getSelection(),n=e.getStartOffset(),o=e.getStartKey(),a=t.getCurrentContent().getBlockForKey(o).getText().slice(n),s=r.getForward(a);return i(t,s.length||1)}),"forward");return e===t.getCurrentContent()?t:o.push(t,e,"remove-range")}},27380:(t,e,n)=>{"use strict";var r=n(84055),o=n(46238);t.exports=function(t){var e=r.splitBlock(t.getCurrentContent(),t.getSelection());return o.push(t,e,"split-block")}},24738:(t,e,n)=>{"use strict";var r=n(46238);t.exports=function(t){var e=t.getSelection(),n=e.getEndKey(),o=t.getCurrentContent().getBlockForKey(n).getLength();return r.set(t,{selection:e.merge({anchorKey:n,anchorOffset:o,focusKey:n,focusOffset:o,isBackward:!1}),forceSelection:!0})}},92172:(t,e,n)=>{"use strict";var r=n(46238);t.exports=function(t){var e=t.getSelection(),n=e.getStartKey();return r.set(t,{selection:e.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})}},19226:(t,e,n)=>{"use strict";var r=n(46238),o=n(13820),i=n(39443),a=n(26371);t.exports=function(t){var e=a(t,(function(t){var e=t.getSelection(),n=t.getCurrentContent(),r=e.getAnchorKey(),a=e.getAnchorOffset(),s=n.getBlockForKey(r).getText()[a-1];return i(t,s?o.getUTF16Length(s,0):1)}),"backward");if(e===t.getCurrentContent())return t;var n=t.getSelection();return r.push(t,e.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")}},35394:(t,e,n)=>{"use strict";var r=n(46238),o=n(13820),i=n(95217),a=n(26371);t.exports=function(t){var e=a(t,(function(t){var e=t.getSelection(),n=t.getCurrentContent(),r=e.getAnchorKey(),a=e.getAnchorOffset(),s=n.getBlockForKey(r).getText()[a];return i(t,s?o.getUTF16Length(s,0):1)}),"forward");if(e===t.getCurrentContent())return t;var n=t.getSelection();return r.push(t,e.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")}},95358:(t,e,n)=>{"use strict";var r=n(84055),o=n(46238),i=n(58364);t.exports=function(t){var e=t.getSelection();if(!e.isCollapsed())return t;var n=e.getAnchorOffset();if(0===n)return t;var a,s,c=e.getAnchorKey(),u=t.getCurrentContent(),l=u.getBlockForKey(c).getLength();if(l<=1)return t;n===l?(a=e.set("anchorOffset",n-1),s=e):s=(a=e.set("focusOffset",n+1)).set("anchorOffset",n+1);var p=i(u,a),f=r.removeRange(u,a,"backward"),d=f.getSelectionAfter(),h=d.getAnchorOffset()-1,y=d.merge({anchorOffset:h,focusOffset:h}),g=r.replaceWithFragment(f,y,p),m=o.push(t,g,"insert-fragment");return o.acceptSelection(m,s)}},95649:(t,e,n)=>{"use strict";var r=n(46238);t.exports=function(t,e,n){var o=r.undo(e);if("spellcheck-change"!==e.getLastChangeType())t.preventDefault(),e.getNativelyRenderedContent()?(n(r.set(e,{nativelyRenderedContent:null})),setTimeout((function(){n(o)}),0)):n(o);else{var i=o.getCurrentContent();n(r.set(o,{nativelyRenderedContent:i}))}}},37248:(t,e,n)=>{"use strict";var r=n(18489).Map;t.exports=function(t,e,n){var o=e.getStartKey(),i=e.getEndKey(),a=t.getBlockMap(),s=a.toSeq().skipUntil((function(t,e){return e===o})).takeUntil((function(t,e){return e===i})).concat(r([[i,a.get(i)]])).map(n);return t.merge({blockMap:a.merge(s),selectionBefore:e,selectionAfter:e})}},58710:(t,e,n)=>{"use strict";var r=n(72368),o=n(2839),i=n(18489),a=n(73012),s=i.OrderedMap,c=i.List,u=function(t,e,n){if(t){var r=e.get(t);r&&e.set(t,n(r))}},l=function(t,e,n,r,o){if(!o)return t;var i="after"===r,a=e.getKey(),s=n.getKey(),l=e.getParentKey(),p=e.getNextSiblingKey(),f=e.getPrevSiblingKey(),d=n.getParentKey(),h=i?n.getNextSiblingKey():s,y=i?s:n.getPrevSiblingKey();return t.withMutations((function(t){u(l,t,(function(t){var e=t.getChildKeys();return t.merge({children:e.delete(e.indexOf(a))})})),u(f,t,(function(t){return t.merge({nextSibling:p})})),u(p,t,(function(t){return t.merge({prevSibling:f})})),u(h,t,(function(t){return t.merge({prevSibling:a})})),u(y,t,(function(t){return t.merge({nextSibling:a})})),u(d,t,(function(t){var e=t.getChildKeys(),n=e.indexOf(s),r=i?n+1:0!==n?n-1:0,o=e.toArray();return o.splice(r,0,a),t.merge({children:c(o)})})),u(a,t,(function(t){return t.merge({nextSibling:h,prevSibling:y,parent:d})}))}))};t.exports=function(t,e,n,i){"replace"===i&&a(!1);var c=n.getKey(),u=e.getKey();u===c&&a(!1);var p=t.getBlockMap(),f=e instanceof r,d=[e],h=p.delete(u);f&&(d=[],h=p.withMutations((function(t){var n=e.getNextSiblingKey(),r=o(e,t);t.toSeq().skipUntil((function(t){return t.getKey()===u})).takeWhile((function(t){var e=t.getKey(),o=e===u,i=n&&e!==n,a=!n&&t.getParentKey()&&(!r||e!==r);return!!(o||i||a)})).forEach((function(e){d.push(e),t.delete(e.getKey())}))})));var y=h.toSeq().takeUntil((function(t){return t===n})),g=h.toSeq().skipUntil((function(t){return t===n})).skip(1),m=d.map((function(t){return[t.getKey(),t]})),v=s();if("before"===i){var b=t.getBlockBefore(c);b&&b.getKey()===e.getKey()&&a(!1),v=y.concat([].concat(m,[[c,n]]),g).toOrderedMap()}else if("after"===i){var _=t.getBlockAfter(c);_&&_.getKey()===u&&a(!1),v=y.concat([[c,n]].concat(m),g).toOrderedMap()}return t.merge({blockMap:l(v,e,n,i,f),selectionBefore:t.getSelectionAfter(),selectionAfter:t.getSelectionAfter().merge({anchorKey:u,focusKey:u})})}},39443:(t,e,n)=>{"use strict";n(85806),t.exports=function(t,e){var n=t.getSelection(),r=t.getCurrentContent(),o=n.getStartKey(),i=n.getStartOffset(),a=o,s=0;if(e>i){var c=r.getKeyBefore(o);null==c?a=o:(a=c,s=r.getBlockForKey(c).getText().length)}else s=i-e;return n.merge({focusKey:a,focusOffset:s,isBackward:!0})}},95217:(t,e,n)=>{"use strict";n(85806),t.exports=function(t,e){var n,r=t.getSelection(),o=r.getStartKey(),i=r.getStartOffset(),a=t.getCurrentContent(),s=o;return e>a.getBlockForKey(o).getText().length-i?(s=a.getKeyAfter(o),n=0):n=i+e,r.merge({focusKey:s,focusOffset:n})}},58064:(t,e,n)=>{"use strict";var r=n(72368),o=n(84894),i=n(18489).OrderedMap;t.exports=function(t){return t.first()instanceof r?function(t){var e,n={};return i(t.withMutations((function(t){t.forEach((function(r,i){var a=r.getKey(),s=r.getNextSiblingKey(),c=r.getPrevSiblingKey(),u=r.getChildKeys(),l=r.getParentKey(),p=o();if(n[a]=p,s&&(t.get(s)?t.setIn([s,"prevSibling"],p):t.setIn([a,"nextSibling"],null)),c&&(t.get(c)?t.setIn([c,"nextSibling"],p):t.setIn([a,"prevSibling"],null)),l&&t.get(l)){var f=t.get(l).getChildKeys();t.setIn([l,"children"],f.set(f.indexOf(r.getKey()),p))}else t.setIn([a,"parent"],null),e&&(t.setIn([e.getKey(),"nextSibling"],p),t.setIn([a,"prevSibling"],n[e.getKey()])),e=t.get(a);u.forEach((function(e){t.get(e)?t.setIn([e,"parent"],p):t.setIn([a,"children"],r.getChildKeys().filter((function(t){return t!==e})))}))}))})).toArray().map((function(t){return[n[t.getKey()],t.set("key",n[t.getKey()])]})))}(t):function(t){return i(t.toArray().map((function(t){var e=o();return[e,t.set("key",e)]})))}(t)}},77506:(t,e,n)=>{"use strict";var r=n(28),o=n(90754),i=n(73012);function a(t,e,n){var a=e.getCharacterList(),s=n>0?a.get(n-1):void 0,c=n<a.count()?a.get(n):void 0,u=s?s.getEntity():void 0,l=c?c.getEntity():void 0;if(l&&l===u&&"MUTABLE"!==t.__get(l).getMutability()){for(var p,f=function(t,e,n){var r;return o(t,(function(t,e){return t.getEntity()===e.getEntity()}),(function(t){return t.getEntity()===e}),(function(t,e){t<=n&&e>=n&&(r={start:t,end:e})})),"object"!=typeof r&&i(!1),r}(a,l,n),d=f.start,h=f.end;d<h;)p=a.get(d),a=a.set(d,r.applyEntity(p,null)),d++;return e.set("characterList",a)}return e}t.exports=function(t,e){var n=t.getBlockMap(),r=t.getEntityMap(),o={},i=e.getStartKey(),s=e.getStartOffset(),c=n.get(i),u=a(r,c,s);u!==c&&(o[i]=u);var l=e.getEndKey(),p=e.getEndOffset(),f=n.get(l);i===l&&(f=u);var d=a(r,f,p);return d!==f&&(o[l]=d),Object.keys(o).length?t.merge({blockMap:n.merge(o),selectionAfter:e}):t.set("selectionAfter",e)}},12269:(t,e,n)=>{"use strict";var r=n(72368),o=n(2839),i=n(18489),a=(i.List,i.Map),s=function(t,e,n){if(t){var r=e.get(t);r&&e.set(t,n(r))}},c=function(t,e){var n=[];if(!t)return n;for(var r=e.get(t);r&&r.getParentKey();){var o=r.getParentKey();o&&n.push(o),r=o?e.get(o):null}return n},u=function(t,e,n){if(!t)return null;for(var r=n.get(t.getKey()).getNextSiblingKey();r&&!e.get(r);)r=n.get(r).getNextSiblingKey()||null;return r},l=function(t,e,n){if(!t)return null;for(var r=n.get(t.getKey()).getPrevSiblingKey();r&&!e.get(r);)r=n.get(r).getPrevSiblingKey()||null;return r};t.exports=function(t,e){if(e.isCollapsed())return t;var n,i=t.getBlockMap(),p=e.getStartKey(),f=e.getStartOffset(),d=e.getEndKey(),h=e.getEndOffset(),y=i.get(p),g=i.get(d),m=y instanceof r,v=[];if(m){var b=g.getChildKeys(),_=c(d,i);g.getNextSiblingKey()&&(v=v.concat(_)),b.isEmpty()||(v=v.concat(_.concat([d]))),v=v.concat(c(o(g,i),i))}n=y===g?function(t,e,n){if(0===e)for(;e<n;)t=t.shift(),e++;else if(n===t.count())for(;n>e;)t=t.pop(),n--;else{var r=t.slice(0,e),o=t.slice(n);t=r.concat(o).toList()}return t}(y.getCharacterList(),f,h):y.getCharacterList().slice(0,f).concat(g.getCharacterList().slice(h));var w=y.merge({text:y.getText().slice(0,f)+g.getText().slice(h),characterList:n}),S=m&&0===f&&0===h&&g.getParentKey()===p&&null==g.getPrevSiblingKey()?a([[p,null]]):i.toSeq().skipUntil((function(t,e){return e===p})).takeUntil((function(t,e){return e===d})).filter((function(t,e){return-1===v.indexOf(e)})).concat(a([[d,null]])).map((function(t,e){return e===p?w:null})),M=i.merge(S).filter((function(t){return!!t}));return m&&y!==g&&(M=function(t,e,n,r){return t.withMutations((function(i){if(s(e.getKey(),i,(function(t){return t.merge({nextSibling:u(t,i,r),prevSibling:l(t,i,r)})})),s(n.getKey(),i,(function(t){return t.merge({nextSibling:u(t,i,r),prevSibling:l(t,i,r)})})),c(e.getKey(),r).forEach((function(t){return s(t,i,(function(t){return t.merge({children:t.getChildKeys().filter((function(t){return i.get(t)})),nextSibling:u(t,i,r),prevSibling:l(t,i,r)})}))})),s(e.getNextSiblingKey(),i,(function(t){return t.merge({prevSibling:e.getPrevSiblingKey()})})),s(e.getPrevSiblingKey(),i,(function(t){return t.merge({nextSibling:u(t,i,r)})})),s(n.getNextSiblingKey(),i,(function(t){return t.merge({prevSibling:l(t,i,r)})})),s(n.getPrevSiblingKey(),i,(function(t){return t.merge({nextSibling:n.getNextSiblingKey()})})),c(n.getKey(),r).forEach((function(t){s(t,i,(function(t){return t.merge({children:t.getChildKeys().filter((function(t){return i.get(t)})),nextSibling:u(t,i,r),prevSibling:l(t,i,r)})}))})),function(t,e){var n=[];if(!t)return n;for(var r=o(t,e);r&&e.get(r);){var i=e.get(r);n.push(r),r=i.getParentKey()?o(i,e):null}return n}(n,r).forEach((function(t){return s(t,i,(function(t){return t.merge({nextSibling:u(t,i,r),prevSibling:l(t,i,r)})}))})),null==t.get(e.getKey())&&null!=t.get(n.getKey())&&n.getParentKey()===e.getKey()&&null==n.getPrevSiblingKey()){var a=e.getPrevSiblingKey();s(n.getKey(),i,(function(t){return t.merge({prevSibling:a})})),s(a,i,(function(t){return t.merge({nextSibling:n.getKey()})}));var p=a?t.get(a):null,f=p?p.getParentKey():null;if(e.getChildKeys().forEach((function(t){s(t,i,(function(t){return t.merge({parent:f})}))})),null!=f){var d=t.get(f);s(f,i,(function(t){return t.merge({children:d.getChildKeys().concat(e.getChildKeys())})}))}s(e.getChildKeys().find((function(e){return null===t.get(e).getNextSiblingKey()})),i,(function(t){return t.merge({nextSibling:e.getNextSiblingKey()})}))}}))}(M,y,g,i)),t.merge({blockMap:M,selectionBefore:e,selectionAfter:e.merge({anchorKey:p,anchorOffset:f,focusKey:p,focusOffset:f,isBackward:!1})})}},26371:(t,e,n)=>{"use strict";var r=n(84055),o=n(27936)("draft_tree_data_support");t.exports=function(t,e,n){var i=t.getSelection(),a=t.getCurrentContent(),s=i,c=i.getAnchorKey(),u=i.getFocusKey(),l=a.getBlockForKey(c);if(o&&"forward"===n&&c!==u)return a;if(i.isCollapsed()){if("forward"===n){if(t.isSelectionAtEndOfContent())return a;if(o&&i.getAnchorOffset()===a.getBlockForKey(c).getLength()){var p=a.getBlockForKey(l.nextSibling);if(!p||0===p.getLength())return a}}else if(t.isSelectionAtStartOfContent())return a;if((s=e(t))===i)return a}return r.removeRange(a,s,n)}},24844:t=>{"use strict";var e=new RegExp("\r","g");t.exports=function(t){return t.replace(e,"")}},46064:(t,e,n)=>{"use strict";var r=n(62599),o=n(31532),i=n(91355),a=n(61530),s=n(16838),c=n(45653),u=n(73012),l=n(23833),p=i.isBrowser("IE");function f(t,e){if(!t)return"[empty]";var n=d(t,e);return n.nodeType===Node.TEXT_NODE?n.textContent:(l(n)||u(!1),n.outerHTML)}function d(t,e){var n=void 0!==e?e(t):[];if(t.nodeType===Node.TEXT_NODE){var r=t.textContent.length;return c(t).createTextNode("[text "+r+(n.length?" | "+n.join(", "):"")+"]")}var o=t.cloneNode();1===o.nodeType&&n.length&&o.setAttribute("data-labels",n.join(", "));for(var i=t.childNodes,a=0;a<i.length;a++)o.appendChild(d(i[a],e));return o}function h(t,e){for(var n=t,r=n;n;){if(l(n)&&r.hasAttribute("contenteditable"))return f(n,e);r=n=n.parentNode}return"Could not find contentEditable parent of node"}function y(t){return null===t.nodeValue?t.childNodes.length:t.nodeValue.length}function g(t,e,n,r){var i=s();if(t.extend&&null!=e&&a(i,e)){n>y(e)&&o.logSelectionStateFailure({anonymizedDom:h(e),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(r.toJS())});var c=e===t.focusNode;try{t.rangeCount>0&&t.extend&&t.extend(e,n)}catch(a){throw o.logSelectionStateFailure({anonymizedDom:h(e,(function(e){var n=[];return e===i&&n.push("active element"),e===t.anchorNode&&n.push("selection anchor node"),e===t.focusNode&&n.push("selection focus node"),n})),extraParams:JSON.stringify({activeElementName:i?i.nodeName:null,nodeIsFocus:e===t.focusNode,nodeWasFocus:c,selectionRangeCount:t.rangeCount,selectionAnchorNodeName:t.anchorNode?t.anchorNode.nodeName:null,selectionAnchorOffset:t.anchorOffset,selectionFocusNodeName:t.focusNode?t.focusNode.nodeName:null,selectionFocusOffset:t.focusOffset,message:a?""+a:null,offset:n},null,2),selectionState:JSON.stringify(r.toJS(),null,2)}),a}}else if(e&&t.rangeCount>0){var u=t.getRangeAt(0);u.setEnd(e,n),t.addRange(u.cloneRange())}}function m(t,e,n,i){var a=c(e).createRange();if(n>y(e)&&(o.logSelectionStateFailure({anonymizedDom:h(e),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(i.toJS())}),r.handleExtensionCausedError()),a.setStart(e,n),p)try{t.addRange(a)}catch(t){}else t.addRange(a)}t.exports={setDraftEditorSelection:function(t,e,n,r,o){var i=c(e);if(a(i.documentElement,e)){var s=i.defaultView.getSelection(),u=t.getAnchorKey(),l=t.getAnchorOffset(),p=t.getFocusKey(),f=t.getFocusOffset(),d=t.getIsBackward();if(!s.extend&&d){var h=u,y=l;u=p,l=f,p=h,f=y,d=!1}var v=u===n&&r<=l&&o>=l,b=p===n&&r<=f&&o>=f;if(v&&b)return s.removeAllRanges(),m(s,e,l-r,t),void g(s,e,f-r,t);if(d){if(b&&(s.removeAllRanges(),m(s,e,f-r,t)),v){var _=s.focusNode,w=s.focusOffset;s.removeAllRanges(),m(s,e,l-r,t),g(s,_,w,t)}}else v&&(s.removeAllRanges(),m(s,e,l-r,t)),b&&g(s,e,f-r,t)}},addFocusToSelection:g}},70774:(t,e,n)=>{"use strict";var r=n(72368),o=n(84894),i=n(18489),a=n(73012),s=n(37248),c=i.List,u=i.Map,l=function(t,e,n){if(t){var r=e.get(t);r&&e.set(t,n(r))}};t.exports=function(t,e){e.isCollapsed()||a(!1);var n=e.getAnchorKey(),i=t.getBlockMap(),p=i.get(n),f=p.getText();if(!f){var d=p.getType();if("unordered-list-item"===d||"ordered-list-item"===d)return s(t,e,(function(t){return t.merge({type:"unstyled",depth:0})}))}var h=e.getAnchorOffset(),y=p.getCharacterList(),g=o(),m=p instanceof r,v=p.merge({text:f.slice(0,h),characterList:y.slice(0,h)}),b=v.merge({key:g,text:f.slice(h),characterList:y.slice(h),data:u()}),_=i.toSeq().takeUntil((function(t){return t===p})),w=i.toSeq().skipUntil((function(t){return t===p})).rest(),S=_.concat([[n,v],[g,b]],w).toOrderedMap();return m&&(p.getChildKeys().isEmpty()||a(!1),S=function(t,e,n){return t.withMutations((function(t){var r=e.getKey(),o=n.getKey();l(e.getParentKey(),t,(function(t){var e=t.getChildKeys(),n=e.indexOf(r)+1,i=e.toArray();return i.splice(n,0,o),t.merge({children:c(i)})})),l(e.getNextSiblingKey(),t,(function(t){return t.merge({prevSibling:o})})),l(r,t,(function(t){return t.merge({nextSibling:o})})),l(o,t,(function(t){return t.merge({prevSibling:r})}))}))}(S,v,b)),t.merge({blockMap:S,selectionBefore:e,selectionAfter:e.merge({anchorKey:g,anchorOffset:0,focusKey:g,focusOffset:0,isBackward:!1})})}},39347:t=>{"use strict";var e=/\r\n?|\n/g;t.exports=function(t){return t.split(e)}},44231:t=>{"use strict";t.exports=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"==t?e:3&e|8).toString(16)}))}},18489:function(t){t.exports=function(){"use strict";var t=Array.prototype.slice;function e(t,e){e&&(t.prototype=Object.create(e.prototype)),t.prototype.constructor=t}function n(t){return a(t)?t:K(t)}function r(t){return s(t)?t:H(t)}function o(t){return c(t)?t:q(t)}function i(t){return a(t)&&!u(t)?t:Y(t)}function a(t){return!(!t||!t[p])}function s(t){return!(!t||!t[f])}function c(t){return!(!t||!t[d])}function u(t){return s(t)||c(t)}function l(t){return!(!t||!t[h])}e(r,n),e(o,n),e(i,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=c,n.isAssociative=u,n.isOrdered=l,n.Keyed=r,n.Indexed=o,n.Set=i;var p="@@__IMMUTABLE_ITERABLE__@@",f="@@__IMMUTABLE_KEYED__@@",d="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",y=32,g=31,m={},v={value:!1},b={value:!1};function _(t){return t.value=!1,t}function w(t){t&&(t.value=!0)}function S(){}function M(t,e){e=e||0;for(var n=Math.max(0,t.length-e),r=new Array(n),o=0;o<n;o++)r[o]=t[o+e];return r}function E(t){return void 0===t.size&&(t.size=t.__iterate(k)),t.size}function x(t,e){if("number"!=typeof e){var n=e>>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?E(t)+e:e}function k(){return!0}function C(t,e,n){return(0===t||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function j(t,e){return O(t,e,0)}function D(t,e){return O(t,e,e)}function O(t,e,n){return void 0===t?n:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}var I="function"==typeof Symbol&&Symbol.iterator,L="@@iterator",N=I||L;function A(t){this.next=t}function T(t,e,n,r){var o=0===t?e:1===t?n:[e,n];return r?r.value=o:r={value:o,done:!1},r}function z(){return{value:void 0,done:!0}}function R(t){return!!F(t)}function P(t){return t&&"function"==typeof t.next}function B(t){var e=F(t);return e&&e.call(t)}function F(t){var e=t&&(I&&t[I]||t["@@iterator"]);if("function"==typeof e)return e}function U(t){return t&&"number"==typeof t.length}function K(t){return null==t?et():a(t)?t.toSeq():function(t){var e=ot(t)||"object"==typeof t&&new J(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}(t)}function H(t){return null==t?et().toKeyedSeq():a(t)?s(t)?t.toSeq():t.fromEntrySeq():nt(t)}function q(t){return null==t?et():a(t)?s(t)?t.entrySeq():t.toIndexedSeq():rt(t)}function Y(t){return(null==t?et():a(t)?s(t)?t.entrySeq():t:rt(t)).toSetSeq()}A.prototype.toString=function(){return"[Iterator]"},A.KEYS=0,A.VALUES=1,A.ENTRIES=2,A.prototype.inspect=A.prototype.toSource=function(){return this.toString()},A.prototype[N]=function(){return this},e(K,n),K.of=function(){return K(arguments)},K.prototype.toSeq=function(){return this},K.prototype.toString=function(){return this.__toString("Seq {","}")},K.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},K.prototype.__iterate=function(t,e){return it(this,t,e,!0)},K.prototype.__iterator=function(t,e){return at(this,t,e,!0)},e(H,K),H.prototype.toKeyedSeq=function(){return this},e(q,K),q.of=function(){return q(arguments)},q.prototype.toIndexedSeq=function(){return this},q.prototype.toString=function(){return this.__toString("Seq [","]")},q.prototype.__iterate=function(t,e){return it(this,t,e,!1)},q.prototype.__iterator=function(t,e){return at(this,t,e,!1)},e(Y,K),Y.of=function(){return Y(arguments)},Y.prototype.toSetSeq=function(){return this},K.isSeq=tt,K.Keyed=H,K.Set=Y,K.Indexed=q;var W,Q,Z,V="@@__IMMUTABLE_SEQ__@@";function G(t){this._array=t,this.size=t.length}function J(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function X(t){this._iterable=t,this.size=t.length||t.size}function $(t){this._iterator=t,this._iteratorCache=[]}function tt(t){return!(!t||!t[V])}function et(){return W||(W=new G([]))}function nt(t){var e=Array.isArray(t)?new G(t).fromEntrySeq():P(t)?new $(t).fromEntrySeq():R(t)?new X(t).fromEntrySeq():"object"==typeof t?new J(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function rt(t){var e=ot(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function ot(t){return U(t)?new G(t):P(t)?new $(t):R(t)?new X(t):void 0}function it(t,e,n,r){var o=t._cache;if(o){for(var i=o.length-1,a=0;a<=i;a++){var s=o[n?i-a:a];if(!1===e(s[1],r?s[0]:a,t))return a+1}return a}return t.__iterateUncached(e,n)}function at(t,e,n,r){var o=t._cache;if(o){var i=o.length-1,a=0;return new A((function(){var t=o[n?i-a:a];return a++>i?{value:void 0,done:!0}:T(e,r?t[0]:a-1,t[1])}))}return t.__iteratorUncached(e,n)}function st(t,e){return e?ct(e,t,"",{"":t}):ut(t)}function ct(t,e,n,r){return Array.isArray(e)?t.call(r,n,q(e).map((function(n,r){return ct(t,n,r,e)}))):lt(e)?t.call(r,n,H(e).map((function(n,r){return ct(t,n,r,e)}))):e}function ut(t){return Array.isArray(t)?q(t).map(ut).toList():lt(t)?H(t).map(ut).toMap():t}function lt(t){return t&&(t.constructor===Object||void 0===t.constructor)}function pt(t,e){if(t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if((t=t.valueOf())===(e=e.valueOf())||t!=t&&e!=e)return!0;if(!t||!e)return!1}return!("function"!=typeof t.equals||"function"!=typeof e.equals||!t.equals(e))}function ft(t,e){if(t===e)return!0;if(!a(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||s(t)!==s(e)||c(t)!==c(e)||l(t)!==l(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!u(t);if(l(t)){var r=t.entries();return e.every((function(t,e){var o=r.next().value;return o&&pt(o[1],t)&&(n||pt(o[0],e))}))&&r.next().done}var o=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{o=!0;var i=t;t=e,e=i}var p=!0,f=e.__iterate((function(e,r){if(n?!t.has(e):o?!pt(e,t.get(r,m)):!pt(t.get(r,m),e))return p=!1,!1}));return p&&t.size===f}function dt(t,e){if(!(this instanceof dt))return new dt(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(Q)return Q;Q=this}}function ht(t,e){if(!t)throw new Error(e)}function yt(t,e,n){if(!(this instanceof yt))return new yt(t,e,n);if(ht(0!==n,"Cannot step a Range by 0"),t=t||0,void 0===e&&(e=1/0),n=void 0===n?1:Math.abs(n),e<t&&(n=-n),this._start=t,this._end=e,this._step=n,this.size=Math.max(0,Math.ceil((e-t)/n-1)+1),0===this.size){if(Z)return Z;Z=this}}function gt(){throw TypeError("Abstract")}function mt(){}function vt(){}function bt(){}K.prototype[V]=!0,e(G,q),G.prototype.get=function(t,e){return this.has(t)?this._array[x(this,t)]:e},G.prototype.__iterate=function(t,e){for(var n=this._array,r=n.length-1,o=0;o<=r;o++)if(!1===t(n[e?r-o:o],o,this))return o+1;return o},G.prototype.__iterator=function(t,e){var n=this._array,r=n.length-1,o=0;return new A((function(){return o>r?{value:void 0,done:!0}:T(t,o,n[e?r-o++:o++])}))},e(J,H),J.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},J.prototype.has=function(t){return this._object.hasOwnProperty(t)},J.prototype.__iterate=function(t,e){for(var n=this._object,r=this._keys,o=r.length-1,i=0;i<=o;i++){var a=r[e?o-i:i];if(!1===t(n[a],a,this))return i+1}return i},J.prototype.__iterator=function(t,e){var n=this._object,r=this._keys,o=r.length-1,i=0;return new A((function(){var a=r[e?o-i:i];return i++>o?{value:void 0,done:!0}:T(t,a,n[a])}))},J.prototype[h]=!0,e(X,q),X.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=B(this._iterable),r=0;if(P(n))for(var o;!(o=n.next()).done&&!1!==t(o.value,r++,this););return r},X.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=B(this._iterable);if(!P(n))return new A(z);var r=0;return new A((function(){var e=n.next();return e.done?e:T(t,r++,e.value)}))},e($,q),$.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var n,r=this._iterator,o=this._iteratorCache,i=0;i<o.length;)if(!1===t(o[i],i++,this))return i;for(;!(n=r.next()).done;){var a=n.value;if(o[i]=a,!1===t(a,i++,this))break}return i},$.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterator,r=this._iteratorCache,o=0;return new A((function(){if(o>=r.length){var e=n.next();if(e.done)return e;r[o]=e.value}return T(t,o,r[o++])}))},e(dt,q),dt.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},dt.prototype.get=function(t,e){return this.has(t)?this._value:e},dt.prototype.includes=function(t){return pt(this._value,t)},dt.prototype.slice=function(t,e){var n=this.size;return C(t,e,n)?this:new dt(this._value,D(e,n)-j(t,n))},dt.prototype.reverse=function(){return this},dt.prototype.indexOf=function(t){return pt(this._value,t)?0:-1},dt.prototype.lastIndexOf=function(t){return pt(this._value,t)?this.size:-1},dt.prototype.__iterate=function(t,e){for(var n=0;n<this.size;n++)if(!1===t(this._value,n,this))return n+1;return n},dt.prototype.__iterator=function(t,e){var n=this,r=0;return new A((function(){return r<n.size?T(t,r++,n._value):{value:void 0,done:!0}}))},dt.prototype.equals=function(t){return t instanceof dt?pt(this._value,t._value):ft(t)},e(yt,q),yt.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},yt.prototype.get=function(t,e){return this.has(t)?this._start+x(this,t)*this._step:e},yt.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},yt.prototype.slice=function(t,e){return C(t,e,this.size)?this:(t=j(t,this.size),(e=D(e,this.size))<=t?new yt(0,0):new yt(this.get(t,this._end),this.get(e,this._end),this._step))},yt.prototype.indexOf=function(t){var e=t-this._start;if(e%this._step==0){var n=e/this._step;if(n>=0&&n<this.size)return n}return-1},yt.prototype.lastIndexOf=function(t){return this.indexOf(t)},yt.prototype.__iterate=function(t,e){for(var n=this.size-1,r=this._step,o=e?this._start+n*r:this._start,i=0;i<=n;i++){if(!1===t(o,i,this))return i+1;o+=e?-r:r}return i},yt.prototype.__iterator=function(t,e){var n=this.size-1,r=this._step,o=e?this._start+n*r:this._start,i=0;return new A((function(){var a=o;return o+=e?-r:r,i>n?{value:void 0,done:!0}:T(t,i++,a)}))},yt.prototype.equals=function(t){return t instanceof yt?this._start===t._start&&this._end===t._end&&this._step===t._step:ft(this,t)},e(gt,n),e(mt,gt),e(vt,gt),e(bt,gt),gt.Keyed=mt,gt.Indexed=vt,gt.Set=bt;var _t="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){var n=65535&(t|=0),r=65535&(e|=0);return n*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0};function wt(t){return t>>>1&1073741824|3221225471&t}function St(t){if(!1===t||null==t)return 0;if("function"==typeof t.valueOf&&(!1===(t=t.valueOf())||null==t))return 0;if(!0===t)return 1;var e=typeof t;if("number"===e){var n=0|t;for(n!==t&&(n^=4294967295*t);t>4294967295;)n^=t/=4294967295;return wt(n)}if("string"===e)return t.length>Ot?function(t){var e=Nt[t];return void 0===e&&(e=Mt(t),Lt===It&&(Lt=0,Nt={}),Lt++,Nt[t]=e),e}(t):Mt(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===e)return function(t){var e;if(Ct&&void 0!==(e=kt.get(t)))return e;if(void 0!==(e=t[Dt]))return e;if(!xt){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[Dt]))return e;if(void 0!==(e=function(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}(t)))return e}if(e=++jt,1073741824&jt&&(jt=0),Ct)kt.set(t,e);else{if(void 0!==Et&&!1===Et(t))throw new Error("Non-extensible objects are not allowed as keys.");if(xt)Object.defineProperty(t,Dt,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(void 0!==t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[Dt]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[Dt]=e}}return e}(t);if("function"==typeof t.toString)return Mt(t.toString());throw new Error("Value type "+e+" cannot be hashed.")}function Mt(t){for(var e=0,n=0;n<t.length;n++)e=31*e+t.charCodeAt(n)|0;return wt(e)}var Et=Object.isExtensible,xt=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}();var kt,Ct="function"==typeof WeakMap;Ct&&(kt=new WeakMap);var jt=0,Dt="__immutablehash__";"function"==typeof Symbol&&(Dt=Symbol(Dt));var Ot=16,It=255,Lt=0,Nt={};function At(t){ht(t!==1/0,"Cannot perform this action with an infinite size.")}function Tt(t){return null==t?Vt():zt(t)&&!l(t)?t:Vt().withMutations((function(e){var n=r(t);At(n.size),n.forEach((function(t,n){return e.set(n,t)}))}))}function zt(t){return!(!t||!t[Pt])}e(Tt,mt),Tt.prototype.toString=function(){return this.__toString("Map {","}")},Tt.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},Tt.prototype.set=function(t,e){return Gt(this,t,e)},Tt.prototype.setIn=function(t,e){return this.updateIn(t,m,(function(){return e}))},Tt.prototype.remove=function(t){return Gt(this,t,m)},Tt.prototype.deleteIn=function(t){return this.updateIn(t,(function(){return m}))},Tt.prototype.update=function(t,e,n){return 1===arguments.length?t(this):this.updateIn([t],e,n)},Tt.prototype.updateIn=function(t,e,n){n||(n=e,e=void 0);var r=oe(this,en(t),e,n);return r===m?void 0:r},Tt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Vt()},Tt.prototype.merge=function(){return te(this,void 0,arguments)},Tt.prototype.mergeWith=function(e){return te(this,e,t.call(arguments,1))},Tt.prototype.mergeIn=function(e){var n=t.call(arguments,1);return this.updateIn(e,Vt(),(function(t){return"function"==typeof t.merge?t.merge.apply(t,n):n[n.length-1]}))},Tt.prototype.mergeDeep=function(){return te(this,ee,arguments)},Tt.prototype.mergeDeepWith=function(e){var n=t.call(arguments,1);return te(this,ne(e),n)},Tt.prototype.mergeDeepIn=function(e){var n=t.call(arguments,1);return this.updateIn(e,Vt(),(function(t){return"function"==typeof t.mergeDeep?t.mergeDeep.apply(t,n):n[n.length-1]}))},Tt.prototype.sort=function(t){return Ce(qe(this,t))},Tt.prototype.sortBy=function(t,e){return Ce(qe(this,e,t))},Tt.prototype.withMutations=function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},Tt.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new S)},Tt.prototype.asImmutable=function(){return this.__ensureOwner()},Tt.prototype.wasAltered=function(){return this.__altered},Tt.prototype.__iterator=function(t,e){return new Yt(this,t,e)},Tt.prototype.__iterate=function(t,e){var n=this,r=0;return this._root&&this._root.iterate((function(e){return r++,t(e[1],e[0],n)}),e),r},Tt.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Zt(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},Tt.isMap=zt;var Rt,Pt="@@__IMMUTABLE_MAP__@@",Bt=Tt.prototype;function Ft(t,e){this.ownerID=t,this.entries=e}function Ut(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n}function Kt(t,e,n){this.ownerID=t,this.count=e,this.nodes=n}function Ht(t,e,n){this.ownerID=t,this.keyHash=e,this.entries=n}function qt(t,e,n){this.ownerID=t,this.keyHash=e,this.entry=n}function Yt(t,e,n){this._type=e,this._reverse=n,this._stack=t._root&&Qt(t._root)}function Wt(t,e){return T(t,e[0],e[1])}function Qt(t,e){return{node:t,index:0,__prev:e}}function Zt(t,e,n,r){var o=Object.create(Bt);return o.size=t,o._root=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Vt(){return Rt||(Rt=Zt(0))}function Gt(t,e,n){var r,o;if(t._root){var i=_(v),a=_(b);if(r=Jt(t._root,t.__ownerID,0,void 0,e,n,i,a),!a.value)return t;o=t.size+(i.value?n===m?-1:1:0)}else{if(n===m)return t;o=1,r=new Ft(t.__ownerID,[[e,n]])}return t.__ownerID?(t.size=o,t._root=r,t.__hash=void 0,t.__altered=!0,t):r?Zt(o,r):Vt()}function Jt(t,e,n,r,o,i,a,s){return t?t.update(e,n,r,o,i,a,s):i===m?t:(w(s),w(a),new qt(e,r,[o,i]))}function Xt(t){return t.constructor===qt||t.constructor===Ht}function $t(t,e,n,r,o){if(t.keyHash===r)return new Ht(e,r,[t.entry,o]);var i,a=(0===n?t.keyHash:t.keyHash>>>n)&g,s=(0===n?r:r>>>n)&g;return new Ut(e,1<<a|1<<s,a===s?[$t(t,e,n+5,r,o)]:(i=new qt(e,r,o),a<s?[t,i]:[i,t]))}function te(t,e,n){for(var o=[],i=0;i<n.length;i++){var s=n[i],c=r(s);a(s)||(c=c.map((function(t){return st(t)}))),o.push(c)}return re(t,e,o)}function ee(t,e,n){return t&&t.mergeDeep&&a(e)?t.mergeDeep(e):pt(t,e)?t:e}function ne(t){return function(e,n,r){if(e&&e.mergeDeepWith&&a(n))return e.mergeDeepWith(t,n);var o=t(e,n,r);return pt(e,o)?e:o}}function re(t,e,n){return 0===(n=n.filter((function(t){return 0!==t.size}))).length?t:0!==t.size||t.__ownerID||1!==n.length?t.withMutations((function(t){for(var r=e?function(n,r){t.update(r,m,(function(t){return t===m?n:e(t,n,r)}))}:function(e,n){t.set(n,e)},o=0;o<n.length;o++)n[o].forEach(r)})):t.constructor(n[0])}function oe(t,e,n,r){var o=t===m,i=e.next();if(i.done){var a=o?n:t,s=r(a);return s===a?t:s}ht(o||t&&t.set,"invalid keyPath");var c=i.value,u=o?m:t.get(c,m),l=oe(u,e,n,r);return l===u?t:l===m?t.remove(c):(o?Vt():t).set(c,l)}function ie(t){return t=(t=(858993459&(t-=t>>1&1431655765))+(t>>2&858993459))+(t>>4)&252645135,127&(t+=t>>8)+(t>>16)}function ae(t,e,n,r){var o=r?t:M(t);return o[e]=n,o}Bt[Pt]=!0,Bt.delete=Bt.remove,Bt.removeIn=Bt.deleteIn,Ft.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(pt(n,o[i][0]))return o[i][1];return r},Ft.prototype.update=function(t,e,n,r,o,i,a){for(var s=o===m,c=this.entries,u=0,l=c.length;u<l&&!pt(r,c[u][0]);u++);var p=u<l;if(p?c[u][1]===o:s)return this;if(w(a),(s||!p)&&w(i),!s||1!==c.length){if(!p&&!s&&c.length>=se)return function(t,e,n,r){t||(t=new S);for(var o=new qt(t,St(n),[n,r]),i=0;i<e.length;i++){var a=e[i];o=o.update(t,0,void 0,a[0],a[1])}return o}(t,c,r,o);var f=t&&t===this.ownerID,d=f?c:M(c);return p?s?u===l-1?d.pop():d[u]=d.pop():d[u]=[r,o]:d.push([r,o]),f?(this.entries=d,this):new Ft(t,d)}},Ut.prototype.get=function(t,e,n,r){void 0===e&&(e=St(n));var o=1<<((0===t?e:e>>>t)&g),i=this.bitmap;return 0==(i&o)?r:this.nodes[ie(i&o-1)].get(t+5,e,n,r)},Ut.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=St(r));var s=(0===e?n:n>>>e)&g,c=1<<s,u=this.bitmap,l=0!=(u&c);if(!l&&o===m)return this;var p=ie(u&c-1),f=this.nodes,d=l?f[p]:void 0,h=Jt(d,t,e+5,n,r,o,i,a);if(h===d)return this;if(!l&&h&&f.length>=ce)return function(t,e,n,r,o){for(var i=0,a=new Array(y),s=0;0!==n;s++,n>>>=1)a[s]=1&n?e[i++]:void 0;return a[r]=o,new Kt(t,i+1,a)}(t,f,u,s,h);if(l&&!h&&2===f.length&&Xt(f[1^p]))return f[1^p];if(l&&h&&1===f.length&&Xt(h))return h;var v=t&&t===this.ownerID,b=l?h?u:u^c:u|c,_=l?h?ae(f,p,h,v):function(t,e,n){var r=t.length-1;if(n&&e===r)return t.pop(),t;for(var o=new Array(r),i=0,a=0;a<r;a++)a===e&&(i=1),o[a]=t[a+i];return o}(f,p,v):function(t,e,n,r){var o=t.length+1;if(r&&e+1===o)return t[e]=n,t;for(var i=new Array(o),a=0,s=0;s<o;s++)s===e?(i[s]=n,a=-1):i[s]=t[s+a];return i}(f,p,h,v);return v?(this.bitmap=b,this.nodes=_,this):new Ut(t,b,_)},Kt.prototype.get=function(t,e,n,r){void 0===e&&(e=St(n));var o=(0===t?e:e>>>t)&g,i=this.nodes[o];return i?i.get(t+5,e,n,r):r},Kt.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=St(r));var s=(0===e?n:n>>>e)&g,c=o===m,u=this.nodes,l=u[s];if(c&&!l)return this;var p=Jt(l,t,e+5,n,r,o,i,a);if(p===l)return this;var f=this.count;if(l){if(!p&&--f<ue)return function(t,e,n,r){for(var o=0,i=0,a=new Array(n),s=0,c=1,u=e.length;s<u;s++,c<<=1){var l=e[s];void 0!==l&&s!==r&&(o|=c,a[i++]=l)}return new Ut(t,o,a)}(t,u,f,s)}else f++;var d=t&&t===this.ownerID,h=ae(u,s,p,d);return d?(this.count=f,this.nodes=h,this):new Kt(t,f,h)},Ht.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(pt(n,o[i][0]))return o[i][1];return r},Ht.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=St(r));var s=o===m;if(n!==this.keyHash)return s?this:(w(a),w(i),$t(this,t,e,n,[r,o]));for(var c=this.entries,u=0,l=c.length;u<l&&!pt(r,c[u][0]);u++);var p=u<l;if(p?c[u][1]===o:s)return this;if(w(a),(s||!p)&&w(i),s&&2===l)return new qt(t,this.keyHash,c[1^u]);var f=t&&t===this.ownerID,d=f?c:M(c);return p?s?u===l-1?d.pop():d[u]=d.pop():d[u]=[r,o]:d.push([r,o]),f?(this.entries=d,this):new Ht(t,this.keyHash,d)},qt.prototype.get=function(t,e,n,r){return pt(n,this.entry[0])?this.entry[1]:r},qt.prototype.update=function(t,e,n,r,o,i,a){var s=o===m,c=pt(r,this.entry[0]);return(c?o===this.entry[1]:s)?this:(w(a),s?void w(i):c?t&&t===this.ownerID?(this.entry[1]=o,this):new qt(t,this.keyHash,[r,o]):(w(i),$t(this,t,e,St(r),[r,o])))},Ft.prototype.iterate=Ht.prototype.iterate=function(t,e){for(var n=this.entries,r=0,o=n.length-1;r<=o;r++)if(!1===t(n[e?o-r:r]))return!1},Ut.prototype.iterate=Kt.prototype.iterate=function(t,e){for(var n=this.nodes,r=0,o=n.length-1;r<=o;r++){var i=n[e?o-r:r];if(i&&!1===i.iterate(t,e))return!1}},qt.prototype.iterate=function(t,e){return t(this.entry)},e(Yt,A),Yt.prototype.next=function(){for(var t=this._type,e=this._stack;e;){var n,r=e.node,o=e.index++;if(r.entry){if(0===o)return Wt(t,r.entry)}else if(r.entries){if(o<=(n=r.entries.length-1))return Wt(t,r.entries[this._reverse?n-o:o])}else if(o<=(n=r.nodes.length-1)){var i=r.nodes[this._reverse?n-o:o];if(i){if(i.entry)return Wt(t,i.entry);e=this._stack=Qt(i,e)}continue}e=this._stack=this._stack.__prev}return{value:void 0,done:!0}};var se=8,ce=16,ue=8;function le(t){var e=_e();if(null==t)return e;if(pe(t))return t;var n=o(t),r=n.size;return 0===r?e:(At(r),r>0&&r<y?be(0,r,5,null,new he(n.toArray())):e.withMutations((function(t){t.setSize(r),n.forEach((function(e,n){return t.set(n,e)}))})))}function pe(t){return!(!t||!t[fe])}e(le,vt),le.of=function(){return this(arguments)},le.prototype.toString=function(){return this.__toString("List [","]")},le.prototype.get=function(t,e){if((t=x(this,t))>=0&&t<this.size){var n=Me(this,t+=this._origin);return n&&n.array[t&g]}return e},le.prototype.set=function(t,e){return function(t,e,n){if((e=x(t,e))!=e)return t;if(e>=t.size||e<0)return t.withMutations((function(t){e<0?Ee(t,e).set(0,n):Ee(t,0,e+1).set(e,n)}));e+=t._origin;var r=t._tail,o=t._root,i=_(b);return e>=ke(t._capacity)?r=we(r,t.__ownerID,0,e,n,i):o=we(o,t.__ownerID,t._level,e,n,i),i.value?t.__ownerID?(t._root=o,t._tail=r,t.__hash=void 0,t.__altered=!0,t):be(t._origin,t._capacity,t._level,o,r):t}(this,t,e)},le.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},le.prototype.insert=function(t,e){return this.splice(t,0,e)},le.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=5,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):_e()},le.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations((function(n){Ee(n,0,e+t.length);for(var r=0;r<t.length;r++)n.set(e+r,t[r])}))},le.prototype.pop=function(){return Ee(this,0,-1)},le.prototype.unshift=function(){var t=arguments;return this.withMutations((function(e){Ee(e,-t.length);for(var n=0;n<t.length;n++)e.set(n,t[n])}))},le.prototype.shift=function(){return Ee(this,1)},le.prototype.merge=function(){return xe(this,void 0,arguments)},le.prototype.mergeWith=function(e){return xe(this,e,t.call(arguments,1))},le.prototype.mergeDeep=function(){return xe(this,ee,arguments)},le.prototype.mergeDeepWith=function(e){var n=t.call(arguments,1);return xe(this,ne(e),n)},le.prototype.setSize=function(t){return Ee(this,0,t)},le.prototype.slice=function(t,e){var n=this.size;return C(t,e,n)?this:Ee(this,j(t,n),D(e,n))},le.prototype.__iterator=function(t,e){var n=0,r=ve(this,e);return new A((function(){var e=r();return e===me?{value:void 0,done:!0}:T(t,n++,e)}))},le.prototype.__iterate=function(t,e){for(var n,r=0,o=ve(this,e);(n=o())!==me&&!1!==t(n,r++,this););return r},le.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?be(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):(this.__ownerID=t,this)},le.isList=pe;var fe="@@__IMMUTABLE_LIST__@@",de=le.prototype;function he(t,e){this.array=t,this.ownerID=e}de[fe]=!0,de.delete=de.remove,de.setIn=Bt.setIn,de.deleteIn=de.removeIn=Bt.removeIn,de.update=Bt.update,de.updateIn=Bt.updateIn,de.mergeIn=Bt.mergeIn,de.mergeDeepIn=Bt.mergeDeepIn,de.withMutations=Bt.withMutations,de.asMutable=Bt.asMutable,de.asImmutable=Bt.asImmutable,de.wasAltered=Bt.wasAltered,he.prototype.removeBefore=function(t,e,n){if(n===e?1<<e:0===this.array.length)return this;var r=n>>>e&g;if(r>=this.array.length)return new he([],t);var o,i=0===r;if(e>0){var a=this.array[r];if((o=a&&a.removeBefore(t,e-5,n))===a&&i)return this}if(i&&!o)return this;var s=Se(this,t);if(!i)for(var c=0;c<r;c++)s.array[c]=void 0;return o&&(s.array[r]=o),s},he.prototype.removeAfter=function(t,e,n){if(n===(e?1<<e:0)||0===this.array.length)return this;var r,o=n-1>>>e&g;if(o>=this.array.length)return this;if(e>0){var i=this.array[o];if((r=i&&i.removeAfter(t,e-5,n))===i&&o===this.array.length-1)return this}var a=Se(this,t);return a.array.splice(o+1),r&&(a.array[o]=r),a};var ye,ge,me={};function ve(t,e){var n=t._origin,r=t._capacity,o=ke(r),i=t._tail;return a(t._root,t._level,0);function a(t,s,c){return 0===s?function(t,a){var s=a===o?i&&i.array:t&&t.array,c=a>n?0:n-a,u=r-a;return u>y&&(u=y),function(){if(c===u)return me;var t=e?--u:c++;return s&&s[t]}}(t,c):function(t,o,i){var s,c=t&&t.array,u=i>n?0:n-i>>o,l=1+(r-i>>o);return l>y&&(l=y),function(){for(;;){if(s){var t=s();if(t!==me)return t;s=null}if(u===l)return me;var n=e?--l:u++;s=a(c&&c[n],o-5,i+(n<<o))}}}(t,s,c)}}function be(t,e,n,r,o,i,a){var s=Object.create(de);return s.size=e-t,s._origin=t,s._capacity=e,s._level=n,s._root=r,s._tail=o,s.__ownerID=i,s.__hash=a,s.__altered=!1,s}function _e(){return ye||(ye=be(0,0,5))}function we(t,e,n,r,o,i){var a,s=r>>>n&g,c=t&&s<t.array.length;if(!c&&void 0===o)return t;if(n>0){var u=t&&t.array[s],l=we(u,e,n-5,r,o,i);return l===u?t:((a=Se(t,e)).array[s]=l,a)}return c&&t.array[s]===o?t:(w(i),a=Se(t,e),void 0===o&&s===a.array.length-1?a.array.pop():a.array[s]=o,a)}function Se(t,e){return e&&t&&e===t.ownerID?t:new he(t?t.array.slice():[],e)}function Me(t,e){if(e>=ke(t._capacity))return t._tail;if(e<1<<t._level+5){for(var n=t._root,r=t._level;n&&r>0;)n=n.array[e>>>r&g],r-=5;return n}}function Ee(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0);var r=t.__ownerID||new S,o=t._origin,i=t._capacity,a=o+e,s=void 0===n?i:n<0?i+n:o+n;if(a===o&&s===i)return t;if(a>=s)return t.clear();for(var c=t._level,u=t._root,l=0;a+l<0;)u=new he(u&&u.array.length?[void 0,u]:[],r),l+=1<<(c+=5);l&&(a+=l,o+=l,s+=l,i+=l);for(var p=ke(i),f=ke(s);f>=1<<c+5;)u=new he(u&&u.array.length?[u]:[],r),c+=5;var d=t._tail,h=f<p?Me(t,s-1):f>p?new he([],r):d;if(d&&f>p&&a<i&&d.array.length){for(var y=u=Se(u,r),m=c;m>5;m-=5){var v=p>>>m&g;y=y.array[v]=Se(y.array[v],r)}y.array[p>>>5&g]=d}if(s<i&&(h=h&&h.removeAfter(r,0,s)),a>=f)a-=f,s-=f,c=5,u=null,h=h&&h.removeBefore(r,0,a);else if(a>o||f<p){for(l=0;u;){var b=a>>>c&g;if(b!==f>>>c&g)break;b&&(l+=(1<<c)*b),c-=5,u=u.array[b]}u&&a>o&&(u=u.removeBefore(r,c,a-l)),u&&f<p&&(u=u.removeAfter(r,c,f-l)),l&&(a-=l,s-=l)}return t.__ownerID?(t.size=s-a,t._origin=a,t._capacity=s,t._level=c,t._root=u,t._tail=h,t.__hash=void 0,t.__altered=!0,t):be(a,s,c,u,h)}function xe(t,e,n){for(var r=[],i=0,s=0;s<n.length;s++){var c=n[s],u=o(c);u.size>i&&(i=u.size),a(c)||(u=u.map((function(t){return st(t)}))),r.push(u)}return i>t.size&&(t=t.setSize(i)),re(t,e,r)}function ke(t){return t<y?0:t-1>>>5<<5}function Ce(t){return null==t?Oe():je(t)?t:Oe().withMutations((function(e){var n=r(t);At(n.size),n.forEach((function(t,n){return e.set(n,t)}))}))}function je(t){return zt(t)&&l(t)}function De(t,e,n,r){var o=Object.create(Ce.prototype);return o.size=t?t.size:0,o._map=t,o._list=e,o.__ownerID=n,o.__hash=r,o}function Oe(){return ge||(ge=De(Vt(),_e()))}function Ie(t,e,n){var r,o,i=t._map,a=t._list,s=i.get(e),c=void 0!==s;if(n===m){if(!c)return t;a.size>=y&&a.size>=2*i.size?(r=(o=a.filter((function(t,e){return void 0!==t&&s!==e}))).toKeyedSeq().map((function(t){return t[0]})).flip().toMap(),t.__ownerID&&(r.__ownerID=o.__ownerID=t.__ownerID)):(r=i.remove(e),o=s===a.size-1?a.pop():a.set(s,void 0))}else if(c){if(n===a.get(s)[1])return t;r=i,o=a.set(s,[e,n])}else r=i.set(e,a.size),o=a.set(a.size,[e,n]);return t.__ownerID?(t.size=r.size,t._map=r,t._list=o,t.__hash=void 0,t):De(r,o)}function Le(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function Ne(t){this._iter=t,this.size=t.size}function Ae(t){this._iter=t,this.size=t.size}function Te(t){this._iter=t,this.size=t.size}function ze(t){var e=Xe(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=$e,e.__iterateUncached=function(e,n){var r=this;return t.__iterate((function(t,n){return!1!==e(n,t,r)}),n)},e.__iteratorUncached=function(e,n){if(2===e){var r=t.__iterator(e,n);return new A((function(){var t=r.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t}))}return t.__iterator(1===e?0:1,n)},e}function Re(t,e,n){var r=Xe(t);return r.size=t.size,r.has=function(e){return t.has(e)},r.get=function(r,o){var i=t.get(r,m);return i===m?o:e.call(n,i,r,t)},r.__iterateUncached=function(r,o){var i=this;return t.__iterate((function(t,o,a){return!1!==r(e.call(n,t,o,a),o,i)}),o)},r.__iteratorUncached=function(r,o){var i=t.__iterator(2,o);return new A((function(){var o=i.next();if(o.done)return o;var a=o.value,s=a[0];return T(r,s,e.call(n,a[1],s,t),o)}))},r}function Pe(t,e){var n=Xe(t);return n._iter=t,n.size=t.size,n.reverse=function(){return t},t.flip&&(n.flip=function(){var e=ze(t);return e.reverse=function(){return t.flip()},e}),n.get=function(n,r){return t.get(e?n:-1-n,r)},n.has=function(n){return t.has(e?n:-1-n)},n.includes=function(e){return t.includes(e)},n.cacheResult=$e,n.__iterate=function(e,n){var r=this;return t.__iterate((function(t,n){return e(t,n,r)}),!n)},n.__iterator=function(e,n){return t.__iterator(e,!n)},n}function Be(t,e,n,r){var o=Xe(t);return r&&(o.has=function(r){var o=t.get(r,m);return o!==m&&!!e.call(n,o,r,t)},o.get=function(r,o){var i=t.get(r,m);return i!==m&&e.call(n,i,r,t)?i:o}),o.__iterateUncached=function(o,i){var a=this,s=0;return t.__iterate((function(t,i,c){if(e.call(n,t,i,c))return s++,o(t,r?i:s-1,a)}),i),s},o.__iteratorUncached=function(o,i){var a=t.__iterator(2,i),s=0;return new A((function(){for(;;){var i=a.next();if(i.done)return i;var c=i.value,u=c[0],l=c[1];if(e.call(n,l,u,t))return T(o,r?u:s++,l,i)}}))},o}function Fe(t,e,n,r){var o=t.size;if(void 0!==e&&(e|=0),void 0!==n&&(n|=0),C(e,n,o))return t;var i=j(e,o),a=D(n,o);if(i!=i||a!=a)return Fe(t.toSeq().cacheResult(),e,n,r);var s,c=a-i;c==c&&(s=c<0?0:c);var u=Xe(t);return u.size=0===s?s:t.size&&s||void 0,!r&&tt(t)&&s>=0&&(u.get=function(e,n){return(e=x(this,e))>=0&&e<s?t.get(e+i,n):n}),u.__iterateUncached=function(e,n){var o=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(e,n);var a=0,c=!0,u=0;return t.__iterate((function(t,n){if(!c||!(c=a++<i))return u++,!1!==e(t,r?n:u-1,o)&&u!==s})),u},u.__iteratorUncached=function(e,n){if(0!==s&&n)return this.cacheResult().__iterator(e,n);var o=0!==s&&t.__iterator(e,n),a=0,c=0;return new A((function(){for(;a++<i;)o.next();if(++c>s)return{value:void 0,done:!0};var t=o.next();return r||1===e?t:T(e,c-1,0===e?void 0:t.value[1],t)}))},u}function Ue(t,e,n,r){var o=Xe(t);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,c=0;return t.__iterate((function(t,i,u){if(!s||!(s=e.call(n,t,i,u)))return c++,o(t,r?i:c-1,a)})),c},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=t.__iterator(2,i),c=!0,u=0;return new A((function(){var t,i,l;do{if((t=s.next()).done)return r||1===o?t:T(o,u++,0===o?void 0:t.value[1],t);var p=t.value;i=p[0],l=p[1],c&&(c=e.call(n,l,i,a))}while(c);return 2===o?t:T(o,i,l,t)}))},o}function Ke(t,e){var n=s(t),o=[t].concat(e).map((function(t){return a(t)?n&&(t=r(t)):t=n?nt(t):rt(Array.isArray(t)?t:[t]),t})).filter((function(t){return 0!==t.size}));if(0===o.length)return t;if(1===o.length){var i=o[0];if(i===t||n&&s(i)||c(t)&&c(i))return i}var u=new G(o);return n?u=u.toKeyedSeq():c(t)||(u=u.toSetSeq()),(u=u.flatten(!0)).size=o.reduce((function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}}),0),u}function He(t,e,n){var r=Xe(t);return r.__iterateUncached=function(r,o){var i=0,s=!1;return function t(c,u){var l=this;c.__iterate((function(o,c){return(!e||u<e)&&a(o)?t(o,u+1):!1===r(o,n?c:i++,l)&&(s=!0),!s}),o)}(t,0),i},r.__iteratorUncached=function(r,o){var i=t.__iterator(r,o),s=[],c=0;return new A((function(){for(;i;){var t=i.next();if(!1===t.done){var u=t.value;if(2===r&&(u=u[1]),e&&!(s.length<e)||!a(u))return n?t:T(r,c++,u,t);s.push(i),i=u.__iterator(r,o)}else i=s.pop()}return{value:void 0,done:!0}}))},r}function qe(t,e,n){e||(e=tn);var r=s(t),o=0,i=t.toSeq().map((function(e,r){return[r,e,o++,n?n(e,r,t):e]})).toArray();return i.sort((function(t,n){return e(t[3],n[3])||t[2]-n[2]})).forEach(r?function(t,e){i[e].length=2}:function(t,e){i[e]=t[1]}),r?H(i):c(t)?q(i):Y(i)}function Ye(t,e,n){if(e||(e=tn),n){var r=t.toSeq().map((function(e,r){return[e,n(e,r,t)]})).reduce((function(t,n){return We(e,t[1],n[1])?n:t}));return r&&r[0]}return t.reduce((function(t,n){return We(e,t,n)?n:t}))}function We(t,e,n){var r=t(n,e);return 0===r&&n!==e&&(null==n||n!=n)||r>0}function Qe(t,e,r){var o=Xe(t);return o.size=new G(r).map((function(t){return t.size})).min(),o.__iterate=function(t,e){for(var n,r=this.__iterator(1,e),o=0;!(n=r.next()).done&&!1!==t(n.value,o++,this););return o},o.__iteratorUncached=function(t,o){var i=r.map((function(t){return t=n(t),B(o?t.reverse():t)})),a=0,s=!1;return new A((function(){var n;return s||(n=i.map((function(t){return t.next()})),s=n.some((function(t){return t.done}))),s?{value:void 0,done:!0}:T(t,a++,e.apply(null,n.map((function(t){return t.value}))))}))},o}function Ze(t,e){return tt(t)?e:t.constructor(e)}function Ve(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function Ge(t){return At(t.size),E(t)}function Je(t){return s(t)?r:c(t)?o:i}function Xe(t){return Object.create((s(t)?H:c(t)?q:Y).prototype)}function $e(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):K.prototype.cacheResult.call(this)}function tn(t,e){return t>e?1:t<e?-1:0}function en(t){var e=B(t);if(!e){if(!U(t))throw new TypeError("Expected iterable or array-like: "+t);e=B(n(t))}return e}function nn(t,e){var n,r=function(i){if(i instanceof r)return i;if(!(this instanceof r))return new r(i);if(!n){n=!0;var a=Object.keys(t);(function(t,e){try{e.forEach(sn.bind(void 0,t))}catch(t){}})(o,a),o.size=a.length,o._name=e,o._keys=a,o._defaultValues=t}this._map=Tt(i)},o=r.prototype=Object.create(rn);return o.constructor=r,r}e(Ce,Tt),Ce.of=function(){return this(arguments)},Ce.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Ce.prototype.get=function(t,e){var n=this._map.get(t);return void 0!==n?this._list.get(n)[1]:e},Ce.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Oe()},Ce.prototype.set=function(t,e){return Ie(this,t,e)},Ce.prototype.remove=function(t){return Ie(this,t,m)},Ce.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Ce.prototype.__iterate=function(t,e){var n=this;return this._list.__iterate((function(e){return e&&t(e[1],e[0],n)}),e)},Ce.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},Ce.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),n=this._list.__ensureOwner(t);return t?De(e,n,t,this.__hash):(this.__ownerID=t,this._map=e,this._list=n,this)},Ce.isOrderedMap=je,Ce.prototype[h]=!0,Ce.prototype.delete=Ce.prototype.remove,e(Le,H),Le.prototype.get=function(t,e){return this._iter.get(t,e)},Le.prototype.has=function(t){return this._iter.has(t)},Le.prototype.valueSeq=function(){return this._iter.valueSeq()},Le.prototype.reverse=function(){var t=this,e=Pe(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},Le.prototype.map=function(t,e){var n=this,r=Re(this,t,e);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(t,e)}),r},Le.prototype.__iterate=function(t,e){var n,r=this;return this._iter.__iterate(this._useKeys?function(e,n){return t(e,n,r)}:(n=e?Ge(this):0,function(o){return t(o,e?--n:n++,r)}),e)},Le.prototype.__iterator=function(t,e){if(this._useKeys)return this._iter.__iterator(t,e);var n=this._iter.__iterator(1,e),r=e?Ge(this):0;return new A((function(){var o=n.next();return o.done?o:T(t,e?--r:r++,o.value,o)}))},Le.prototype[h]=!0,e(Ne,q),Ne.prototype.includes=function(t){return this._iter.includes(t)},Ne.prototype.__iterate=function(t,e){var n=this,r=0;return this._iter.__iterate((function(e){return t(e,r++,n)}),e)},Ne.prototype.__iterator=function(t,e){var n=this._iter.__iterator(1,e),r=0;return new A((function(){var e=n.next();return e.done?e:T(t,r++,e.value,e)}))},e(Ae,Y),Ae.prototype.has=function(t){return this._iter.includes(t)},Ae.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate((function(e){return t(e,e,n)}),e)},Ae.prototype.__iterator=function(t,e){var n=this._iter.__iterator(1,e);return new A((function(){var e=n.next();return e.done?e:T(t,e.value,e.value,e)}))},e(Te,H),Te.prototype.entrySeq=function(){return this._iter.toSeq()},Te.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate((function(e){if(e){Ve(e);var r=a(e);return t(r?e.get(1):e[1],r?e.get(0):e[0],n)}}),e)},Te.prototype.__iterator=function(t,e){var n=this._iter.__iterator(1,e);return new A((function(){for(;;){var e=n.next();if(e.done)return e;var r=e.value;if(r){Ve(r);var o=a(r);return T(t,o?r.get(0):r[0],o?r.get(1):r[1],e)}}}))},Ne.prototype.cacheResult=Le.prototype.cacheResult=Ae.prototype.cacheResult=Te.prototype.cacheResult=$e,e(nn,mt),nn.prototype.toString=function(){return this.__toString(an(this)+" {","}")},nn.prototype.has=function(t){return this._defaultValues.hasOwnProperty(t)},nn.prototype.get=function(t,e){if(!this.has(t))return e;var n=this._defaultValues[t];return this._map?this._map.get(t,n):n},nn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var t=this.constructor;return t._empty||(t._empty=on(this,Vt()))},nn.prototype.set=function(t,e){if(!this.has(t))throw new Error('Cannot set unknown key "'+t+'" on '+an(this));var n=this._map&&this._map.set(t,e);return this.__ownerID||n===this._map?this:on(this,n)},nn.prototype.remove=function(t){if(!this.has(t))return this;var e=this._map&&this._map.remove(t);return this.__ownerID||e===this._map?this:on(this,e)},nn.prototype.wasAltered=function(){return this._map.wasAltered()},nn.prototype.__iterator=function(t,e){var n=this;return r(this._defaultValues).map((function(t,e){return n.get(e)})).__iterator(t,e)},nn.prototype.__iterate=function(t,e){var n=this;return r(this._defaultValues).map((function(t,e){return n.get(e)})).__iterate(t,e)},nn.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map&&this._map.__ensureOwner(t);return t?on(this,e,t):(this.__ownerID=t,this._map=e,this)};var rn=nn.prototype;function on(t,e,n){var r=Object.create(Object.getPrototypeOf(t));return r._map=e,r.__ownerID=n,r}function an(t){return t._name||t.constructor.name||"Record"}function sn(t,e){Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){ht(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}function cn(t){return null==t?yn():un(t)&&!l(t)?t:yn().withMutations((function(e){var n=i(t);At(n.size),n.forEach((function(t){return e.add(t)}))}))}function un(t){return!(!t||!t[pn])}rn.delete=rn.remove,rn.deleteIn=rn.removeIn=Bt.removeIn,rn.merge=Bt.merge,rn.mergeWith=Bt.mergeWith,rn.mergeIn=Bt.mergeIn,rn.mergeDeep=Bt.mergeDeep,rn.mergeDeepWith=Bt.mergeDeepWith,rn.mergeDeepIn=Bt.mergeDeepIn,rn.setIn=Bt.setIn,rn.update=Bt.update,rn.updateIn=Bt.updateIn,rn.withMutations=Bt.withMutations,rn.asMutable=Bt.asMutable,rn.asImmutable=Bt.asImmutable,e(cn,bt),cn.of=function(){return this(arguments)},cn.fromKeys=function(t){return this(r(t).keySeq())},cn.prototype.toString=function(){return this.__toString("Set {","}")},cn.prototype.has=function(t){return this._map.has(t)},cn.prototype.add=function(t){return dn(this,this._map.set(t,!0))},cn.prototype.remove=function(t){return dn(this,this._map.remove(t))},cn.prototype.clear=function(){return dn(this,this._map.clear())},cn.prototype.union=function(){var e=t.call(arguments,0);return 0===(e=e.filter((function(t){return 0!==t.size}))).length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations((function(t){for(var n=0;n<e.length;n++)i(e[n]).forEach((function(e){return t.add(e)}))})):this.constructor(e[0])},cn.prototype.intersect=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map((function(t){return i(t)}));var n=this;return this.withMutations((function(t){n.forEach((function(n){e.every((function(t){return t.includes(n)}))||t.remove(n)}))}))},cn.prototype.subtract=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map((function(t){return i(t)}));var n=this;return this.withMutations((function(t){n.forEach((function(n){e.some((function(t){return t.includes(n)}))&&t.remove(n)}))}))},cn.prototype.merge=function(){return this.union.apply(this,arguments)},cn.prototype.mergeWith=function(e){var n=t.call(arguments,1);return this.union.apply(this,n)},cn.prototype.sort=function(t){return gn(qe(this,t))},cn.prototype.sortBy=function(t,e){return gn(qe(this,e,t))},cn.prototype.wasAltered=function(){return this._map.wasAltered()},cn.prototype.__iterate=function(t,e){var n=this;return this._map.__iterate((function(e,r){return t(r,r,n)}),e)},cn.prototype.__iterator=function(t,e){return this._map.map((function(t,e){return e})).__iterator(t,e)},cn.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t);return t?this.__make(e,t):(this.__ownerID=t,this._map=e,this)},cn.isSet=un;var ln,pn="@@__IMMUTABLE_SET__@@",fn=cn.prototype;function dn(t,e){return t.__ownerID?(t.size=e.size,t._map=e,t):e===t._map?t:0===e.size?t.__empty():t.__make(e)}function hn(t,e){var n=Object.create(fn);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function yn(){return ln||(ln=hn(Vt()))}function gn(t){return null==t?wn():mn(t)?t:wn().withMutations((function(e){var n=i(t);At(n.size),n.forEach((function(t){return e.add(t)}))}))}function mn(t){return un(t)&&l(t)}fn[pn]=!0,fn.delete=fn.remove,fn.mergeDeep=fn.merge,fn.mergeDeepWith=fn.mergeWith,fn.withMutations=Bt.withMutations,fn.asMutable=Bt.asMutable,fn.asImmutable=Bt.asImmutable,fn.__empty=yn,fn.__make=hn,e(gn,cn),gn.of=function(){return this(arguments)},gn.fromKeys=function(t){return this(r(t).keySeq())},gn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},gn.isOrderedSet=mn;var vn,bn=gn.prototype;function _n(t,e){var n=Object.create(bn);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function wn(){return vn||(vn=_n(Oe()))}function Sn(t){return null==t?jn():Mn(t)?t:jn().unshiftAll(t)}function Mn(t){return!(!t||!t[xn])}bn[h]=!0,bn.__empty=wn,bn.__make=_n,e(Sn,vt),Sn.of=function(){return this(arguments)},Sn.prototype.toString=function(){return this.__toString("Stack [","]")},Sn.prototype.get=function(t,e){var n=this._head;for(t=x(this,t);n&&t--;)n=n.next;return n?n.value:e},Sn.prototype.peek=function(){return this._head&&this._head.value},Sn.prototype.push=function(){if(0===arguments.length)return this;for(var t=this.size+arguments.length,e=this._head,n=arguments.length-1;n>=0;n--)e={value:arguments[n],next:e};return this.__ownerID?(this.size=t,this._head=e,this.__hash=void 0,this.__altered=!0,this):Cn(t,e)},Sn.prototype.pushAll=function(t){if(0===(t=o(t)).size)return this;At(t.size);var e=this.size,n=this._head;return t.reverse().forEach((function(t){e++,n={value:t,next:n}})),this.__ownerID?(this.size=e,this._head=n,this.__hash=void 0,this.__altered=!0,this):Cn(e,n)},Sn.prototype.pop=function(){return this.slice(1)},Sn.prototype.unshift=function(){return this.push.apply(this,arguments)},Sn.prototype.unshiftAll=function(t){return this.pushAll(t)},Sn.prototype.shift=function(){return this.pop.apply(this,arguments)},Sn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):jn()},Sn.prototype.slice=function(t,e){if(C(t,e,this.size))return this;var n=j(t,this.size);if(D(e,this.size)!==this.size)return vt.prototype.slice.call(this,t,e);for(var r=this.size-n,o=this._head;n--;)o=o.next;return this.__ownerID?(this.size=r,this._head=o,this.__hash=void 0,this.__altered=!0,this):Cn(r,o)},Sn.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Cn(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},Sn.prototype.__iterate=function(t,e){if(e)return this.reverse().__iterate(t);for(var n=0,r=this._head;r&&!1!==t(r.value,n++,this);)r=r.next;return n},Sn.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var n=0,r=this._head;return new A((function(){if(r){var e=r.value;return r=r.next,T(t,n++,e)}return{value:void 0,done:!0}}))},Sn.isStack=Mn;var En,xn="@@__IMMUTABLE_STACK__@@",kn=Sn.prototype;function Cn(t,e,n,r){var o=Object.create(kn);return o.size=t,o._head=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function jn(){return En||(En=Cn(0))}function Dn(t,e){var n=function(n){t.prototype[n]=e[n]};return Object.keys(e).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n),t}kn[xn]=!0,kn.withMutations=Bt.withMutations,kn.asMutable=Bt.asMutable,kn.asImmutable=Bt.asImmutable,kn.wasAltered=Bt.wasAltered,n.Iterator=A,Dn(n,{toArray:function(){At(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate((function(e,n){t[n]=e})),t},toIndexedSeq:function(){return new Ne(this)},toJS:function(){return this.toSeq().map((function(t){return t&&"function"==typeof t.toJS?t.toJS():t})).__toJS()},toJSON:function(){return this.toSeq().map((function(t){return t&&"function"==typeof t.toJSON?t.toJSON():t})).__toJS()},toKeyedSeq:function(){return new Le(this,!0)},toMap:function(){return Tt(this.toKeyedSeq())},toObject:function(){At(this.size);var t={};return this.__iterate((function(e,n){t[n]=e})),t},toOrderedMap:function(){return Ce(this.toKeyedSeq())},toOrderedSet:function(){return gn(s(this)?this.valueSeq():this)},toSet:function(){return cn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Ae(this)},toSeq:function(){return c(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Sn(s(this)?this.valueSeq():this)},toList:function(){return le(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){return Ze(this,Ke(this,t.call(arguments,0)))},includes:function(t){return this.some((function(e){return pt(e,t)}))},entries:function(){return this.__iterator(2)},every:function(t,e){At(this.size);var n=!0;return this.__iterate((function(r,o,i){if(!t.call(e,r,o,i))return n=!1,!1})),n},filter:function(t,e){return Ze(this,Be(this,t,e,!0))},find:function(t,e,n){var r=this.findEntry(t,e);return r?r[1]:n},findEntry:function(t,e){var n;return this.__iterate((function(r,o,i){if(t.call(e,r,o,i))return n=[o,r],!1})),n},findLastEntry:function(t,e){return this.toSeq().reverse().findEntry(t,e)},forEach:function(t,e){return At(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){At(this.size),t=void 0!==t?""+t:",";var e="",n=!0;return this.__iterate((function(r){n?n=!1:e+=t,e+=null!=r?r.toString():""})),e},keys:function(){return this.__iterator(0)},map:function(t,e){return Ze(this,Re(this,t,e))},reduce:function(t,e,n){var r,o;return At(this.size),arguments.length<2?o=!0:r=e,this.__iterate((function(e,i,a){o?(o=!1,r=e):r=t.call(n,r,e,i,a)})),r},reduceRight:function(t,e,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return Ze(this,Pe(this,!0))},slice:function(t,e){return Ze(this,Fe(this,t,e,!0))},some:function(t,e){return!this.every(An(t),e)},sort:function(t){return Ze(this,qe(this,t))},values:function(){return this.__iterator(1)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(t,e){return E(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return function(t,e,n){var r=Tt().asMutable();return t.__iterate((function(o,i){r.update(e.call(n,o,i,t),0,(function(t){return t+1}))})),r.asImmutable()}(this,t,e)},equals:function(t){return ft(this,t)},entrySeq:function(){var t=this;if(t._cache)return new G(t._cache);var e=t.toSeq().map(Nn).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(An(t),e)},findLast:function(t,e,n){return this.toKeyedSeq().reverse().find(t,e,n)},first:function(){return this.find(k)},flatMap:function(t,e){return Ze(this,function(t,e,n){var r=Je(t);return t.toSeq().map((function(o,i){return r(e.call(n,o,i,t))})).flatten(!0)}(this,t,e))},flatten:function(t){return Ze(this,He(this,t,!0))},fromEntrySeq:function(){return new Te(this)},get:function(t,e){return this.find((function(e,n){return pt(n,t)}),void 0,e)},getIn:function(t,e){for(var n,r=this,o=en(t);!(n=o.next()).done;){var i=n.value;if((r=r&&r.get?r.get(i,m):m)===m)return e}return r},groupBy:function(t,e){return function(t,e,n){var r=s(t),o=(l(t)?Ce():Tt()).asMutable();t.__iterate((function(i,a){o.update(e.call(n,i,a,t),(function(t){return(t=t||[]).push(r?[a,i]:i),t}))}));var i=Je(t);return o.map((function(e){return Ze(t,i(e))}))}(this,t,e)},has:function(t){return this.get(t,m)!==m},hasIn:function(t){return this.getIn(t,m)!==m},isSubset:function(t){return t="function"==typeof t.includes?t:n(t),this.every((function(e){return t.includes(e)}))},isSuperset:function(t){return(t="function"==typeof t.isSubset?t:n(t)).isSubset(this)},keySeq:function(){return this.toSeq().map(Ln).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(t){return Ye(this,t)},maxBy:function(t,e){return Ye(this,e,t)},min:function(t){return Ye(this,t?Tn(t):Pn)},minBy:function(t,e){return Ye(this,e?Tn(e):Pn,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return Ze(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return Ze(this,Ue(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(An(t),e)},sortBy:function(t,e){return Ze(this,qe(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return Ze(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return Ze(this,function(t,e,n){var r=Xe(t);return r.__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var a=0;return t.__iterate((function(t,o,s){return e.call(n,t,o,s)&&++a&&r(t,o,i)})),a},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var a=t.__iterator(2,o),s=!0;return new A((function(){if(!s)return{value:void 0,done:!0};var t=a.next();if(t.done)return t;var o=t.value,c=o[0],u=o[1];return e.call(n,u,c,i)?2===r?t:T(r,c,u,t):(s=!1,{value:void 0,done:!0})}))},r}(this,t,e))},takeUntil:function(t,e){return this.takeWhile(An(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(t){if(t.size===1/0)return 0;var e=l(t),n=s(t),r=e?1:0;return function(t,e){return e=_t(e,3432918353),e=_t(e<<15|e>>>-15,461845907),e=_t(e<<13|e>>>-13,5),e=_t((e=(e+3864292196|0)^t)^e>>>16,2246822507),wt((e=_t(e^e>>>13,3266489909))^e>>>16)}(t.__iterate(n?e?function(t,e){r=31*r+Bn(St(t),St(e))|0}:function(t,e){r=r+Bn(St(t),St(e))|0}:e?function(t){r=31*r+St(t)|0}:function(t){r=r+St(t)|0}),r)}(this))}});var On=n.prototype;On[p]=!0,On[N]=On.values,On.__toJS=On.toArray,On.__toStringMapper=zn,On.inspect=On.toSource=function(){return this.toString()},On.chain=On.flatMap,On.contains=On.includes,function(){try{Object.defineProperty(On,"length",{get:function(){if(!n.noLengthWarning){var t;try{throw new Error}catch(e){t=e.stack}if(-1===t.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+t),this.size}}})}catch(t){}}(),Dn(r,{flip:function(){return Ze(this,ze(this))},findKey:function(t,e){var n=this.findEntry(t,e);return n&&n[0]},findLastKey:function(t,e){return this.toSeq().reverse().findKey(t,e)},keyOf:function(t){return this.findKey((function(e){return pt(e,t)}))},lastKeyOf:function(t){return this.findLastKey((function(e){return pt(e,t)}))},mapEntries:function(t,e){var n=this,r=0;return Ze(this,this.toSeq().map((function(o,i){return t.call(e,[i,o],r++,n)})).fromEntrySeq())},mapKeys:function(t,e){var n=this;return Ze(this,this.toSeq().flip().map((function(r,o){return t.call(e,r,o,n)})).flip())}});var In=r.prototype;function Ln(t,e){return e}function Nn(t,e){return[e,t]}function An(t){return function(){return!t.apply(this,arguments)}}function Tn(t){return function(){return-t.apply(this,arguments)}}function zn(t){return"string"==typeof t?JSON.stringify(t):t}function Rn(){return M(arguments)}function Pn(t,e){return t<e?1:t>e?-1:0}function Bn(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}return In[f]=!0,In[N]=On.entries,In.__toJS=On.toObject,In.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+zn(t)},Dn(o,{toKeyedSeq:function(){return new Le(this,!1)},filter:function(t,e){return Ze(this,Be(this,t,e,!1))},findIndex:function(t,e){var n=this.findEntry(t,e);return n?n[0]:-1},indexOf:function(t){var e=this.toKeyedSeq().keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.toKeyedSeq().reverse().keyOf(t);return void 0===e?-1:e},reverse:function(){return Ze(this,Pe(this,!1))},slice:function(t,e){return Ze(this,Fe(this,t,e,!1))},splice:function(t,e){var n=arguments.length;if(e=Math.max(0|e,0),0===n||2===n&&!e)return this;t=j(t,t<0?this.count():this.size);var r=this.slice(0,t);return Ze(this,1===n?r:r.concat(M(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var n=this.toKeyedSeq().findLastKey(t,e);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(t){return Ze(this,He(this,t,!1))},get:function(t,e){return(t=x(this,t))<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find((function(e,n){return n===t}),void 0,e)},has:function(t){return(t=x(this,t))>=0&&(void 0!==this.size?this.size===1/0||t<this.size:-1!==this.indexOf(t))},interpose:function(t){return Ze(this,function(t,e){var n=Xe(t);return n.size=t.size&&2*t.size-1,n.__iterateUncached=function(n,r){var o=this,i=0;return t.__iterate((function(t,r){return(!i||!1!==n(e,i++,o))&&!1!==n(t,i++,o)}),r),i},n.__iteratorUncached=function(n,r){var o,i=t.__iterator(1,r),a=0;return new A((function(){return(!o||a%2)&&(o=i.next()).done?o:a%2?T(n,a++,e):T(n,a++,o.value,o)}))},n}(this,t))},interleave:function(){var t=[this].concat(M(arguments)),e=Qe(this.toSeq(),q.of,t),n=e.flatten(!0);return e.size&&(n.size=e.size*t.length),Ze(this,n)},last:function(){return this.get(-1)},skipWhile:function(t,e){return Ze(this,Ue(this,t,e,!1))},zip:function(){return Ze(this,Qe(this,Rn,[this].concat(M(arguments))))},zipWith:function(t){var e=M(arguments);return e[0]=this,Ze(this,Qe(this,t,e))}}),o.prototype[d]=!0,o.prototype[h]=!0,Dn(i,{get:function(t,e){return this.has(t)?t:e},includes:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}}),i.prototype.has=On.includes,Dn(H,r.prototype),Dn(q,o.prototype),Dn(Y,i.prototype),Dn(mt,r.prototype),Dn(vt,o.prototype),Dn(bt,i.prototype),{Iterable:n,Seq:K,Collection:gt,Map:Tt,OrderedMap:Ce,List:le,Stack:Sn,Set:cn,OrderedSet:gn,Record:nn,Range:yt,Repeat:dt,is:pt,fromJS:st}}()},97880:(t,e,n)=>{"use strict";var r=n(31251),o=n(52344),i=n(97109),a=new RegExp("\r\n","g"),s={"text/rtf":1,"text/html":1};function c(t){if("file"==t.kind)return t.getAsFile()}var u=function(){function t(t){this.data=t,this.types=t.types?o(t.types):[]}var e=t.prototype;return e.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(t){return s[t]}))},e.getText=function(){var t;return this.data.getData&&(this.types.length?-1!=this.types.indexOf("text/plain")&&(t=this.data.getData("text/plain")):t=this.data.getData("Text")),t?t.replace(a,"\n"):null},e.getHTML=function(){if(this.data.getData){if(!this.types.length)return this.data.getData("Text");if(-1!=this.types.indexOf("text/html"))return this.data.getData("text/html")}},e.isLink=function(){return this.types.some((function(t){return-1!=t.indexOf("Url")||-1!=t.indexOf("text/uri-list")||t.indexOf("text/x-moz-url")}))},e.getLink=function(){return this.data.getData?-1!=this.types.indexOf("text/x-moz-url")?this.data.getData("text/x-moz-url").split("\n")[0]:-1!=this.types.indexOf("text/uri-list")?this.data.getData("text/uri-list"):this.data.getData("url"):null},e.isImage=function(){var t=this.types.some((function(t){return-1!=t.indexOf("application/x-moz-file")}));if(t)return!0;for(var e=this.getFiles(),n=0;n<e.length;n++){var o=e[n].type;if(!r.isImage(o))return!1}return!0},e.getCount=function(){return this.data.hasOwnProperty("items")?this.data.items.length:this.data.hasOwnProperty("mozItemCount")?this.data.mozItemCount:this.data.files?this.data.files.length:null},e.getFiles=function(){return this.data.items?Array.prototype.slice.call(this.data.items).map(c).filter(i.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},e.hasFiles=function(){return this.getFiles().length>0},t}();t.exports=u},7482:t=>{"use strict";t.exports={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105}},31251:t=>{"use strict";var e={isImage:function(t){return"image"===n(t)[0]},isJpeg:function(t){var r=n(t);return e.isImage(t)&&("jpeg"===r[1]||"pjpeg"===r[1])}};function n(t){return t.split("/")}t.exports=e},31675:t=>{"use strict";function e(t,e){return!!e&&(t===e.documentElement||t===e.body)}var n={getTop:function(t){var n=t.ownerDocument;return e(t,n)?n.body.scrollTop||n.documentElement.scrollTop:t.scrollTop},setTop:function(t,n){var r=t.ownerDocument;e(t,r)?r.body.scrollTop=r.documentElement.scrollTop=n:t.scrollTop=n},getLeft:function(t){var n=t.ownerDocument;return e(t,n)?n.body.scrollLeft||n.documentElement.scrollLeft:t.scrollLeft},setLeft:function(t,n){var r=t.ownerDocument;e(t,r)?r.body.scrollLeft=r.documentElement.scrollLeft=n:t.scrollLeft=n}};t.exports=n},99986:(t,e,n)=>{"use strict";function r(t,e){var n=o.get(t,e);return"auto"===n||"scroll"===n}var o={get:n(98773),getScrollParent:function(t){if(!t)return null;for(var e=t.ownerDocument;t&&t!==e.body;){if(r(t,"overflow")||r(t,"overflowY")||r(t,"overflowX"))return t;t=t.parentNode}return e.defaultView||e.parentWindow}};t.exports=o},59878:t=>{"use strict";t.exports={getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}},2909:t=>{"use strict";var e=function(){function t(t){var e,n;n=void 0,(e="_uri")in this?Object.defineProperty(this,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):this._uri=n,this._uri=t}return t.prototype.toString=function(){return this._uri},t}();t.exports=e},35796:(t,e,n)=>{"use strict";var r=n(11021),o=n(73012),i="־׀׃׆-א-ת-ׯװ-ײ׳-״-߀-߉ߊ-ߪߴ-ߵߺ-߿ࠀ-ࠕࠚࠤࠨ-࠰-࠾ࡀ-ࡘ-࡞-࢟יִײַ-ﬨשׁ-זּטּ-לּמּנּ-סּףּ-פּצּ-ﭏ",a="؈؋؍؛؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍ܐܒ-ܯ-ݍ-ޥޱ-ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-ﯓ-ﴽ﵀-﵏ﵐ-ﶏ-ﶒ-ﷇ-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴﹶ-ﻼ-",s=new RegExp("[A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+i+a+"]"),c=new RegExp("["+i+a+"]");function u(t){var e=s.exec(t);return null==e?null:e[0]}function l(t){var e=u(t);return null==e?r.NEUTRAL:c.exec(e)?r.RTL:r.LTR}function p(t,e){if(e=e||r.NEUTRAL,!t.length)return e;var n=l(t);return n===r.NEUTRAL?e:n}function f(t,e){return e||(e=r.getGlobalDir()),r.isStrong(e)||o(!1),p(t,e)}var d={firstStrongChar:u,firstStrongCharDir:l,resolveBlockDir:p,getDirection:f,isDirectionLTR:function(t,e){return f(t,e)===r.LTR},isDirectionRTL:function(t,e){return f(t,e)===r.RTL}};t.exports=d},11021:(t,e,n)=>{"use strict";var r=n(73012),o="LTR",i=null;function a(t){return t===o||"RTL"===t}function s(t){return a(t)||r(!1),t===o?"ltr":"rtl"}function c(t){i=t}var u={NEUTRAL:"NEUTRAL",LTR:o,RTL:"RTL",isStrong:a,getHTMLDir:s,getHTMLDirIfDifferent:function(t,e){return a(t)||r(!1),a(e)||r(!1),t===e?null:s(t)},setGlobalDir:c,initGlobalDir:function(){c(o)},getGlobalDir:function(){return i||this.initGlobalDir(),i||r(!1),i}};t.exports=u},90209:(t,e,n)=>{"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(35796),i=n(11021),a=n(73012),s=function(){function t(t){r(this,"_defaultDir",void 0),r(this,"_lastDir",void 0),t?i.isStrong(t)||a(!1):t=i.getGlobalDir(),this._defaultDir=t,this.reset()}var e=t.prototype;return e.reset=function(){this._lastDir=this._defaultDir},e.getDirection=function(t){return this._lastDir=o.getDirection(t,this._lastDir),this._lastDir},t}();t.exports=s},13820:(t,e,n)=>{"use strict";var r=n(73012),o=/[\uD800-\uDFFF]/;function i(t){return 55296<=t&&t<=57343}function a(t){return o.test(t)}function s(t,e){return 1+i(t.charCodeAt(e))}function c(t,e,n){if(e=e||0,n=void 0===n?1/0:n||0,!a(t))return t.substr(e,n);var r=t.length;if(r<=0||e>r||n<=0)return"";var o=0;if(e>0){for(;e>0&&o<r;e--)o+=s(t,o);if(o>=r)return""}else if(e<0){for(o=r;e<0&&0<o;e++)o-=s(t,o-1);o<0&&(o=0)}var i=r;if(n<r)for(i=o;n>0&&i<r;n--)i+=s(t,i);return t.substring(o,i)}var u={getCodePoints:function(t){for(var e=[],n=0;n<t.length;n+=s(t,n))e.push(t.codePointAt(n));return e},getUTF16Length:s,hasSurrogateUnit:a,isCodeUnitInSurrogateRange:i,isSurrogatePair:function(t,e){if(0<=e&&e<t.length||r(!1),e+1===t.length)return!1;var n=t.charCodeAt(e),o=t.charCodeAt(e+1);return 55296<=n&&n<=56319&&56320<=o&&o<=57343},strlen:function(t){if(!a(t))return t.length;for(var e=0,n=0;n<t.length;n+=s(t,n))e++;return e},substring:function(t,e,n){(e=e||0)<0&&(e=0),(n=void 0===n?1/0:n||0)<0&&(n=0);var r=Math.abs(n-e);return c(t,e=e<n?e:n,r)},substr:c};t.exports=u},91355:(t,e,n)=>{"use strict";var r=n(21120),o=n(31503),i=n(95621),a=n(17786);function s(t,e,n,r){if(t===n)return!0;if(!n.startsWith(t))return!1;var i=n.slice(t.length);return!!e&&(i=r?r(i):i,o.contains(i,e))}function c(t){return"Windows"===r.platformName?t.replace(/^\s*NT/,""):t}var u={isBrowser:function(t){return s(r.browserName,r.browserFullVersion,t)},isBrowserArchitecture:function(t){return s(r.browserArchitecture,null,t)},isDevice:function(t){return s(r.deviceName,null,t)},isEngine:function(t){return s(r.engineName,r.engineVersion,t)},isPlatform:function(t){return s(r.platformName,r.platformFullVersion,t,c)},isPlatformArchitecture:function(t){return s(r.platformArchitecture,null,t)}};t.exports=i(u,a)},21120:(t,e,n)=>{"use strict";var r,o="Unknown",i=(new(n(52423))).getResult(),a=function(t){if(!t)return{major:"",minor:""};var e=t.split(".");return{major:e[0],minor:e[1]}}(i.browser.version),s={browserArchitecture:i.cpu.architecture||o,browserFullVersion:i.browser.version||o,browserMinorVersion:a.minor||o,browserName:i.browser.name||o,browserVersion:i.browser.major||o,deviceName:i.device.model||o,engineName:i.engine.name||o,engineVersion:i.engine.version||o,platformArchitecture:i.cpu.architecture||o,platformName:(r=i.os.name,{"Mac OS":"Mac OS X"}[r]||r||o),platformVersion:i.os.version||o,platformFullVersion:i.os.version||o};t.exports=s},31503:(t,e,n)=>{"use strict";var r=n(73012),o=/\./,i=/\|\|/,a=/\s+\-\s+/,s=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,c=/^(\d*)(.*)/;function u(t,e){if(""===(t=t.trim()))return!0;var n,r=e.split(o),i=f(t),a=i.modifier,s=i.rangeComponents;switch(a){case"<":return l(r,s);case"<=":return-1===(n=v(r,s))||0===n;case">=":return p(r,s);case">":return 1===v(r,s);case"~":case"~>":return function(t,e){var n=e.slice(),r=e.slice();r.length>1&&r.pop();var o=r.length-1,i=parseInt(r[o],10);return d(i)&&(r[o]=i+1+""),p(t,n)&&l(t,r)}(r,s);default:return function(t,e){return 0===v(t,e)}(r,s)}}function l(t,e){return-1===v(t,e)}function p(t,e){var n=v(t,e);return 1===n||0===n}function f(t){var e=t.split(o),n=e[0].match(s);return n||r(!1),{modifier:n[1],rangeComponents:[n[2]].concat(e.slice(1))}}function d(t){return!isNaN(t)&&isFinite(t)}function h(t){return!f(t).modifier}function y(t,e){for(var n=t.length;n<e;n++)t[n]="0"}function g(t,e){var n=t.match(c)[1],r=e.match(c)[1],o=parseInt(n,10),i=parseInt(r,10);return d(o)&&d(i)&&o!==i?m(o,i):m(t,e)}function m(t,e){return typeof t!=typeof e&&r(!1),t>e?1:t<e?-1:0}function v(t,e){for(var n=function(t,e){y(t=t.slice(),(e=e.slice()).length);for(var n=0;n<e.length;n++){var r=e[n].match(/^[x*]$/i);if(r&&(e[n]=t[n]="0","*"===r[0]&&n===e.length-1))for(var o=n;o<t.length;o++)t[o]="0"}return y(e,t.length),[t,e]}(t,e),r=n[0],o=n[1],i=0;i<o.length;i++){var a=g(r[i],o[i]);if(a)return a}return 0}var b={contains:function(t,e){return function(t,e){var n=t.split(i);return n.length>1?n.some((function(t){return b.contains(t,e)})):function(t,e){var n=t.split(a);if(n.length>0&&n.length<=2||r(!1),1===n.length)return u(n[0],e);var o=n[0],i=n[1];return h(o)&&h(i)||r(!1),u(">="+o,e)&&u("<="+i,e)}(t=n[0].trim(),e)}(t.trim(),e.trim())}};t.exports=b},76458:t=>{"use strict";var e=/-(.)/g;t.exports=function(t){return t.replace(e,(function(t,e){return e.toUpperCase()}))}},61530:(t,e,n)=>{"use strict";var r=n(30854);t.exports=function t(e,n){return!(!e||!n)&&(e===n||!r(e)&&(r(n)?t(e,n.parentNode):"contains"in e?e.contains(n):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(n))))}},52344:(t,e,n)=>{"use strict";var r=n(73012);t.exports=function(t){return function(t){return!!t&&("object"==typeof t||"function"==typeof t)&&"length"in t&&!("setInterval"in t)&&"number"!=typeof t.nodeType&&(Array.isArray(t)||"callee"in t||"item"in t)}(t)?Array.isArray(t)?t.slice():function(t){var e=t.length;if((Array.isArray(t)||"object"!=typeof t&&"function"!=typeof t)&&r(!1),"number"!=typeof e&&r(!1),0===e||e-1 in t||r(!1),"function"==typeof t.callee&&r(!1),t.hasOwnProperty)try{return Array.prototype.slice.call(t)}catch(t){}for(var n=Array(e),o=0;o<e;o++)n[o]=t[o];return n}(t):[t]}},2775:t=>{"use strict";function e(t){return t.replace(/\//g,"-")}t.exports=function(t){return"object"==typeof t?Object.keys(t).filter((function(e){return t[e]})).map(e).join(" "):Array.prototype.map.call(arguments,e).join(" ")}},97109:t=>{"use strict";function e(t){return function(){return t}}var n=function(){};n.thatReturns=e,n.thatReturnsFalse=e(!1),n.thatReturnsTrue=e(!0),n.thatReturnsNull=e(null),n.thatReturnsThis=function(){return this},n.thatReturnsArgument=function(t){return t},t.exports=n},16838:t=>{"use strict";t.exports=function(t){if(void 0===(t=t||("undefined"!=typeof document?document:void 0)))return null;try{return t.activeElement||t.body}catch(e){return t.body}}},35338:t=>{"use strict";var e="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;t.exports=function(t){return(t=t||document).scrollingElement?t.scrollingElement:e||"CSS1Compat"!==t.compatMode?t.body:t.documentElement}},87008:(t,e,n)=>{"use strict";var r=n(42624);t.exports=function(t){var e=r(t);return{x:e.left,y:e.top,width:e.right-e.left,height:e.bottom-e.top}}},42624:(t,e,n)=>{"use strict";var r=n(61530);t.exports=function(t){var e=t.ownerDocument.documentElement;if(!("getBoundingClientRect"in t)||!r(e,t))return{left:0,right:0,top:0,bottom:0};var n=t.getBoundingClientRect();return{left:Math.round(n.left)-e.clientLeft,right:Math.round(n.right)-e.clientLeft,top:Math.round(n.top)-e.clientTop,bottom:Math.round(n.bottom)-e.clientTop}}},51702:(t,e,n)=>{"use strict";var r=n(35338),o=n(79838);t.exports=function(t){var e=r(t.ownerDocument||t.document);t.Window&&t instanceof t.Window&&(t=e);var n=o(t),i=t===e?t.ownerDocument.documentElement:t,a=t.scrollWidth-i.clientWidth,s=t.scrollHeight-i.clientHeight;return n.x=Math.max(0,Math.min(n.x,a)),n.y=Math.max(0,Math.min(n.y,s)),n}},98773:(t,e,n)=>{"use strict";var r=n(76458),o=n(43678);function i(t){return null==t?t:String(t)}t.exports=function(t,e){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(t,null)))return i(n.getPropertyValue(o(e)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(t,null))return i(n.getPropertyValue(o(e)));if("display"===e)return"none"}return t.currentStyle?i("float"===e?t.currentStyle.cssFloat||t.currentStyle.styleFloat:t.currentStyle[r(e)]):i(t.style&&t.style[r(e)])}},79838:t=>{"use strict";t.exports=function(t){return t.Window&&t instanceof t.Window?{x:t.pageXOffset||t.document.documentElement.scrollLeft,y:t.pageYOffset||t.document.documentElement.scrollTop}:{x:t.scrollLeft,y:t.scrollTop}}},90333:t=>{"use strict";function e(){var t;return document.documentElement&&(t=document.documentElement.clientWidth),!t&&document.body&&(t=document.body.clientWidth),t||0}function n(){var t;return document.documentElement&&(t=document.documentElement.clientHeight),!t&&document.body&&(t=document.body.clientHeight),t||0}function r(){return{width:window.innerWidth||e(),height:window.innerHeight||n()}}r.withoutScrollbars=function(){return{width:e(),height:n()}},t.exports=r},43678:t=>{"use strict";var e=/([A-Z])/g;t.exports=function(t){return t.replace(e,"-$1").toLowerCase()}},73012:t=>{"use strict";t.exports=function(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];if(!t){var i;if(void 0===e)i=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var a=0;(i=new Error(e.replace(/%s/g,(function(){return String(r[a++])})))).name="Invariant Violation"}throw i.framesToPop=1,i}}},74201:t=>{"use strict";t.exports=function(t){var e=(t?t.ownerDocument||t:document).defaultView||window;return!(!t||!("function"==typeof e.Node?t instanceof e.Node:"object"==typeof t&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName))}},30854:(t,e,n)=>{"use strict";var r=n(74201);t.exports=function(t){return r(t)&&3==t.nodeType}},52433:t=>{"use strict";t.exports=function(t){var e=t||"",n=arguments.length;if(n>1)for(var r=1;r<n;r++){var o=arguments[r];o&&(e=(e?e+" ":"")+o)}return e}},95621:t=>{"use strict";var e=Object.prototype.hasOwnProperty;t.exports=function(t,n,r){if(!t)return null;var o={};for(var i in t)e.call(t,i)&&(o[i]=n.call(r,t[i],i,t));return o}},17786:t=>{"use strict";t.exports=function(t){var e={};return function(n){return e.hasOwnProperty(n)||(e[n]=t.call(this,n)),e[n]}}},98392:t=>{"use strict";t.exports=function(t){if(null!=t)return t;throw new Error("Got unexpected null or undefined")}},55060:(t,e,n)=>{"use strict";n(67257),t.exports=n.g.setImmediate},85806:(t,e,n)=>{"use strict";var r=n(97109);t.exports=r},11203:(t,e,n)=>{"use strict";n.r(e),n.d(e,{Collection:()=>M,Iterable:()=>Sr,List:()=>rn,Map:()=>Ne,OrderedMap:()=>vn,OrderedSet:()=>ir,Range:()=>Kn,Record:()=>lr,Repeat:()=>mr,Seq:()=>Y,Set:()=>Tn,Stack:()=>En,default:()=>Mr,fromJS:()=>vr,get:()=>re,getIn:()=>Hn,has:()=>ne,hasIn:()=>Yn,hash:()=>pt,is:()=>st,isAssociative:()=>S,isCollection:()=>m,isImmutable:()=>I,isIndexed:()=>w,isKeyed:()=>b,isList:()=>nn,isMap:()=>ot,isOrdered:()=>N,isOrderedMap:()=>it,isOrderedSet:()=>In,isPlainObject:()=>$t,isRecord:()=>O,isSeq:()=>j,isSet:()=>On,isStack:()=>Mn,isValueObject:()=>at,merge:()=>be,mergeDeep:()=>we,mergeDeepWith:()=>Se,mergeWith:()=>_e,remove:()=>ie,removeIn:()=>pe,set:()=>ae,setIn:()=>ue,update:()=>de,updateIn:()=>se,version:()=>wr});var r=32,o=31,i={};function a(t){t&&(t.value=!0)}function s(){}function c(t){return void 0===t.size&&(t.size=t.__iterate(l)),t.size}function u(t,e){if("number"!=typeof e){var n=e>>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?c(t)+e:e}function l(){return!0}function p(t,e,n){return(0===t&&!y(t)||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function f(t,e){return h(t,e,0)}function d(t,e){return h(t,e,e)}function h(t,e,n){return void 0===t?n:y(t)?e===1/0?e:0|Math.max(0,e+t):void 0===e||e===t?t:0|Math.min(e,t)}function y(t){return t<0||0===t&&1/t==-1/0}var g="@@__IMMUTABLE_ITERABLE__@@";function m(t){return Boolean(t&&t[g])}var v="@@__IMMUTABLE_KEYED__@@";function b(t){return Boolean(t&&t[v])}var _="@@__IMMUTABLE_INDEXED__@@";function w(t){return Boolean(t&&t[_])}function S(t){return b(t)||w(t)}var M=function(t){return m(t)?t:Y(t)},E=function(t){function e(t){return b(t)?t:W(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(M),x=function(t){function e(t){return w(t)?t:Q(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(M),k=function(t){function e(t){return m(t)&&!S(t)?t:Z(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(M);M.Keyed=E,M.Indexed=x,M.Set=k;var C="@@__IMMUTABLE_SEQ__@@";function j(t){return Boolean(t&&t[C])}var D="@@__IMMUTABLE_RECORD__@@";function O(t){return Boolean(t&&t[D])}function I(t){return m(t)||O(t)}var L="@@__IMMUTABLE_ORDERED__@@";function N(t){return Boolean(t&&t[L])}var A="function"==typeof Symbol&&Symbol.iterator,T=A||"@@iterator",z=function(t){this.next=t};function R(t,e,n,r){var o=0===t?e:1===t?n:[e,n];return r?r.value=o:r={value:o,done:!1},r}function P(){return{value:void 0,done:!0}}function B(t){return!!Array.isArray(t)||!!K(t)}function F(t){return t&&"function"==typeof t.next}function U(t){var e=K(t);return e&&e.call(t)}function K(t){var e=t&&(A&&t[A]||t["@@iterator"]);if("function"==typeof e)return e}z.prototype.toString=function(){return"[Iterator]"},z.KEYS=0,z.VALUES=1,z.ENTRIES=2,z.prototype.inspect=z.prototype.toSource=function(){return this.toString()},z.prototype[T]=function(){return this};var H=Object.prototype.hasOwnProperty;function q(t){return!(!Array.isArray(t)&&"string"!=typeof t)||t&&"object"==typeof t&&Number.isInteger(t.length)&&t.length>=0&&(0===t.length?1===Object.keys(t).length:t.hasOwnProperty(t.length-1))}var Y=function(t){function e(t){return null==t?$():I(t)?t.toSeq():function(t){var e,n,r=nt(t);if(r)return(n=K(e=t))&&n===e.entries?r.fromEntrySeq():function(t){var e=K(t);return e&&e===t.keys}(t)?r.toSetSeq():r;if("object"==typeof t)return new G(t);throw new TypeError("Expected Array or collection object of values, or keyed object: "+t)}(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toSeq=function(){return this},e.prototype.toString=function(){return this.__toString("Seq {","}")},e.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},e.prototype.__iterate=function(t,e){var n=this._cache;if(n){for(var r=n.length,o=0;o!==r;){var i=n[e?r-++o:o++];if(!1===t(i[1],i[0],this))break}return o}return this.__iterateUncached(t,e)},e.prototype.__iterator=function(t,e){var n=this._cache;if(n){var r=n.length,o=0;return new z((function(){if(o===r)return{value:void 0,done:!0};var i=n[e?r-++o:o++];return R(t,i[0],i[1])}))}return this.__iteratorUncached(t,e)},e}(M),W=function(t){function e(t){return null==t?$().toKeyedSeq():m(t)?b(t)?t.toSeq():t.fromEntrySeq():O(t)?t.toSeq():tt(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toKeyedSeq=function(){return this},e}(Y),Q=function(t){function e(t){return null==t?$():m(t)?b(t)?t.entrySeq():t.toIndexedSeq():O(t)?t.toSeq().entrySeq():et(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return e(arguments)},e.prototype.toIndexedSeq=function(){return this},e.prototype.toString=function(){return this.__toString("Seq [","]")},e}(Y),Z=function(t){function e(t){return(m(t)&&!S(t)?t:Q(t)).toSetSeq()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return e(arguments)},e.prototype.toSetSeq=function(){return this},e}(Y);Y.isSeq=j,Y.Keyed=W,Y.Set=Z,Y.Indexed=Q,Y.prototype[C]=!0;var V=function(t){function e(t){this._array=t,this.size=t.length}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t,e){return this.has(t)?this._array[u(this,t)]:e},e.prototype.__iterate=function(t,e){for(var n=this._array,r=n.length,o=0;o!==r;){var i=e?r-++o:o++;if(!1===t(n[i],i,this))break}return o},e.prototype.__iterator=function(t,e){var n=this._array,r=n.length,o=0;return new z((function(){if(o===r)return{value:void 0,done:!0};var i=e?r-++o:o++;return R(t,i,n[i])}))},e}(Q),G=function(t){function e(t){var e=Object.keys(t).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[]);this._object=t,this._keys=e,this.size=e.length}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},e.prototype.has=function(t){return H.call(this._object,t)},e.prototype.__iterate=function(t,e){for(var n=this._object,r=this._keys,o=r.length,i=0;i!==o;){var a=r[e?o-++i:i++];if(!1===t(n[a],a,this))break}return i},e.prototype.__iterator=function(t,e){var n=this._object,r=this._keys,o=r.length,i=0;return new z((function(){if(i===o)return{value:void 0,done:!0};var a=r[e?o-++i:i++];return R(t,a,n[a])}))},e}(W);G.prototype[L]=!0;var J,X=function(t){function e(t){this._collection=t,this.size=t.length||t.size}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=U(this._collection),r=0;if(F(n))for(var o;!(o=n.next()).done&&!1!==t(o.value,r++,this););return r},e.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=U(this._collection);if(!F(n))return new z(P);var r=0;return new z((function(){var e=n.next();return e.done?e:R(t,r++,e.value)}))},e}(Q);function $(){return J||(J=new V([]))}function tt(t){var e=nt(t);if(e)return e.fromEntrySeq();if("object"==typeof t)return new G(t);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+t)}function et(t){var e=nt(t);if(e)return e;throw new TypeError("Expected Array or collection object of values: "+t)}function nt(t){return q(t)?new V(t):B(t)?new X(t):void 0}var rt="@@__IMMUTABLE_MAP__@@";function ot(t){return Boolean(t&&t[rt])}function it(t){return ot(t)&&N(t)}function at(t){return Boolean(t&&"function"==typeof t.equals&&"function"==typeof t.hashCode)}function st(t,e){if(t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if((t=t.valueOf())===(e=e.valueOf())||t!=t&&e!=e)return!0;if(!t||!e)return!1}return!!(at(t)&&at(e)&&t.equals(e))}var ct="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){var n=65535&(t|=0),r=65535&(e|=0);return n*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0};function ut(t){return t>>>1&1073741824|3221225471&t}var lt=Object.prototype.valueOf;function pt(t){if(null==t)return ft(t);if("function"==typeof t.hashCode)return ut(t.hashCode(t));var e,n,r,o=(e=t).valueOf!==lt&&"function"==typeof e.valueOf?e.valueOf(e):e;if(null==o)return ft(o);switch(typeof o){case"boolean":return o?1108378657:1108378656;case"number":return function(t){if(t!=t||t===1/0)return 0;var e=0|t;for(e!==t&&(e^=4294967295*t);t>4294967295;)e^=t/=4294967295;return ut(e)}(o);case"string":return o.length>St?(void 0===(r=xt[n=o])&&(r=dt(n),Et===Mt&&(Et=0,xt={}),Et++,xt[n]=r),r):dt(o);case"object":case"function":return function(t){var e;if(vt&&void 0!==(e=mt.get(t)))return e;if(void 0!==(e=t[wt]))return e;if(!yt){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[wt]))return e;if(void 0!==(e=function(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}(t)))return e}if(e=gt(),vt)mt.set(t,e);else{if(void 0!==ht&&!1===ht(t))throw new Error("Non-extensible objects are not allowed as keys.");if(yt)Object.defineProperty(t,wt,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(void 0!==t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[wt]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[wt]=e}}return e}(o);case"symbol":return function(t){var e=bt[t];return void 0!==e||(e=gt(),bt[t]=e),e}(o);default:if("function"==typeof o.toString)return dt(o.toString());throw new Error("Value type "+typeof o+" cannot be hashed.")}}function ft(t){return null===t?1108378658:1108378659}function dt(t){for(var e=0,n=0;n<t.length;n++)e=31*e+t.charCodeAt(n)|0;return ut(e)}var ht=Object.isExtensible,yt=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}();function gt(){var t=++_t;return 1073741824&_t&&(_t=0),t}var mt,vt="function"==typeof WeakMap;vt&&(mt=new WeakMap);var bt=Object.create(null),_t=0,wt="__immutablehash__";"function"==typeof Symbol&&(wt=Symbol(wt));var St=16,Mt=255,Et=0,xt={},kt=function(t){function e(t,e){this._iter=t,this._useKeys=e,this.size=t.size}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t,e){return this._iter.get(t,e)},e.prototype.has=function(t){return this._iter.has(t)},e.prototype.valueSeq=function(){return this._iter.valueSeq()},e.prototype.reverse=function(){var t=this,e=Lt(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},e.prototype.map=function(t,e){var n=this,r=It(this,t,e);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(t,e)}),r},e.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate((function(e,r){return t(e,r,n)}),e)},e.prototype.__iterator=function(t,e){return this._iter.__iterator(t,e)},e}(W);kt.prototype[L]=!0;var Ct=function(t){function e(t){this._iter=t,this.size=t.size}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.includes=function(t){return this._iter.includes(t)},e.prototype.__iterate=function(t,e){var n=this,r=0;return e&&c(this),this._iter.__iterate((function(o){return t(o,e?n.size-++r:r++,n)}),e)},e.prototype.__iterator=function(t,e){var n=this,r=this._iter.__iterator(1,e),o=0;return e&&c(this),new z((function(){var i=r.next();return i.done?i:R(t,e?n.size-++o:o++,i.value,i)}))},e}(Q),jt=function(t){function e(t){this._iter=t,this.size=t.size}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.has=function(t){return this._iter.includes(t)},e.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate((function(e){return t(e,e,n)}),e)},e.prototype.__iterator=function(t,e){var n=this._iter.__iterator(1,e);return new z((function(){var e=n.next();return e.done?e:R(t,e.value,e.value,e)}))},e}(Z),Dt=function(t){function e(t){this._iter=t,this.size=t.size}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.entrySeq=function(){return this._iter.toSeq()},e.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate((function(e){if(e){Ht(e);var r=m(e);return t(r?e.get(1):e[1],r?e.get(0):e[0],n)}}),e)},e.prototype.__iterator=function(t,e){var n=this._iter.__iterator(1,e);return new z((function(){for(;;){var e=n.next();if(e.done)return e;var r=e.value;if(r){Ht(r);var o=m(r);return R(t,o?r.get(0):r[0],o?r.get(1):r[1],e)}}}))},e}(W);function Ot(t){var e=Yt(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=Wt,e.__iterateUncached=function(e,n){var r=this;return t.__iterate((function(t,n){return!1!==e(n,t,r)}),n)},e.__iteratorUncached=function(e,n){if(2===e){var r=t.__iterator(e,n);return new z((function(){var t=r.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t}))}return t.__iterator(1===e?0:1,n)},e}function It(t,e,n){var r=Yt(t);return r.size=t.size,r.has=function(e){return t.has(e)},r.get=function(r,o){var a=t.get(r,i);return a===i?o:e.call(n,a,r,t)},r.__iterateUncached=function(r,o){var i=this;return t.__iterate((function(t,o,a){return!1!==r(e.call(n,t,o,a),o,i)}),o)},r.__iteratorUncached=function(r,o){var i=t.__iterator(2,o);return new z((function(){var o=i.next();if(o.done)return o;var a=o.value,s=a[0];return R(r,s,e.call(n,a[1],s,t),o)}))},r}function Lt(t,e){var n=this,r=Yt(t);return r._iter=t,r.size=t.size,r.reverse=function(){return t},t.flip&&(r.flip=function(){var e=Ot(t);return e.reverse=function(){return t.flip()},e}),r.get=function(n,r){return t.get(e?n:-1-n,r)},r.has=function(n){return t.has(e?n:-1-n)},r.includes=function(e){return t.includes(e)},r.cacheResult=Wt,r.__iterate=function(n,r){var o=this,i=0;return r&&c(t),t.__iterate((function(t,a){return n(t,e?a:r?o.size-++i:i++,o)}),!r)},r.__iterator=function(r,o){var i=0;o&&c(t);var a=t.__iterator(2,!o);return new z((function(){var t=a.next();if(t.done)return t;var s=t.value;return R(r,e?s[0]:o?n.size-++i:i++,s[1],t)}))},r}function Nt(t,e,n,r){var o=Yt(t);return r&&(o.has=function(r){var o=t.get(r,i);return o!==i&&!!e.call(n,o,r,t)},o.get=function(r,o){var a=t.get(r,i);return a!==i&&e.call(n,a,r,t)?a:o}),o.__iterateUncached=function(o,i){var a=this,s=0;return t.__iterate((function(t,i,c){if(e.call(n,t,i,c))return s++,o(t,r?i:s-1,a)}),i),s},o.__iteratorUncached=function(o,i){var a=t.__iterator(2,i),s=0;return new z((function(){for(;;){var i=a.next();if(i.done)return i;var c=i.value,u=c[0],l=c[1];if(e.call(n,l,u,t))return R(o,r?u:s++,l,i)}}))},o}function At(t,e,n,r){var o=t.size;if(p(e,n,o))return t;var i=f(e,o),a=d(n,o);if(i!=i||a!=a)return At(t.toSeq().cacheResult(),e,n,r);var s,c=a-i;c==c&&(s=c<0?0:c);var l=Yt(t);return l.size=0===s?s:t.size&&s||void 0,!r&&j(t)&&s>=0&&(l.get=function(e,n){return(e=u(this,e))>=0&&e<s?t.get(e+i,n):n}),l.__iterateUncached=function(e,n){var o=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(e,n);var a=0,c=!0,u=0;return t.__iterate((function(t,n){if(!c||!(c=a++<i))return u++,!1!==e(t,r?n:u-1,o)&&u!==s})),u},l.__iteratorUncached=function(e,n){if(0!==s&&n)return this.cacheResult().__iterator(e,n);if(0===s)return new z(P);var o=t.__iterator(e,n),a=0,c=0;return new z((function(){for(;a++<i;)o.next();if(++c>s)return{value:void 0,done:!0};var t=o.next();return r||1===e||t.done?t:R(e,c-1,0===e?void 0:t.value[1],t)}))},l}function Tt(t,e,n,r){var o=Yt(t);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,c=0;return t.__iterate((function(t,i,u){if(!s||!(s=e.call(n,t,i,u)))return c++,o(t,r?i:c-1,a)})),c},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=t.__iterator(2,i),c=!0,u=0;return new z((function(){var t,i,l;do{if((t=s.next()).done)return r||1===o?t:R(o,u++,0===o?void 0:t.value[1],t);var p=t.value;i=p[0],l=p[1],c&&(c=e.call(n,l,i,a))}while(c);return 2===o?t:R(o,i,l,t)}))},o}function zt(t,e){var n=b(t),r=[t].concat(e).map((function(t){return m(t)?n&&(t=E(t)):t=n?tt(t):et(Array.isArray(t)?t:[t]),t})).filter((function(t){return 0!==t.size}));if(0===r.length)return t;if(1===r.length){var o=r[0];if(o===t||n&&b(o)||w(t)&&w(o))return o}var i=new V(r);return n?i=i.toKeyedSeq():w(t)||(i=i.toSetSeq()),(i=i.flatten(!0)).size=r.reduce((function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}}),0),i}function Rt(t,e,n){var r=Yt(t);return r.__iterateUncached=function(o,i){if(i)return this.cacheResult().__iterate(o,i);var a=0,s=!1;return function t(c,u){c.__iterate((function(i,c){return(!e||u<e)&&m(i)?t(i,u+1):(a++,!1===o(i,n?c:a-1,r)&&(s=!0)),!s}),i)}(t,0),a},r.__iteratorUncached=function(r,o){if(o)return this.cacheResult().__iterator(r,o);var i=t.__iterator(r,o),a=[],s=0;return new z((function(){for(;i;){var t=i.next();if(!1===t.done){var c=t.value;if(2===r&&(c=c[1]),e&&!(a.length<e)||!m(c))return n?t:R(r,s++,c,t);a.push(i),i=c.__iterator(r,o)}else i=a.pop()}return{value:void 0,done:!0}}))},r}function Pt(t,e,n){e||(e=Qt);var r=b(t),o=0,i=t.toSeq().map((function(e,r){return[r,e,o++,n?n(e,r,t):e]})).valueSeq().toArray();return i.sort((function(t,n){return e(t[3],n[3])||t[2]-n[2]})).forEach(r?function(t,e){i[e].length=2}:function(t,e){i[e]=t[1]}),r?W(i):w(t)?Q(i):Z(i)}function Bt(t,e,n){if(e||(e=Qt),n){var r=t.toSeq().map((function(e,r){return[e,n(e,r,t)]})).reduce((function(t,n){return Ft(e,t[1],n[1])?n:t}));return r&&r[0]}return t.reduce((function(t,n){return Ft(e,t,n)?n:t}))}function Ft(t,e,n){var r=t(n,e);return 0===r&&n!==e&&(null==n||n!=n)||r>0}function Ut(t,e,n,r){var o=Yt(t),i=new V(n).map((function(t){return t.size}));return o.size=r?i.max():i.min(),o.__iterate=function(t,e){for(var n,r=this.__iterator(1,e),o=0;!(n=r.next()).done&&!1!==t(n.value,o++,this););return o},o.__iteratorUncached=function(t,o){var i=n.map((function(t){return t=M(t),U(o?t.reverse():t)})),a=0,s=!1;return new z((function(){var n;return s||(n=i.map((function(t){return t.next()})),s=r?n.every((function(t){return t.done})):n.some((function(t){return t.done}))),s?{value:void 0,done:!0}:R(t,a++,e.apply(null,n.map((function(t){return t.value}))))}))},o}function Kt(t,e){return t===e?t:j(t)?e:t.constructor(e)}function Ht(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function qt(t){return b(t)?E:w(t)?x:k}function Yt(t){return Object.create((b(t)?W:w(t)?Q:Z).prototype)}function Wt(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):Y.prototype.cacheResult.call(this)}function Qt(t,e){return void 0===t&&void 0===e?0:void 0===t?1:void 0===e?-1:t>e?1:t<e?-1:0}function Zt(t,e){e=e||0;for(var n=Math.max(0,t.length-e),r=new Array(n),o=0;o<n;o++)r[o]=t[o+e];return r}function Vt(t,e){if(!t)throw new Error(e)}function Gt(t){Vt(t!==1/0,"Cannot perform this action with an infinite size.")}function Jt(t){if(q(t)&&"string"!=typeof t)return t;if(N(t))return t.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+t)}Ct.prototype.cacheResult=kt.prototype.cacheResult=jt.prototype.cacheResult=Dt.prototype.cacheResult=Wt;var Xt=Object.prototype.toString;function $t(t){if(!t||"object"!=typeof t||"[object Object]"!==Xt.call(t))return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var n=e,r=Object.getPrototypeOf(e);null!==r;)n=r,r=Object.getPrototypeOf(n);return n===e}function te(t){return"object"==typeof t&&(I(t)||Array.isArray(t)||$t(t))}function ee(t){try{return"string"==typeof t?JSON.stringify(t):String(t)}catch(e){return JSON.stringify(t)}}function ne(t,e){return I(t)?t.has(e):te(t)&&H.call(t,e)}function re(t,e,n){return I(t)?t.get(e,n):ne(t,e)?"function"==typeof t.get?t.get(e):t[e]:n}function oe(t){if(Array.isArray(t))return Zt(t);var e={};for(var n in t)H.call(t,n)&&(e[n]=t[n]);return e}function ie(t,e){if(!te(t))throw new TypeError("Cannot update non-data-structure value: "+t);if(I(t)){if(!t.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+t);return t.remove(e)}if(!H.call(t,e))return t;var n=oe(t);return Array.isArray(n)?n.splice(e,1):delete n[e],n}function ae(t,e,n){if(!te(t))throw new TypeError("Cannot update non-data-structure value: "+t);if(I(t)){if(!t.set)throw new TypeError("Cannot update immutable value without .set() method: "+t);return t.set(e,n)}if(H.call(t,e)&&n===t[e])return t;var r=oe(t);return r[e]=n,r}function se(t,e,n,r){r||(r=n,n=void 0);var o=ce(I(t),t,Jt(e),0,n,r);return o===i?n:o}function ce(t,e,n,r,o,a){var s=e===i;if(r===n.length){var c=s?o:e,u=a(c);return u===c?e:u}if(!s&&!te(e))throw new TypeError("Cannot update within non-data-structure value in path ["+n.slice(0,r).map(ee)+"]: "+e);var l=n[r],p=s?i:re(e,l,i),f=ce(p===i?t:I(p),p,n,r+1,o,a);return f===p?e:f===i?ie(e,l):ae(s?t?Ye():{}:e,l,f)}function ue(t,e,n){return se(t,e,i,(function(){return n}))}function le(t,e){return ue(this,t,e)}function pe(t,e){return se(t,e,(function(){return i}))}function fe(t){return pe(this,t)}function de(t,e,n,r){return se(t,[e],n,r)}function he(t,e,n){return 1===arguments.length?t(this):de(this,t,e,n)}function ye(t,e,n){return se(this,t,e,n)}function ge(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return ve(this,t)}function me(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];if("function"!=typeof t)throw new TypeError("Invalid merger function: "+t);return ve(this,e,t)}function ve(t,e,n){for(var r=[],o=0;o<e.length;o++){var a=E(e[o]);0!==a.size&&r.push(a)}return 0===r.length?t:0!==t.toSeq().size||t.__ownerID||1!==r.length?t.withMutations((function(t){for(var e=n?function(e,r){de(t,r,i,(function(t){return t===i?e:n(t,e,r)}))}:function(e,n){t.set(n,e)},o=0;o<r.length;o++)r[o].forEach(e)})):t.constructor(r[0])}function be(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];return Ee(t,e)}function _e(t,e){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];return Ee(e,n,t)}function we(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];return Me(t,e)}function Se(t,e){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];return Me(e,n,t)}function Me(t,e,n){return Ee(t,e,function(t){return function e(n,r,o){return te(n)&&te(r)&&(i=r,a=Y(n),s=Y(i),w(a)===w(s)&&b(a)===b(s))?Ee(n,[r],e):t?t(n,r,o):r;var i,a,s}}(n))}function Ee(t,e,n){if(!te(t))throw new TypeError("Cannot merge into non-data-structure value: "+t);if(I(t))return"function"==typeof n&&t.mergeWith?t.mergeWith.apply(t,[n].concat(e)):t.merge?t.merge.apply(t,e):t.concat.apply(t,e);for(var r=Array.isArray(t),o=t,i=r?x:E,a=r?function(e){o===t&&(o=oe(o)),o.push(e)}:function(e,r){var i=H.call(o,r),a=i&&n?n(o[r],e,r):e;i&&a===o[r]||(o===t&&(o=oe(o)),o[r]=a)},s=0;s<e.length;s++)i(e[s]).forEach(a);return o}function xe(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return Me(this,t)}function ke(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];return Me(this,e,t)}function Ce(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];return se(this,t,Ye(),(function(t){return Ee(t,e)}))}function je(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];return se(this,t,Ye(),(function(t){return Me(t,e)}))}function De(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this}function Oe(){return this.__ownerID?this:this.__ensureOwner(new s)}function Ie(){return this.__ensureOwner()}function Le(){return this.__altered}var Ne=function(t){function e(e){return null==e?Ye():ot(e)&&!N(e)?e:Ye().withMutations((function(n){var r=t(e);Gt(r.size),r.forEach((function(t,e){return n.set(e,t)}))}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return Ye().withMutations((function(e){for(var n=0;n<t.length;n+=2){if(n+1>=t.length)throw new Error("Missing value for key: "+t[n]);e.set(t[n],t[n+1])}}))},e.prototype.toString=function(){return this.__toString("Map {","}")},e.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},e.prototype.set=function(t,e){return We(this,t,e)},e.prototype.remove=function(t){return We(this,t,i)},e.prototype.deleteAll=function(t){var e=M(t);return 0===e.size?this:this.withMutations((function(t){e.forEach((function(e){return t.remove(e)}))}))},e.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Ye()},e.prototype.sort=function(t){return vn(Pt(this,t))},e.prototype.sortBy=function(t,e){return vn(Pt(this,e,t))},e.prototype.map=function(t,e){var n=this;return this.withMutations((function(r){r.forEach((function(o,i){r.set(i,t.call(e,o,i,n))}))}))},e.prototype.__iterator=function(t,e){return new Ue(this,t,e)},e.prototype.__iterate=function(t,e){var n=this,r=0;return this._root&&this._root.iterate((function(e){return r++,t(e[1],e[0],n)}),e),r},e.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?qe(this.size,this._root,t,this.__hash):0===this.size?Ye():(this.__ownerID=t,this.__altered=!1,this)},e}(E);Ne.isMap=ot;var Ae=Ne.prototype;Ae[rt]=!0,Ae.delete=Ae.remove,Ae.removeAll=Ae.deleteAll,Ae.setIn=le,Ae.removeIn=Ae.deleteIn=fe,Ae.update=he,Ae.updateIn=ye,Ae.merge=Ae.concat=ge,Ae.mergeWith=me,Ae.mergeDeep=xe,Ae.mergeDeepWith=ke,Ae.mergeIn=Ce,Ae.mergeDeepIn=je,Ae.withMutations=De,Ae.wasAltered=Le,Ae.asImmutable=Ie,Ae["@@transducer/init"]=Ae.asMutable=Oe,Ae["@@transducer/step"]=function(t,e){return t.set(e[0],e[1])},Ae["@@transducer/result"]=function(t){return t.asImmutable()};var Te=function(t,e){this.ownerID=t,this.entries=e};Te.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(st(n,o[i][0]))return o[i][1];return r},Te.prototype.update=function(t,e,n,r,o,c,u){for(var l=o===i,p=this.entries,f=0,d=p.length;f<d&&!st(r,p[f][0]);f++);var h=f<d;if(h?p[f][1]===o:l)return this;if(a(u),(l||!h)&&a(c),!l||1!==p.length){if(!h&&!l&&p.length>=Xe)return function(t,e,n,r){t||(t=new s);for(var o=new Be(t,pt(n),[n,r]),i=0;i<e.length;i++){var a=e[i];o=o.update(t,0,void 0,a[0],a[1])}return o}(t,p,r,o);var y=t&&t===this.ownerID,g=y?p:Zt(p);return h?l?f===d-1?g.pop():g[f]=g.pop():g[f]=[r,o]:g.push([r,o]),y?(this.entries=g,this):new Te(t,g)}};var ze=function(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n};ze.prototype.get=function(t,e,n,r){void 0===e&&(e=pt(n));var i=1<<((0===t?e:e>>>t)&o),a=this.bitmap;return 0==(a&i)?r:this.nodes[Ge(a&i-1)].get(t+5,e,n,r)},ze.prototype.update=function(t,e,n,a,s,c,u){void 0===n&&(n=pt(a));var l=(0===e?n:n>>>e)&o,p=1<<l,f=this.bitmap,d=0!=(f&p);if(!d&&s===i)return this;var h=Ge(f&p-1),y=this.nodes,g=d?y[h]:void 0,m=Qe(g,t,e+5,n,a,s,c,u);if(m===g)return this;if(!d&&m&&y.length>=$e)return function(t,e,n,o,i){for(var a=0,s=new Array(r),c=0;0!==n;c++,n>>>=1)s[c]=1&n?e[a++]:void 0;return s[o]=i,new Re(t,a+1,s)}(t,y,f,l,m);if(d&&!m&&2===y.length&&Ze(y[1^h]))return y[1^h];if(d&&m&&1===y.length&&Ze(m))return m;var v=t&&t===this.ownerID,b=d?m?f:f^p:f|p,_=d?m?Je(y,h,m,v):function(t,e,n){var r=t.length-1;if(n&&e===r)return t.pop(),t;for(var o=new Array(r),i=0,a=0;a<r;a++)a===e&&(i=1),o[a]=t[a+i];return o}(y,h,v):function(t,e,n,r){var o=t.length+1;if(r&&e+1===o)return t[e]=n,t;for(var i=new Array(o),a=0,s=0;s<o;s++)s===e?(i[s]=n,a=-1):i[s]=t[s+a];return i}(y,h,m,v);return v?(this.bitmap=b,this.nodes=_,this):new ze(t,b,_)};var Re=function(t,e,n){this.ownerID=t,this.count=e,this.nodes=n};Re.prototype.get=function(t,e,n,r){void 0===e&&(e=pt(n));var i=(0===t?e:e>>>t)&o,a=this.nodes[i];return a?a.get(t+5,e,n,r):r},Re.prototype.update=function(t,e,n,r,a,s,c){void 0===n&&(n=pt(r));var u=(0===e?n:n>>>e)&o,l=a===i,p=this.nodes,f=p[u];if(l&&!f)return this;var d=Qe(f,t,e+5,n,r,a,s,c);if(d===f)return this;var h=this.count;if(f){if(!d&&--h<tn)return function(t,e,n,r){for(var o=0,i=0,a=new Array(n),s=0,c=1,u=e.length;s<u;s++,c<<=1){var l=e[s];void 0!==l&&s!==r&&(o|=c,a[i++]=l)}return new ze(t,o,a)}(t,p,h,u)}else h++;var y=t&&t===this.ownerID,g=Je(p,u,d,y);return y?(this.count=h,this.nodes=g,this):new Re(t,h,g)};var Pe=function(t,e,n){this.ownerID=t,this.keyHash=e,this.entries=n};Pe.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(st(n,o[i][0]))return o[i][1];return r},Pe.prototype.update=function(t,e,n,r,o,s,c){void 0===n&&(n=pt(r));var u=o===i;if(n!==this.keyHash)return u?this:(a(c),a(s),Ve(this,t,e,n,[r,o]));for(var l=this.entries,p=0,f=l.length;p<f&&!st(r,l[p][0]);p++);var d=p<f;if(d?l[p][1]===o:u)return this;if(a(c),(u||!d)&&a(s),u&&2===f)return new Be(t,this.keyHash,l[1^p]);var h=t&&t===this.ownerID,y=h?l:Zt(l);return d?u?p===f-1?y.pop():y[p]=y.pop():y[p]=[r,o]:y.push([r,o]),h?(this.entries=y,this):new Pe(t,this.keyHash,y)};var Be=function(t,e,n){this.ownerID=t,this.keyHash=e,this.entry=n};Be.prototype.get=function(t,e,n,r){return st(n,this.entry[0])?this.entry[1]:r},Be.prototype.update=function(t,e,n,r,o,s,c){var u=o===i,l=st(r,this.entry[0]);return(l?o===this.entry[1]:u)?this:(a(c),u?void a(s):l?t&&t===this.ownerID?(this.entry[1]=o,this):new Be(t,this.keyHash,[r,o]):(a(s),Ve(this,t,e,pt(r),[r,o])))},Te.prototype.iterate=Pe.prototype.iterate=function(t,e){for(var n=this.entries,r=0,o=n.length-1;r<=o;r++)if(!1===t(n[e?o-r:r]))return!1},ze.prototype.iterate=Re.prototype.iterate=function(t,e){for(var n=this.nodes,r=0,o=n.length-1;r<=o;r++){var i=n[e?o-r:r];if(i&&!1===i.iterate(t,e))return!1}},Be.prototype.iterate=function(t,e){return t(this.entry)};var Fe,Ue=function(t){function e(t,e,n){this._type=e,this._reverse=n,this._stack=t._root&&He(t._root)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.next=function(){for(var t=this._type,e=this._stack;e;){var n=e.node,r=e.index++,o=void 0;if(n.entry){if(0===r)return Ke(t,n.entry)}else if(n.entries){if(r<=(o=n.entries.length-1))return Ke(t,n.entries[this._reverse?o-r:r])}else if(r<=(o=n.nodes.length-1)){var i=n.nodes[this._reverse?o-r:r];if(i){if(i.entry)return Ke(t,i.entry);e=this._stack=He(i,e)}continue}e=this._stack=this._stack.__prev}return{value:void 0,done:!0}},e}(z);function Ke(t,e){return R(t,e[0],e[1])}function He(t,e){return{node:t,index:0,__prev:e}}function qe(t,e,n,r){var o=Object.create(Ae);return o.size=t,o._root=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Ye(){return Fe||(Fe=qe(0))}function We(t,e,n){var r,o;if(t._root){var a={value:!1},s={value:!1};if(r=Qe(t._root,t.__ownerID,0,void 0,e,n,a,s),!s.value)return t;o=t.size+(a.value?n===i?-1:1:0)}else{if(n===i)return t;o=1,r=new Te(t.__ownerID,[[e,n]])}return t.__ownerID?(t.size=o,t._root=r,t.__hash=void 0,t.__altered=!0,t):r?qe(o,r):Ye()}function Qe(t,e,n,r,o,s,c,u){return t?t.update(e,n,r,o,s,c,u):s===i?t:(a(u),a(c),new Be(e,r,[o,s]))}function Ze(t){return t.constructor===Be||t.constructor===Pe}function Ve(t,e,n,r,i){if(t.keyHash===r)return new Pe(e,r,[t.entry,i]);var a,s=(0===n?t.keyHash:t.keyHash>>>n)&o,c=(0===n?r:r>>>n)&o,u=s===c?[Ve(t,e,n+5,r,i)]:(a=new Be(e,r,i),s<c?[t,a]:[a,t]);return new ze(e,1<<s|1<<c,u)}function Ge(t){return t=(t=(858993459&(t-=t>>1&1431655765))+(t>>2&858993459))+(t>>4)&252645135,127&(t+=t>>8)+(t>>16)}function Je(t,e,n,r){var o=r?t:Zt(t);return o[e]=n,o}var Xe=8,$e=16,tn=8,en="@@__IMMUTABLE_LIST__@@";function nn(t){return Boolean(t&&t[en])}var rn=function(t){function e(e){var n=pn();if(null==e)return n;if(nn(e))return e;var o=t(e),i=o.size;return 0===i?n:(Gt(i),i>0&&i<r?ln(0,i,5,null,new an(o.toArray())):n.withMutations((function(t){t.setSize(i),o.forEach((function(e,n){return t.set(n,e)}))})))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.prototype.toString=function(){return this.__toString("List [","]")},e.prototype.get=function(t,e){if((t=u(this,t))>=0&&t<this.size){var n=hn(this,t+=this._origin);return n&&n.array[t&o]}return e},e.prototype.set=function(t,e){return function(t,e,n){if((e=u(t,e))!=e)return t;if(e>=t.size||e<0)return t.withMutations((function(t){e<0?yn(t,e).set(0,n):yn(t,0,e+1).set(e,n)}));e+=t._origin;var r=t._tail,o=t._root,i={value:!1};return e>=gn(t._capacity)?r=fn(r,t.__ownerID,0,e,n,i):o=fn(o,t.__ownerID,t._level,e,n,i),i.value?t.__ownerID?(t._root=o,t._tail=r,t.__hash=void 0,t.__altered=!0,t):ln(t._origin,t._capacity,t._level,o,r):t}(this,t,e)},e.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},e.prototype.insert=function(t,e){return this.splice(t,0,e)},e.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=5,this._root=this._tail=this.__hash=void 0,this.__altered=!0,this):pn()},e.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations((function(n){yn(n,0,e+t.length);for(var r=0;r<t.length;r++)n.set(e+r,t[r])}))},e.prototype.pop=function(){return yn(this,0,-1)},e.prototype.unshift=function(){var t=arguments;return this.withMutations((function(e){yn(e,-t.length);for(var n=0;n<t.length;n++)e.set(n,t[n])}))},e.prototype.shift=function(){return yn(this,1)},e.prototype.concat=function(){for(var e=arguments,n=[],r=0;r<arguments.length;r++){var o=e[r],i=t("string"!=typeof o&&B(o)?o:[o]);0!==i.size&&n.push(i)}return 0===n.length?this:0!==this.size||this.__ownerID||1!==n.length?this.withMutations((function(t){n.forEach((function(e){return e.forEach((function(e){return t.push(e)}))}))})):this.constructor(n[0])},e.prototype.setSize=function(t){return yn(this,0,t)},e.prototype.map=function(t,e){var n=this;return this.withMutations((function(r){for(var o=0;o<n.size;o++)r.set(o,t.call(e,r.get(o),o,n))}))},e.prototype.slice=function(t,e){var n=this.size;return p(t,e,n)?this:yn(this,f(t,n),d(e,n))},e.prototype.__iterator=function(t,e){var n=e?this.size:0,r=un(this,e);return new z((function(){var o=r();return o===cn?{value:void 0,done:!0}:R(t,e?--n:n++,o)}))},e.prototype.__iterate=function(t,e){for(var n,r=e?this.size:0,o=un(this,e);(n=o())!==cn&&!1!==t(n,e?--r:r++,this););return r},e.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?ln(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):0===this.size?pn():(this.__ownerID=t,this.__altered=!1,this)},e}(x);rn.isList=nn;var on=rn.prototype;on[en]=!0,on.delete=on.remove,on.merge=on.concat,on.setIn=le,on.deleteIn=on.removeIn=fe,on.update=he,on.updateIn=ye,on.mergeIn=Ce,on.mergeDeepIn=je,on.withMutations=De,on.wasAltered=Le,on.asImmutable=Ie,on["@@transducer/init"]=on.asMutable=Oe,on["@@transducer/step"]=function(t,e){return t.push(e)},on["@@transducer/result"]=function(t){return t.asImmutable()};var an=function(t,e){this.array=t,this.ownerID=e};an.prototype.removeBefore=function(t,e,n){if(n===e?1<<e:0===this.array.length)return this;var r=n>>>e&o;if(r>=this.array.length)return new an([],t);var i,a=0===r;if(e>0){var s=this.array[r];if((i=s&&s.removeBefore(t,e-5,n))===s&&a)return this}if(a&&!i)return this;var c=dn(this,t);if(!a)for(var u=0;u<r;u++)c.array[u]=void 0;return i&&(c.array[r]=i),c},an.prototype.removeAfter=function(t,e,n){if(n===(e?1<<e:0)||0===this.array.length)return this;var r,i=n-1>>>e&o;if(i>=this.array.length)return this;if(e>0){var a=this.array[i];if((r=a&&a.removeAfter(t,e-5,n))===a&&i===this.array.length-1)return this}var s=dn(this,t);return s.array.splice(i+1),r&&(s.array[i]=r),s};var sn,cn={};function un(t,e){var n=t._origin,o=t._capacity,i=gn(o),a=t._tail;return function t(s,c,u){return 0===c?function(t,s){var c=s===i?a&&a.array:t&&t.array,u=s>n?0:n-s,l=o-s;return l>r&&(l=r),function(){if(u===l)return cn;var t=e?--l:u++;return c&&c[t]}}(s,u):function(i,a,s){var c,u=i&&i.array,l=s>n?0:n-s>>a,p=1+(o-s>>a);return p>r&&(p=r),function(){for(;;){if(c){var n=c();if(n!==cn)return n;c=null}if(l===p)return cn;var r=e?--p:l++;c=t(u&&u[r],a-5,s+(r<<a))}}}(s,c,u)}(t._root,t._level,0)}function ln(t,e,n,r,o,i,a){var s=Object.create(on);return s.size=e-t,s._origin=t,s._capacity=e,s._level=n,s._root=r,s._tail=o,s.__ownerID=i,s.__hash=a,s.__altered=!1,s}function pn(){return sn||(sn=ln(0,0,5))}function fn(t,e,n,r,i,s){var c,u=r>>>n&o,l=t&&u<t.array.length;if(!l&&void 0===i)return t;if(n>0){var p=t&&t.array[u],f=fn(p,e,n-5,r,i,s);return f===p?t:((c=dn(t,e)).array[u]=f,c)}return l&&t.array[u]===i?t:(s&&a(s),c=dn(t,e),void 0===i&&u===c.array.length-1?c.array.pop():c.array[u]=i,c)}function dn(t,e){return e&&t&&e===t.ownerID?t:new an(t?t.array.slice():[],e)}function hn(t,e){if(e>=gn(t._capacity))return t._tail;if(e<1<<t._level+5){for(var n=t._root,r=t._level;n&&r>0;)n=n.array[e>>>r&o],r-=5;return n}}function yn(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0);var r=t.__ownerID||new s,i=t._origin,a=t._capacity,c=i+e,u=void 0===n?a:n<0?a+n:i+n;if(c===i&&u===a)return t;if(c>=u)return t.clear();for(var l=t._level,p=t._root,f=0;c+f<0;)p=new an(p&&p.array.length?[void 0,p]:[],r),f+=1<<(l+=5);f&&(c+=f,i+=f,u+=f,a+=f);for(var d=gn(a),h=gn(u);h>=1<<l+5;)p=new an(p&&p.array.length?[p]:[],r),l+=5;var y=t._tail,g=h<d?hn(t,u-1):h>d?new an([],r):y;if(y&&h>d&&c<a&&y.array.length){for(var m=p=dn(p,r),v=l;v>5;v-=5){var b=d>>>v&o;m=m.array[b]=dn(m.array[b],r)}m.array[d>>>5&o]=y}if(u<a&&(g=g&&g.removeAfter(r,0,u)),c>=h)c-=h,u-=h,l=5,p=null,g=g&&g.removeBefore(r,0,c);else if(c>i||h<d){for(f=0;p;){var _=c>>>l&o;if(_!==h>>>l&o)break;_&&(f+=(1<<l)*_),l-=5,p=p.array[_]}p&&c>i&&(p=p.removeBefore(r,l,c-f)),p&&h<d&&(p=p.removeAfter(r,l,h-f)),f&&(c-=f,u-=f)}return t.__ownerID?(t.size=u-c,t._origin=c,t._capacity=u,t._level=l,t._root=p,t._tail=g,t.__hash=void 0,t.__altered=!0,t):ln(c,u,l,p,g)}function gn(t){return t<r?0:t-1>>>5<<5}var mn,vn=function(t){function e(t){return null==t?_n():it(t)?t:_n().withMutations((function(e){var n=E(t);Gt(n.size),n.forEach((function(t,n){return e.set(n,t)}))}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.prototype.toString=function(){return this.__toString("OrderedMap {","}")},e.prototype.get=function(t,e){var n=this._map.get(t);return void 0!==n?this._list.get(n)[1]:e},e.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this.__altered=!0,this):_n()},e.prototype.set=function(t,e){return wn(this,t,e)},e.prototype.remove=function(t){return wn(this,t,i)},e.prototype.__iterate=function(t,e){var n=this;return this._list.__iterate((function(e){return e&&t(e[1],e[0],n)}),e)},e.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},e.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),n=this._list.__ensureOwner(t);return t?bn(e,n,t,this.__hash):0===this.size?_n():(this.__ownerID=t,this.__altered=!1,this._map=e,this._list=n,this)},e}(Ne);function bn(t,e,n,r){var o=Object.create(vn.prototype);return o.size=t?t.size:0,o._map=t,o._list=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function _n(){return mn||(mn=bn(Ye(),pn()))}function wn(t,e,n){var o,a,s=t._map,c=t._list,u=s.get(e),l=void 0!==u;if(n===i){if(!l)return t;c.size>=r&&c.size>=2*s.size?(o=(a=c.filter((function(t,e){return void 0!==t&&u!==e}))).toKeyedSeq().map((function(t){return t[0]})).flip().toMap(),t.__ownerID&&(o.__ownerID=a.__ownerID=t.__ownerID)):(o=s.remove(e),a=u===c.size-1?c.pop():c.set(u,void 0))}else if(l){if(n===c.get(u)[1])return t;o=s,a=c.set(u,[e,n])}else o=s.set(e,c.size),a=c.set(c.size,[e,n]);return t.__ownerID?(t.size=o.size,t._map=o,t._list=a,t.__hash=void 0,t.__altered=!0,t):bn(o,a)}vn.isOrderedMap=it,vn.prototype[L]=!0,vn.prototype.delete=vn.prototype.remove;var Sn="@@__IMMUTABLE_STACK__@@";function Mn(t){return Boolean(t&&t[Sn])}var En=function(t){function e(t){return null==t?jn():Mn(t)?t:jn().pushAll(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.prototype.toString=function(){return this.__toString("Stack [","]")},e.prototype.get=function(t,e){var n=this._head;for(t=u(this,t);n&&t--;)n=n.next;return n?n.value:e},e.prototype.peek=function(){return this._head&&this._head.value},e.prototype.push=function(){var t=arguments;if(0===arguments.length)return this;for(var e=this.size+arguments.length,n=this._head,r=arguments.length-1;r>=0;r--)n={value:t[r],next:n};return this.__ownerID?(this.size=e,this._head=n,this.__hash=void 0,this.__altered=!0,this):Cn(e,n)},e.prototype.pushAll=function(e){if(0===(e=t(e)).size)return this;if(0===this.size&&Mn(e))return e;Gt(e.size);var n=this.size,r=this._head;return e.__iterate((function(t){n++,r={value:t,next:r}}),!0),this.__ownerID?(this.size=n,this._head=r,this.__hash=void 0,this.__altered=!0,this):Cn(n,r)},e.prototype.pop=function(){return this.slice(1)},e.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):jn()},e.prototype.slice=function(e,n){if(p(e,n,this.size))return this;var r=f(e,this.size);if(d(n,this.size)!==this.size)return t.prototype.slice.call(this,e,n);for(var o=this.size-r,i=this._head;r--;)i=i.next;return this.__ownerID?(this.size=o,this._head=i,this.__hash=void 0,this.__altered=!0,this):Cn(o,i)},e.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Cn(this.size,this._head,t,this.__hash):0===this.size?jn():(this.__ownerID=t,this.__altered=!1,this)},e.prototype.__iterate=function(t,e){var n=this;if(e)return new V(this.toArray()).__iterate((function(e,r){return t(e,r,n)}),e);for(var r=0,o=this._head;o&&!1!==t(o.value,r++,this);)o=o.next;return r},e.prototype.__iterator=function(t,e){if(e)return new V(this.toArray()).__iterator(t,e);var n=0,r=this._head;return new z((function(){if(r){var e=r.value;return r=r.next,R(t,n++,e)}return{value:void 0,done:!0}}))},e}(x);En.isStack=Mn;var xn,kn=En.prototype;function Cn(t,e,n,r){var o=Object.create(kn);return o.size=t,o._head=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function jn(){return xn||(xn=Cn(0))}kn[Sn]=!0,kn.shift=kn.pop,kn.unshift=kn.push,kn.unshiftAll=kn.pushAll,kn.withMutations=De,kn.wasAltered=Le,kn.asImmutable=Ie,kn["@@transducer/init"]=kn.asMutable=Oe,kn["@@transducer/step"]=function(t,e){return t.unshift(e)},kn["@@transducer/result"]=function(t){return t.asImmutable()};var Dn="@@__IMMUTABLE_SET__@@";function On(t){return Boolean(t&&t[Dn])}function In(t){return On(t)&&N(t)}function Ln(t,e){if(t===e)return!0;if(!m(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||b(t)!==b(e)||w(t)!==w(e)||N(t)!==N(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!S(t);if(N(t)){var r=t.entries();return e.every((function(t,e){var o=r.next().value;return o&&st(o[1],t)&&(n||st(o[0],e))}))&&r.next().done}var o=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{o=!0;var a=t;t=e,e=a}var s=!0,c=e.__iterate((function(e,r){if(n?!t.has(e):o?!st(e,t.get(r,i)):!st(t.get(r,i),e))return s=!1,!1}));return s&&t.size===c}function Nn(t,e){var n=function(n){t.prototype[n]=e[n]};return Object.keys(e).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n),t}function An(t){if(!t||"object"!=typeof t)return t;if(!m(t)){if(!te(t))return t;t=Y(t)}if(b(t)){var e={};return t.__iterate((function(t,n){e[n]=An(t)})),e}var n=[];return t.__iterate((function(t){n.push(An(t))})),n}var Tn=function(t){function e(e){return null==e?Fn():On(e)&&!N(e)?e:Fn().withMutations((function(n){var r=t(e);Gt(r.size),r.forEach((function(t){return n.add(t)}))}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.fromKeys=function(t){return this(E(t).keySeq())},e.intersect=function(t){return(t=M(t).toArray()).length?Rn.intersect.apply(e(t.pop()),t):Fn()},e.union=function(t){return(t=M(t).toArray()).length?Rn.union.apply(e(t.pop()),t):Fn()},e.prototype.toString=function(){return this.__toString("Set {","}")},e.prototype.has=function(t){return this._map.has(t)},e.prototype.add=function(t){return Pn(this,this._map.set(t,t))},e.prototype.remove=function(t){return Pn(this,this._map.remove(t))},e.prototype.clear=function(){return Pn(this,this._map.clear())},e.prototype.map=function(t,e){var n=this,r=!1,o=Pn(this,this._map.mapEntries((function(o){var i=o[1],a=t.call(e,i,i,n);return a!==i&&(r=!0),[a,a]}),e));return r?o:this},e.prototype.union=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];return 0===(e=e.filter((function(t){return 0!==t.size}))).length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations((function(n){for(var r=0;r<e.length;r++)t(e[r]).forEach((function(t){return n.add(t)}))})):this.constructor(e[0])},e.prototype.intersect=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];if(0===e.length)return this;e=e.map((function(e){return t(e)}));var r=[];return this.forEach((function(t){e.every((function(e){return e.includes(t)}))||r.push(t)})),this.withMutations((function(t){r.forEach((function(e){t.remove(e)}))}))},e.prototype.subtract=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];if(0===e.length)return this;e=e.map((function(e){return t(e)}));var r=[];return this.forEach((function(t){e.some((function(e){return e.includes(t)}))&&r.push(t)})),this.withMutations((function(t){r.forEach((function(e){t.remove(e)}))}))},e.prototype.sort=function(t){return ir(Pt(this,t))},e.prototype.sortBy=function(t,e){return ir(Pt(this,e,t))},e.prototype.wasAltered=function(){return this._map.wasAltered()},e.prototype.__iterate=function(t,e){var n=this;return this._map.__iterate((function(e){return t(e,e,n)}),e)},e.prototype.__iterator=function(t,e){return this._map.__iterator(t,e)},e.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t);return t?this.__make(e,t):0===this.size?this.__empty():(this.__ownerID=t,this._map=e,this)},e}(k);Tn.isSet=On;var zn,Rn=Tn.prototype;function Pn(t,e){return t.__ownerID?(t.size=e.size,t._map=e,t):e===t._map?t:0===e.size?t.__empty():t.__make(e)}function Bn(t,e){var n=Object.create(Rn);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function Fn(){return zn||(zn=Bn(Ye()))}Rn[Dn]=!0,Rn.delete=Rn.remove,Rn.merge=Rn.concat=Rn.union,Rn.withMutations=De,Rn.asImmutable=Ie,Rn["@@transducer/init"]=Rn.asMutable=Oe,Rn["@@transducer/step"]=function(t,e){return t.add(e)},Rn["@@transducer/result"]=function(t){return t.asImmutable()},Rn.__empty=Fn,Rn.__make=Bn;var Un,Kn=function(t){function e(t,n,r){if(!(this instanceof e))return new e(t,n,r);if(Vt(0!==r,"Cannot step a Range by 0"),t=t||0,void 0===n&&(n=1/0),r=void 0===r?1:Math.abs(r),n<t&&(r=-r),this._start=t,this._end=n,this._step=r,this.size=Math.max(0,Math.ceil((n-t)/r-1)+1),0===this.size){if(Un)return Un;Un=this}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},e.prototype.get=function(t,e){return this.has(t)?this._start+u(this,t)*this._step:e},e.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},e.prototype.slice=function(t,n){return p(t,n,this.size)?this:(t=f(t,this.size),(n=d(n,this.size))<=t?new e(0,0):new e(this.get(t,this._end),this.get(n,this._end),this._step))},e.prototype.indexOf=function(t){var e=t-this._start;if(e%this._step==0){var n=e/this._step;if(n>=0&&n<this.size)return n}return-1},e.prototype.lastIndexOf=function(t){return this.indexOf(t)},e.prototype.__iterate=function(t,e){for(var n=this.size,r=this._step,o=e?this._start+(n-1)*r:this._start,i=0;i!==n&&!1!==t(o,e?n-++i:i++,this);)o+=e?-r:r;return i},e.prototype.__iterator=function(t,e){var n=this.size,r=this._step,o=e?this._start+(n-1)*r:this._start,i=0;return new z((function(){if(i===n)return{value:void 0,done:!0};var a=o;return o+=e?-r:r,R(t,e?n-++i:i++,a)}))},e.prototype.equals=function(t){return t instanceof e?this._start===t._start&&this._end===t._end&&this._step===t._step:Ln(this,t)},e}(Q);function Hn(t,e,n){for(var r=Jt(e),o=0;o!==r.length;)if((t=re(t,r[o++],i))===i)return n;return t}function qn(t,e){return Hn(this,t,e)}function Yn(t,e){return Hn(t,e,i)!==i}function Wn(){Gt(this.size);var t={};return this.__iterate((function(e,n){t[n]=e})),t}M.isIterable=m,M.isKeyed=b,M.isIndexed=w,M.isAssociative=S,M.isOrdered=N,M.Iterator=z,Nn(M,{toArray:function(){Gt(this.size);var t=new Array(this.size||0),e=b(this),n=0;return this.__iterate((function(r,o){t[n++]=e?[o,r]:r})),t},toIndexedSeq:function(){return new Ct(this)},toJS:function(){return An(this)},toKeyedSeq:function(){return new kt(this,!0)},toMap:function(){return Ne(this.toKeyedSeq())},toObject:Wn,toOrderedMap:function(){return vn(this.toKeyedSeq())},toOrderedSet:function(){return ir(b(this)?this.valueSeq():this)},toSet:function(){return Tn(b(this)?this.valueSeq():this)},toSetSeq:function(){return new jt(this)},toSeq:function(){return w(this)?this.toIndexedSeq():b(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return En(b(this)?this.valueSeq():this)},toList:function(){return rn(b(this)?this.valueSeq():this)},toString:function(){return"[Collection]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return Kt(this,zt(this,t))},includes:function(t){return this.some((function(e){return st(e,t)}))},entries:function(){return this.__iterator(2)},every:function(t,e){Gt(this.size);var n=!0;return this.__iterate((function(r,o,i){if(!t.call(e,r,o,i))return n=!1,!1})),n},filter:function(t,e){return Kt(this,Nt(this,t,e,!0))},find:function(t,e,n){var r=this.findEntry(t,e);return r?r[1]:n},forEach:function(t,e){return Gt(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){Gt(this.size),t=void 0!==t?""+t:",";var e="",n=!0;return this.__iterate((function(r){n?n=!1:e+=t,e+=null!=r?r.toString():""})),e},keys:function(){return this.__iterator(0)},map:function(t,e){return Kt(this,It(this,t,e))},reduce:function(t,e,n){return Jn(this,t,e,n,arguments.length<2,!1)},reduceRight:function(t,e,n){return Jn(this,t,e,n,arguments.length<2,!0)},reverse:function(){return Kt(this,Lt(this,!0))},slice:function(t,e){return Kt(this,At(this,t,e,!0))},some:function(t,e){return!this.every(tr(t),e)},sort:function(t){return Kt(this,Pt(this,t))},values:function(){return this.__iterator(1)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(t,e){return c(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return function(t,e,n){var r=Ne().asMutable();return t.__iterate((function(o,i){r.update(e.call(n,o,i,t),0,(function(t){return t+1}))})),r.asImmutable()}(this,t,e)},equals:function(t){return Ln(this,t)},entrySeq:function(){var t=this;if(t._cache)return new V(t._cache);var e=t.toSeq().map($n).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(tr(t),e)},findEntry:function(t,e,n){var r=n;return this.__iterate((function(n,o,i){if(t.call(e,n,o,i))return r=[o,n],!1})),r},findKey:function(t,e){var n=this.findEntry(t,e);return n&&n[0]},findLast:function(t,e,n){return this.toKeyedSeq().reverse().find(t,e,n)},findLastEntry:function(t,e,n){return this.toKeyedSeq().reverse().findEntry(t,e,n)},findLastKey:function(t,e){return this.toKeyedSeq().reverse().findKey(t,e)},first:function(t){return this.find(l,null,t)},flatMap:function(t,e){return Kt(this,function(t,e,n){var r=qt(t);return t.toSeq().map((function(o,i){return r(e.call(n,o,i,t))})).flatten(!0)}(this,t,e))},flatten:function(t){return Kt(this,Rt(this,t,!0))},fromEntrySeq:function(){return new Dt(this)},get:function(t,e){return this.find((function(e,n){return st(n,t)}),void 0,e)},getIn:qn,groupBy:function(t,e){return function(t,e,n){var r=b(t),o=(N(t)?vn():Ne()).asMutable();t.__iterate((function(i,a){o.update(e.call(n,i,a,t),(function(t){return(t=t||[]).push(r?[a,i]:i),t}))}));var i=qt(t);return o.map((function(e){return Kt(t,i(e))})).asImmutable()}(this,t,e)},has:function(t){return this.get(t,i)!==i},hasIn:function(t){return Yn(this,t)},isSubset:function(t){return t="function"==typeof t.includes?t:M(t),this.every((function(e){return t.includes(e)}))},isSuperset:function(t){return(t="function"==typeof t.isSubset?t:M(t)).isSubset(this)},keyOf:function(t){return this.findKey((function(e){return st(e,t)}))},keySeq:function(){return this.toSeq().map(Xn).toIndexedSeq()},last:function(t){return this.toSeq().reverse().first(t)},lastKeyOf:function(t){return this.toKeyedSeq().reverse().keyOf(t)},max:function(t){return Bt(this,t)},maxBy:function(t,e){return Bt(this,e,t)},min:function(t){return Bt(this,t?er(t):rr)},minBy:function(t,e){return Bt(this,e?er(e):rr,t)},rest:function(){return this.slice(1)},skip:function(t){return 0===t?this:this.slice(Math.max(0,t))},skipLast:function(t){return 0===t?this:this.slice(0,-Math.max(0,t))},skipWhile:function(t,e){return Kt(this,Tt(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(tr(t),e)},sortBy:function(t,e){return Kt(this,Pt(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return this.slice(-Math.max(0,t))},takeWhile:function(t,e){return Kt(this,function(t,e,n){var r=Yt(t);return r.__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var a=0;return t.__iterate((function(t,o,s){return e.call(n,t,o,s)&&++a&&r(t,o,i)})),a},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var a=t.__iterator(2,o),s=!0;return new z((function(){if(!s)return{value:void 0,done:!0};var t=a.next();if(t.done)return t;var o=t.value,c=o[0],u=o[1];return e.call(n,u,c,i)?2===r?t:R(r,c,u,t):(s=!1,{value:void 0,done:!0})}))},r}(this,t,e))},takeUntil:function(t,e){return this.takeWhile(tr(t),e)},update:function(t){return t(this)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(t){if(t.size===1/0)return 0;var e=N(t),n=b(t),r=e?1:0;return function(t,e){return e=ct(e,3432918353),e=ct(e<<15|e>>>-15,461845907),e=ct(e<<13|e>>>-13,5),e=ct((e=(e+3864292196|0)^t)^e>>>16,2246822507),ut((e=ct(e^e>>>13,3266489909))^e>>>16)}(t.__iterate(n?e?function(t,e){r=31*r+or(pt(t),pt(e))|0}:function(t,e){r=r+or(pt(t),pt(e))|0}:e?function(t){r=31*r+pt(t)|0}:function(t){r=r+pt(t)|0}),r)}(this))}});var Qn=M.prototype;Qn[g]=!0,Qn[T]=Qn.values,Qn.toJSON=Qn.toArray,Qn.__toStringMapper=ee,Qn.inspect=Qn.toSource=function(){return this.toString()},Qn.chain=Qn.flatMap,Qn.contains=Qn.includes,Nn(E,{flip:function(){return Kt(this,Ot(this))},mapEntries:function(t,e){var n=this,r=0;return Kt(this,this.toSeq().map((function(o,i){return t.call(e,[i,o],r++,n)})).fromEntrySeq())},mapKeys:function(t,e){var n=this;return Kt(this,this.toSeq().flip().map((function(r,o){return t.call(e,r,o,n)})).flip())}});var Zn=E.prototype;Zn[v]=!0,Zn[T]=Qn.entries,Zn.toJSON=Wn,Zn.__toStringMapper=function(t,e){return ee(e)+": "+ee(t)},Nn(x,{toKeyedSeq:function(){return new kt(this,!1)},filter:function(t,e){return Kt(this,Nt(this,t,e,!1))},findIndex:function(t,e){var n=this.findEntry(t,e);return n?n[0]:-1},indexOf:function(t){var e=this.keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.lastKeyOf(t);return void 0===e?-1:e},reverse:function(){return Kt(this,Lt(this,!1))},slice:function(t,e){return Kt(this,At(this,t,e,!1))},splice:function(t,e){var n=arguments.length;if(e=Math.max(e||0,0),0===n||2===n&&!e)return this;t=f(t,t<0?this.count():this.size);var r=this.slice(0,t);return Kt(this,1===n?r:r.concat(Zt(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var n=this.findLastEntry(t,e);return n?n[0]:-1},first:function(t){return this.get(0,t)},flatten:function(t){return Kt(this,Rt(this,t,!1))},get:function(t,e){return(t=u(this,t))<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find((function(e,n){return n===t}),void 0,e)},has:function(t){return(t=u(this,t))>=0&&(void 0!==this.size?this.size===1/0||t<this.size:-1!==this.indexOf(t))},interpose:function(t){return Kt(this,function(t,e){var n=Yt(t);return n.size=t.size&&2*t.size-1,n.__iterateUncached=function(n,r){var o=this,i=0;return t.__iterate((function(t){return(!i||!1!==n(e,i++,o))&&!1!==n(t,i++,o)}),r),i},n.__iteratorUncached=function(n,r){var o,i=t.__iterator(1,r),a=0;return new z((function(){return(!o||a%2)&&(o=i.next()).done?o:a%2?R(n,a++,e):R(n,a++,o.value,o)}))},n}(this,t))},interleave:function(){var t=[this].concat(Zt(arguments)),e=Ut(this.toSeq(),Q.of,t),n=e.flatten(!0);return e.size&&(n.size=e.size*t.length),Kt(this,n)},keySeq:function(){return Kn(0,this.size)},last:function(t){return this.get(-1,t)},skipWhile:function(t,e){return Kt(this,Tt(this,t,e,!1))},zip:function(){var t=[this].concat(Zt(arguments));return Kt(this,Ut(this,nr,t))},zipAll:function(){var t=[this].concat(Zt(arguments));return Kt(this,Ut(this,nr,t,!0))},zipWith:function(t){var e=Zt(arguments);return e[0]=this,Kt(this,Ut(this,t,e))}});var Vn=x.prototype;Vn[_]=!0,Vn[L]=!0,Nn(k,{get:function(t,e){return this.has(t)?t:e},includes:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}});var Gn=k.prototype;function Jn(t,e,n,r,o,i){return Gt(t.size),t.__iterate((function(t,i,a){o?(o=!1,n=t):n=e.call(r,n,t,i,a)}),i),n}function Xn(t,e){return e}function $n(t,e){return[e,t]}function tr(t){return function(){return!t.apply(this,arguments)}}function er(t){return function(){return-t.apply(this,arguments)}}function nr(){return Zt(arguments)}function rr(t,e){return t<e?1:t>e?-1:0}function or(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}Gn.has=Qn.includes,Gn.contains=Gn.includes,Gn.keys=Gn.values,Nn(W,Zn),Nn(Q,Vn),Nn(Z,Gn);var ir=function(t){function e(t){return null==t?ur():In(t)?t:ur().withMutations((function(e){var n=k(t);Gt(n.size),n.forEach((function(t){return e.add(t)}))}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.fromKeys=function(t){return this(E(t).keySeq())},e.prototype.toString=function(){return this.__toString("OrderedSet {","}")},e}(Tn);ir.isOrderedSet=In;var ar,sr=ir.prototype;function cr(t,e){var n=Object.create(sr);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function ur(){return ar||(ar=cr(_n()))}sr[L]=!0,sr.zip=Vn.zip,sr.zipWith=Vn.zipWith,sr.zipAll=Vn.zipAll,sr.__empty=ur,sr.__make=cr;var lr=function(t,e){var n;!function(t){if(O(t))throw new Error("Can not call `Record` with an immutable Record as default values. Use a plain javascript object instead.");if(I(t))throw new Error("Can not call `Record` with an immutable Collection as default values. Use a plain javascript object instead.");if(null===t||"object"!=typeof t)throw new Error("Can not call `Record` with a non-object as default values. Use a plain javascript object instead.")}(t);var r=function(i){var a=this;if(i instanceof r)return i;if(!(this instanceof r))return new r(i);if(!n){n=!0;var s=Object.keys(t),c=o._indices={};o._name=e,o._keys=s,o._defaultValues=t;for(var u=0;u<s.length;u++){var l=s[u];c[l]=u,o[l]?"object"==typeof console&&console.warn&&console.warn("Cannot define "+dr(this)+' with property "'+l+'" since that property name is part of the Record API.'):yr(o,l)}}return this.__ownerID=void 0,this._values=rn().withMutations((function(t){t.setSize(a._keys.length),E(i).forEach((function(e,n){t.set(a._indices[n],e===a._defaultValues[n]?void 0:e)}))})),this},o=r.prototype=Object.create(pr);return o.constructor=r,e&&(r.displayName=e),r};lr.prototype.toString=function(){for(var t,e=dr(this)+" { ",n=this._keys,r=0,o=n.length;r!==o;r++)e+=(r?", ":"")+(t=n[r])+": "+ee(this.get(t));return e+" }"},lr.prototype.equals=function(t){return this===t||O(t)&&hr(this).equals(hr(t))},lr.prototype.hashCode=function(){return hr(this).hashCode()},lr.prototype.has=function(t){return this._indices.hasOwnProperty(t)},lr.prototype.get=function(t,e){if(!this.has(t))return e;var n=this._indices[t],r=this._values.get(n);return void 0===r?this._defaultValues[t]:r},lr.prototype.set=function(t,e){if(this.has(t)){var n=this._values.set(this._indices[t],e===this._defaultValues[t]?void 0:e);if(n!==this._values&&!this.__ownerID)return fr(this,n)}return this},lr.prototype.remove=function(t){return this.set(t)},lr.prototype.clear=function(){var t=this._values.clear().setSize(this._keys.length);return this.__ownerID?this:fr(this,t)},lr.prototype.wasAltered=function(){return this._values.wasAltered()},lr.prototype.toSeq=function(){return hr(this)},lr.prototype.toJS=function(){return An(this)},lr.prototype.entries=function(){return this.__iterator(2)},lr.prototype.__iterator=function(t,e){return hr(this).__iterator(t,e)},lr.prototype.__iterate=function(t,e){return hr(this).__iterate(t,e)},lr.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._values.__ensureOwner(t);return t?fr(this,e,t):(this.__ownerID=t,this._values=e,this)},lr.isRecord=O,lr.getDescriptiveName=dr;var pr=lr.prototype;function fr(t,e,n){var r=Object.create(Object.getPrototypeOf(t));return r._values=e,r.__ownerID=n,r}function dr(t){return t.constructor.displayName||t.constructor.name||"Record"}function hr(t){return tt(t._keys.map((function(e){return[e,t.get(e)]})))}function yr(t,e){try{Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){Vt(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}catch(t){}}pr[D]=!0,pr.delete=pr.remove,pr.deleteIn=pr.removeIn=fe,pr.getIn=qn,pr.hasIn=Qn.hasIn,pr.merge=ge,pr.mergeWith=me,pr.mergeIn=Ce,pr.mergeDeep=xe,pr.mergeDeepWith=ke,pr.mergeDeepIn=je,pr.setIn=le,pr.update=he,pr.updateIn=ye,pr.withMutations=De,pr.asMutable=Oe,pr.asImmutable=Ie,pr[T]=pr.entries,pr.toJSON=pr.toObject=Qn.toObject,pr.inspect=pr.toSource=function(){return this.toString()};var gr,mr=function(t){function e(t,n){if(!(this instanceof e))return new e(t,n);if(this._value=t,this.size=void 0===n?1/0:Math.max(0,n),0===this.size){if(gr)return gr;gr=this}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},e.prototype.get=function(t,e){return this.has(t)?this._value:e},e.prototype.includes=function(t){return st(this._value,t)},e.prototype.slice=function(t,n){var r=this.size;return p(t,n,r)?this:new e(this._value,d(n,r)-f(t,r))},e.prototype.reverse=function(){return this},e.prototype.indexOf=function(t){return st(this._value,t)?0:-1},e.prototype.lastIndexOf=function(t){return st(this._value,t)?this.size:-1},e.prototype.__iterate=function(t,e){for(var n=this.size,r=0;r!==n&&!1!==t(this._value,e?n-++r:r++,this););return r},e.prototype.__iterator=function(t,e){var n=this,r=this.size,o=0;return new z((function(){return o===r?{value:void 0,done:!0}:R(t,e?r-++o:o++,n._value)}))},e.prototype.equals=function(t){return t instanceof e?st(this._value,t._value):Ln(t)},e}(Q);function vr(t,e){return br([],e||_r,t,"",e&&e.length>2?[]:void 0,{"":t})}function br(t,e,n,r,o,i){if("string"!=typeof n&&!I(n)&&(q(n)||B(n)||$t(n))){if(~t.indexOf(n))throw new TypeError("Cannot convert circular structure to Immutable");t.push(n),o&&""!==r&&o.push(r);var a=e.call(i,r,Y(n).map((function(r,i){return br(t,e,r,i,o,n)})),o&&o.slice());return t.pop(),o&&o.pop(),a}return n}function _r(t,e){return w(e)?e.toList():b(e)?e.toMap():e.toSet()}var wr="4.1.0",Sr=M;const Mr={version:wr,Collection:M,Iterable:M,Seq:Y,Map:Ne,OrderedMap:vn,List:rn,Stack:En,Set:Tn,OrderedSet:ir,Record:lr,Range:Kn,Repeat:mr,is:st,fromJS:vr,hash:pt,isImmutable:I,isCollection:m,isKeyed:b,isIndexed:w,isAssociative:S,isOrdered:N,isValueObject:at,isPlainObject:$t,isSeq:j,isList:nn,isMap:ot,isOrderedMap:it,isStack:Mn,isSet:On,isOrderedSet:In,isRecord:O,get:re,getIn:Hn,has:ne,hasIn:Yn,merge:be,mergeDeep:we,mergeWith:_e,mergeDeepWith:Se,remove:ie,removeIn:pe,set:ae,setIn:ue,update:de,updateIn:se}},56784:t=>{"use strict";t.exports=function(t,e,n,r,o,i,a,s){if(!t){var c;if(void 0===e)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,i,a,s],l=0;(c=new Error(e.replace(/%s/g,(function(){return u[l++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},54516:t=>{"use strict";var e=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function o(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(t){r[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,i){for(var a,s,c=o(t),u=1;u<arguments.length;u++){for(var l in a=Object(arguments[u]))n.call(a,l)&&(c[l]=a[l]);if(e){s=e(a);for(var p=0;p<s.length;p++)r.call(a,s[p])&&(c[s[p]]=a[s[p]])}}return c}},459:(t,e,n)=>{"use strict";var r=n(15704);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function e(){return t}t.isRequired=t;var n={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},60216:(t,e,n)=>{t.exports=n(459)()},15704:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},67392:(t,e,n)=>{"use strict";var r=n(54516),o=n(1024);function i(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a="function"==typeof Symbol&&Symbol.for,s=a?Symbol.for("react.portal"):60106,c=a?Symbol.for("react.fragment"):60107,u=a?Symbol.for("react.strict_mode"):60108,l=a?Symbol.for("react.profiler"):60114,p=a?Symbol.for("react.provider"):60109,f=a?Symbol.for("react.context"):60110,d=a?Symbol.for("react.concurrent_mode"):60111,h=a?Symbol.for("react.forward_ref"):60112,y=a?Symbol.for("react.suspense"):60113,g=a?Symbol.for("react.suspense_list"):60120,m=a?Symbol.for("react.memo"):60115,v=a?Symbol.for("react.lazy"):60116,b=a?Symbol.for("react.fundamental"):60117,_=a?Symbol.for("react.scope"):60119,w=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function S(t){if(null==t)return null;if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case c:return"Fragment";case s:return"Portal";case l:return"Profiler";case u:return"StrictMode";case y:return"Suspense";case g:return"SuspenseList"}if("object"==typeof t)switch(t.$$typeof){case f:return"Context.Consumer";case p:return"Context.Provider";case h:var e=t.render;return e=e.displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case m:return S(t.type);case v:if(t=1===t._status?t._result:null)return S(t)}return null}w.hasOwnProperty("ReactCurrentDispatcher")||(w.ReactCurrentDispatcher={current:null}),w.hasOwnProperty("ReactCurrentBatchConfig")||(w.ReactCurrentBatchConfig={suspense:null});var M={};function E(t,e){for(var n=0|t._threadCount;n<=e;n++)t[n]=t._currentValue2,t._threadCount=n+1}for(var x=new Uint16Array(16),k=0;15>k;k++)x[k]=k+1;x[15]=0;var C=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,j=Object.prototype.hasOwnProperty,D={},O={};function I(t){return!!j.call(O,t)||!j.call(D,t)&&(C.test(t)?O[t]=!0:(D[t]=!0,!1))}function L(t,e,n,r,o,i){this.acceptsBooleans=2===e||3===e||4===e,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=t,this.type=e,this.sanitizeURL=i}var N={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(t){N[t]=new L(t,0,!1,t,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(t){var e=t[0];N[e]=new L(e,1,!1,t[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(t){N[t]=new L(t,2,!1,t.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(t){N[t]=new L(t,2,!1,t,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(t){N[t]=new L(t,3,!1,t.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(t){N[t]=new L(t,3,!0,t,null,!1)})),["capture","download"].forEach((function(t){N[t]=new L(t,4,!1,t,null,!1)})),["cols","rows","size","span"].forEach((function(t){N[t]=new L(t,6,!1,t,null,!1)})),["rowSpan","start"].forEach((function(t){N[t]=new L(t,5,!1,t.toLowerCase(),null,!1)}));var A=/[\-:]([a-z])/g;function T(t){return t[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(t){var e=t.replace(A,T);N[e]=new L(e,1,!1,t,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(t){var e=t.replace(A,T);N[e]=new L(e,1,!1,t,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(t){var e=t.replace(A,T);N[e]=new L(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(t){N[t]=new L(t,1,!1,t.toLowerCase(),null,!1)})),N.xlinkHref=new L("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(t){N[t]=new L(t,1,!1,t.toLowerCase(),null,!0)}));var z=/["'&<>]/;function R(t){if("boolean"==typeof t||"number"==typeof t)return""+t;t=""+t;var e=z.exec(t);if(e){var n,r="",o=0;for(n=e.index;n<t.length;n++){switch(t.charCodeAt(n)){case 34:e=""";break;case 38:e="&";break;case 39:e="'";break;case 60:e="<";break;case 62:e=">";break;default:continue}o!==n&&(r+=t.substring(o,n)),o=n+1,r+=e}t=o!==n?r+t.substring(o,n):r}return t}function P(t,e){var n,r=N.hasOwnProperty(t)?N[t]:null;return(n="style"!==t)&&(n=null!==r?0===r.type:2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])),n||function(t,e,n,r){if(null==e||function(t,e,n,r){if(null!==n&&0===n.type)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return null!==n?!n.acceptsBooleans:"data-"!==(t=t.toLowerCase().slice(0,5))&&"aria-"!==t;default:return!1}}(t,e,n))return!0;if(null!==n)switch(n.type){case 3:return!e;case 4:return!1===e;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}(t,e,r)?"":null!==r?(t=r.attributeName,3===(n=r.type)||4===n&&!0===e?t+'=""':(r.sanitizeURL&&(e=""+e),t+'="'+R(e)+'"')):I(t)?t+'="'+R(e)+'"':""}var B="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},F=null,U=null,K=null,H=!1,q=!1,Y=null,W=0;function Q(){if(null===F)throw Error(i(321));return F}function Z(){if(0<W)throw Error(i(312));return{memoizedState:null,queue:null,next:null}}function V(){return null===K?null===U?(H=!1,U=K=Z()):(H=!0,K=U):null===K.next?(H=!1,K=K.next=Z()):(H=!0,K=K.next),K}function G(t,e,n,r){for(;q;)q=!1,W+=1,K=null,n=t(e,r);return U=F=null,W=0,K=Y=null,n}function J(t,e){return"function"==typeof e?e(t):e}function X(t,e,n){if(F=Q(),K=V(),H){var r=K.queue;if(e=r.dispatch,null!==Y&&void 0!==(n=Y.get(r))){Y.delete(r),r=K.memoizedState;do{r=t(r,n.action),n=n.next}while(null!==n);return K.memoizedState=r,[r,e]}return[K.memoizedState,e]}return t=t===J?"function"==typeof e?e():e:void 0!==n?n(e):e,K.memoizedState=t,t=(t=K.queue={last:null,dispatch:null}).dispatch=$.bind(null,F,t),[K.memoizedState,t]}function $(t,e,n){if(!(25>W))throw Error(i(301));if(t===F)if(q=!0,t={action:n,next:null},null===Y&&(Y=new Map),void 0===(n=Y.get(e)))Y.set(e,t);else{for(e=n;null!==e.next;)e=e.next;e.next=t}}function tt(){}var et=0,nt={readContext:function(t){var e=et;return E(t,e),t[e]},useContext:function(t){Q();var e=et;return E(t,e),t[e]},useMemo:function(t,e){if(F=Q(),e=void 0===e?null:e,null!==(K=V())){var n=K.memoizedState;if(null!==n&&null!==e){t:{var r=n[1];if(null===r)r=!1;else{for(var o=0;o<r.length&&o<e.length;o++)if(!B(e[o],r[o])){r=!1;break t}r=!0}}if(r)return n[0]}}return t=t(),K.memoizedState=[t,e],t},useReducer:X,useRef:function(t){F=Q();var e=(K=V()).memoizedState;return null===e?(t={current:t},K.memoizedState=t):e},useState:function(t){return X(J,t)},useLayoutEffect:function(){},useCallback:function(t){return t},useImperativeHandle:tt,useEffect:tt,useDebugValue:tt,useResponder:function(t,e){return{props:e,responder:t}},useDeferredValue:function(t){return Q(),t},useTransition:function(){return Q(),[function(t){t()},!1]}},rt="http://www.w3.org/1999/xhtml";function ot(t){switch(t){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}var it={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},at=r({menuitem:!0},it),st={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ct=["Webkit","ms","Moz","O"];Object.keys(st).forEach((function(t){ct.forEach((function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),st[e]=st[t]}))}));var ut=/([A-Z])/g,lt=/^ms-/,pt=o.Children.toArray,ft=w.ReactCurrentDispatcher,dt={listing:!0,pre:!0,textarea:!0},ht=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,yt={},gt={},mt=Object.prototype.hasOwnProperty,vt={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function bt(t,e){if(void 0===t)throw Error(i(152,S(e)||"Component"))}var _t=function(){function t(t,e){o.isValidElement(t)?t.type!==c?t=[t]:(t=t.props.children,t=o.isValidElement(t)?[t]:pt(t)):t=pt(t),t={type:null,domNamespace:rt,children:t,childIndex:0,context:M,footer:""};var n=x[0];if(0===n){var r=x,a=2*(n=r.length);if(!(65536>=a))throw Error(i(304));var s=new Uint16Array(a);for(s.set(r),(x=s)[0]=n+1,r=n;r<a-1;r++)x[r]=r+1;x[a-1]=0}else x[0]=x[n];this.threadID=n,this.stack=[t],this.exhausted=!1,this.currentSelectValue=null,this.previousWasTextNode=!1,this.makeStaticMarkup=e,this.suspenseDepth=0,this.contextIndex=-1,this.contextStack=[],this.contextValueStack=[]}var e=t.prototype;return e.destroy=function(){if(!this.exhausted){this.exhausted=!0,this.clearProviders();var t=this.threadID;x[t]=x[0],x[0]=t}},e.pushProvider=function(t){var e=++this.contextIndex,n=t.type._context,r=this.threadID;E(n,r);var o=n[r];this.contextStack[e]=n,this.contextValueStack[e]=o,n[r]=t.props.value},e.popProvider=function(){var t=this.contextIndex,e=this.contextStack[t],n=this.contextValueStack[t];this.contextStack[t]=null,this.contextValueStack[t]=null,this.contextIndex--,e[this.threadID]=n},e.clearProviders=function(){for(var t=this.contextIndex;0<=t;t--)this.contextStack[t][this.threadID]=this.contextValueStack[t]},e.read=function(t){if(this.exhausted)return null;var e=et;et=this.threadID;var n=ft.current;ft.current=nt;try{for(var r=[""],o=!1;r[0].length<t;){if(0===this.stack.length){this.exhausted=!0;var a=this.threadID;x[a]=x[0],x[0]=a;break}var s=this.stack[this.stack.length-1];if(o||s.childIndex>=s.children.length){var c=s.footer;if(""!==c&&(this.previousWasTextNode=!1),this.stack.pop(),"select"===s.type)this.currentSelectValue=null;else if(null!=s.type&&null!=s.type.type&&s.type.type.$$typeof===p)this.popProvider(s.type);else if(s.type===y){this.suspenseDepth--;var u=r.pop();if(o){o=!1;var l=s.fallbackFrame;if(!l)throw Error(i(303));this.stack.push(l),r[this.suspenseDepth]+="\x3c!--$!--\x3e";continue}r[this.suspenseDepth]+=u}r[this.suspenseDepth]+=c}else{var f=s.children[s.childIndex++],d="";try{d+=this.render(f,s.context,s.domNamespace)}catch(t){if(null!=t&&"function"==typeof t.then)throw Error(i(294));throw t}r.length<=this.suspenseDepth&&r.push(""),r[this.suspenseDepth]+=d}}return r[0]}finally{ft.current=n,et=e}},e.render=function(t,e,n){if("string"==typeof t||"number"==typeof t)return""==(n=""+t)?"":this.makeStaticMarkup?R(n):this.previousWasTextNode?"\x3c!-- --\x3e"+R(n):(this.previousWasTextNode=!0,R(n));if(t=(e=function(t,e,n){function a(o,a){var s=a.prototype&&a.prototype.isReactComponent,c=function(t,e,n,r){if(r&&"object"==typeof(r=t.contextType)&&null!==r)return E(r,n),r[n];if(t=t.contextTypes){for(var o in n={},t)n[o]=e[o];e=n}else e=M;return e}(a,e,n,s),u=[],l=!1,p={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===u)return null},enqueueReplaceState:function(t,e){l=!0,u=[e]},enqueueSetState:function(t,e){if(null===u)return null;u.push(e)}};if(s){if(s=new a(o.props,c,p),"function"==typeof a.getDerivedStateFromProps){var f=a.getDerivedStateFromProps.call(null,o.props,s.state);null!=f&&(s.state=r({},s.state,f))}}else if(F={},s=a(o.props,c,p),null==(s=G(a,o.props,s,c))||null==s.render)return void bt(t=s,a);if(s.props=o.props,s.context=c,s.updater=p,void 0===(p=s.state)&&(s.state=p=null),"function"==typeof s.UNSAFE_componentWillMount||"function"==typeof s.componentWillMount)if("function"==typeof s.componentWillMount&&"function"!=typeof a.getDerivedStateFromProps&&s.componentWillMount(),"function"==typeof s.UNSAFE_componentWillMount&&"function"!=typeof a.getDerivedStateFromProps&&s.UNSAFE_componentWillMount(),u.length){p=u;var d=l;if(u=null,l=!1,d&&1===p.length)s.state=p[0];else{f=d?p[0]:s.state;var h=!0;for(d=d?1:0;d<p.length;d++){var y=p[d];null!=(y="function"==typeof y?y.call(s,f,o.props,c):y)&&(h?(h=!1,f=r({},f,y)):r(f,y))}s.state=f}}else u=null;if(bt(t=s.render(),a),"function"==typeof s.getChildContext&&"object"==typeof(o=a.childContextTypes)){var g=s.getChildContext();for(var m in g)if(!(m in o))throw Error(i(108,S(a)||"Unknown",m))}g&&(e=r({},e,g))}for(;o.isValidElement(t);){var s=t,c=s.type;if("function"!=typeof c)break;a(s,c)}return{child:t,context:e}}(t,e,this.threadID)).child,e=e.context,null===t||!1===t)return"";if(!o.isValidElement(t)){if(null!=t&&null!=t.$$typeof){if((n=t.$$typeof)===s)throw Error(i(257));throw Error(i(258,n.toString()))}return t=pt(t),this.stack.push({type:null,domNamespace:n,children:t,childIndex:0,context:e,footer:""}),""}var a=t.type;if("string"==typeof a)return this.renderDOM(t,e,n);switch(a){case u:case d:case l:case g:case c:return t=pt(t.props.children),this.stack.push({type:null,domNamespace:n,children:t,childIndex:0,context:e,footer:""}),"";case y:throw Error(i(294))}if("object"==typeof a&&null!==a)switch(a.$$typeof){case h:F={};var w=a.render(t.props,t.ref);return w=G(a.render,t.props,w,t.ref),w=pt(w),this.stack.push({type:null,domNamespace:n,children:w,childIndex:0,context:e,footer:""}),"";case m:return t=[o.createElement(a.type,r({ref:t.ref},t.props))],this.stack.push({type:null,domNamespace:n,children:t,childIndex:0,context:e,footer:""}),"";case p:return n={type:t,domNamespace:n,children:a=pt(t.props.children),childIndex:0,context:e,footer:""},this.pushProvider(t),this.stack.push(n),"";case f:a=t.type,w=t.props;var x=this.threadID;return E(a,x),a=pt(w.children(a[x])),this.stack.push({type:t,domNamespace:n,children:a,childIndex:0,context:e,footer:""}),"";case b:throw Error(i(338));case v:switch(function(t){if(-1===t._status){t._status=0;var e=t._ctor;e=e(),t._result=e,e.then((function(e){0===t._status&&(e=e.default,t._status=1,t._result=e)}),(function(e){0===t._status&&(t._status=2,t._result=e)}))}}(a=t.type),a._status){case 1:return t=[o.createElement(a._result,r({ref:t.ref},t.props))],this.stack.push({type:null,domNamespace:n,children:t,childIndex:0,context:e,footer:""}),"";case 2:throw a._result;default:throw Error(i(295))}case _:throw Error(i(343))}throw Error(i(130,null==a?a:typeof a,""))},e.renderDOM=function(t,e,n){var a=t.type.toLowerCase();if(n===rt&&ot(a),!yt.hasOwnProperty(a)){if(!ht.test(a))throw Error(i(65,a));yt[a]=!0}var s=t.props;if("input"===a)s=r({type:void 0},s,{defaultChecked:void 0,defaultValue:void 0,value:null!=s.value?s.value:s.defaultValue,checked:null!=s.checked?s.checked:s.defaultChecked});else if("textarea"===a){var c=s.value;if(null==c){c=s.defaultValue;var u=s.children;if(null!=u){if(null!=c)throw Error(i(92));if(Array.isArray(u)){if(!(1>=u.length))throw Error(i(93));u=u[0]}c=""+u}null==c&&(c="")}s=r({},s,{value:void 0,children:""+c})}else if("select"===a)this.currentSelectValue=null!=s.value?s.value:s.defaultValue,s=r({},s,{value:void 0});else if("option"===a){u=this.currentSelectValue;var l=function(t){if(null==t)return t;var e="";return o.Children.forEach(t,(function(t){null!=t&&(e+=t)})),e}(s.children);if(null!=u){var p=null!=s.value?s.value+"":l;if(c=!1,Array.isArray(u)){for(var f=0;f<u.length;f++)if(""+u[f]===p){c=!0;break}}else c=""+u===p;s=r({selected:void 0,children:void 0},s,{selected:c,children:l})}}if(c=s){if(at[a]&&(null!=c.children||null!=c.dangerouslySetInnerHTML))throw Error(i(137,a,""));if(null!=c.dangerouslySetInnerHTML){if(null!=c.children)throw Error(i(60));if("object"!=typeof c.dangerouslySetInnerHTML||!("__html"in c.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=c.style&&"object"!=typeof c.style)throw Error(i(62,""))}for(_ in c=s,u=this.makeStaticMarkup,l=1===this.stack.length,p="<"+t.type,c)if(mt.call(c,_)){var d=c[_];if(null!=d){if("style"===_){f=void 0;var h="",y="";for(f in d)if(d.hasOwnProperty(f)){var g=0===f.indexOf("--"),m=d[f];if(null!=m){if(g)var v=f;else if(v=f,gt.hasOwnProperty(v))v=gt[v];else{var b=v.replace(ut,"-$1").toLowerCase().replace(lt,"-ms-");v=gt[v]=b}h+=y+v+":",y=f,h+=g=null==m||"boolean"==typeof m||""===m?"":g||"number"!=typeof m||0===m||st.hasOwnProperty(y)&&st[y]?(""+m).trim():m+"px",y=";"}}d=h||null}f=null;t:if(g=a,m=c,-1===g.indexOf("-"))g="string"==typeof m.is;else switch(g){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":g=!1;break t;default:g=!0}g?vt.hasOwnProperty(_)||(f=I(f=_)&&null!=d?f+'="'+R(d)+'"':""):f=P(_,d),f&&(p+=" "+f)}}u||l&&(p+=' data-reactroot=""');var _=p;c="",it.hasOwnProperty(a)?_+="/>":(_+=">",c="</"+t.type+">");t:{if(null!=(u=s.dangerouslySetInnerHTML)){if(null!=u.__html){u=u.__html;break t}}else if("string"==typeof(u=s.children)||"number"==typeof u){u=R(u);break t}u=null}return null!=u?(s=[],dt[a]&&"\n"===u.charAt(0)&&(_+="\n"),_+=u):s=pt(s.children),t=t.type,n=null==n||"http://www.w3.org/1999/xhtml"===n?ot(t):"http://www.w3.org/2000/svg"===n&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":n,this.stack.push({domNamespace:n,type:a,children:s,childIndex:0,context:e,footer:c}),this.previousWasTextNode=!1,_},t}(),wt={renderToString:function(t){t=new _t(t,!1);try{return t.read(1/0)}finally{t.destroy()}},renderToStaticMarkup:function(t){t=new _t(t,!0);try{return t.read(1/0)}finally{t.destroy()}},renderToNodeStream:function(){throw Error(i(207))},renderToStaticNodeStream:function(){throw Error(i(208))},version:"16.11.0"},St={default:wt},Mt=St&&wt||St;t.exports=Mt.default||Mt},74161:(t,e,n)=>{"use strict";t.exports=n(67392)},10671:(t,e,n)=>{window,t.exports=function(t,e,n){return i={},r.m=o=[function(t,e,n){t.exports=n(9)()},function(e,n){e.exports=t},function(t,e,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var i=typeof r;if("string"==i||"number"==i)t.push(r);else if(Array.isArray(r)&&r.length){var a=o.apply(null,r);a&&t.push(a)}else if("object"==i)for(var s in r)n.call(r,s)&&r[s]&&t.push(s)}}return t.join(" ")}t.exports?(o.default=o,t.exports=o):void 0===(r=function(){return o}.apply(e,[]))||(t.exports=r)}()},function(t,n){t.exports=e},function(t,e,n){function r(t){if(s[t])return s[t].exports;var e=s[t]={i:t,l:!1,exports:{}};return a[t].call(e.exports,e,e.exports,r),e.l=!0,e.exports}var o,i,a,s;window,t.exports=(o=n(3),i=n(5),s={},r.m=a=[function(t,e){t.exports=o},function(t,e){t.exports=i},function(t,e,n){t.exports=n(3)},function(t,e,n){"use strict";n.r(e);var r=n(0),o=n(1);function i(t){var e=t.getSelection(),n=t.getCurrentContent(),r=e.getStartKey(),o=e.getEndKey(),i=n.getBlockMap();return i.toSeq().skipUntil((function(t,e){return e===r})).takeUntil((function(t,e){return e===o})).concat([[o,i.get(o)]])}function a(t){return i(t).toList()}function s(t){if(t)return a(t).get(0)}function c(t){if(t){var e=s(t),n=t.getCurrentContent().getBlockMap().toSeq().toList(),r=0;if(n.forEach((function(t,n){t.get("key")===e.get("key")&&(r=n-1)})),-1<r)return n.get(r)}}function u(t){return t?t.getCurrentContent().getBlockMap().toList():new o.List}function l(t){var e=a(t);if(!e.some((function(t){return t.type!==e.get(0).type})))return e.get(0).type}function p(t){var e=r.RichUtils.tryToRemoveBlockStyle(t);return e?r.EditorState.push(t,e,"change-block-type"):t}function f(t){var e="",n=t.getSelection(),r=n.getAnchorOffset(),o=n.getFocusOffset(),i=a(t);if(0<i.size){if(n.getIsBackward()){var s=r;r=o,o=s}for(var c=0;c<i.size;c+=1){var u=0===c?r:0,l=c===i.size-1?o:i.get(c).getText().length;e+=i.get(c).getText().slice(u,l)}}return e}function d(t){var e=t.getCurrentContent(),n=t.getSelection(),o=r.Modifier.removeRange(e,n,"forward"),i=o.getSelectionAfter(),a=o.getBlockForKey(i.getStartKey());return o=r.Modifier.insertText(o,i,"\n",a.getInlineStyleAt(i.getStartOffset()),null),r.EditorState.push(t,o,"insert-fragment")}function h(t){var e=r.Modifier.splitBlock(t.getCurrentContent(),t.getSelection());return p(r.EditorState.push(t,e,"split-block"))}function y(t){var e=t.getCurrentContent().getBlockMap().toList(),n=t.getSelection().merge({anchorKey:e.first().get("key"),anchorOffset:0,focusKey:e.last().get("key"),focusOffset:e.last().getLength()}),o=r.Modifier.removeRange(t.getCurrentContent(),n,"forward");return r.EditorState.push(t,o,"remove-range")}function g(t,e){var n=r.Modifier.setBlockData(t.getCurrentContent(),t.getSelection(),e);return r.EditorState.push(t,n,"change-block-data")}function m(t){var e=new o.Map({}),n=a(t);if(n&&0<n.size)for(var r=function(t){var r=n.get(t).getData();if(!r||0===r.size)return e=e.clear(),"break";if(0===t)e=r;else if(e.forEach((function(t,n){r.get(n)&&r.get(n)===t||(e=e.delete(n))})),0===e.size)return e=e.clear(),"break"},i=0;i<n.size&&"break"!==r(i);i+=1);return e}var v=Object(o.Map)({code:{element:"pre"}}),b=r.DefaultDraftBlockRenderMap.merge(v);function _(t){if(t){var e=t.getType();return"unordered-list-item"===e||"ordered-list-item"===e}return!1}function w(t,e,n){var o,a=t.getSelection();o=a.getIsBackward()?a.getFocusKey():a.getAnchorKey();var s=t.getCurrentContent(),c=s.getBlockForKey(o),u=c.getType();if("unordered-list-item"!==u&&"ordered-list-item"!==u)return t;var l=s.getBlockBefore(o);if(!l)return t;if(l.getType()!==u)return t;var p=c.getDepth();if(1===e&&p===n)return t;var f,d,h,y,g,m,v,b=Math.min(l.getDepth()+1,n),_=(d=e,h=b,y=(f=t).getSelection(),m=(g=f.getCurrentContent()).getBlockMap(),v=i(f).map((function(t){var e=t.getDepth()+d;return e=Math.max(0,Math.min(e,h)),t.set("depth",e)})),m=m.merge(v),g.merge({blockMap:m,selectionBefore:y,selectionAfter:y}));return r.EditorState.push(t,_,"adjust-depth")}function S(t,e){var n;return 13===(n=e).which&&(n.getModifierState("Shift")||n.getModifierState("Alt")||n.getModifierState("Control"))?t.getSelection().isCollapsed()?r.RichUtils.insertSoftNewline(t):d(t):function(t){var e=t.getSelection();if(e.isCollapsed()){var n=t.getCurrentContent(),r=e.getStartKey(),o=n.getBlockForKey(r);if(!_(o)&&"unstyled"!==o.getType()&&o.getLength()===e.getStartOffset())return h(t);if(_(o)&&0===o.getLength()){var i=o.getDepth();if(0===i)return p(t);if(0<i)return w(t,-1,i)}}}(t)}function M(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function E(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function x(t){return(x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function k(t){var e=t.getSelection();if(e.isCollapsed()){var n={},r=t.getCurrentInlineStyle().toList().toJS();if(r)return["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","CODE","SUPERSCRIPT","SUBSCRIPT"].forEach((function(t){n[t]=0<=r.indexOf(t)})),n}var o=e.getStartOffset(),i=e.getEndOffset(),s=a(t);if(0<s.size){var c=function(){for(var t={BOLD:!0,ITALIC:!0,UNDERLINE:!0,STRIKETHROUGH:!0,CODE:!0,SUPERSCRIPT:!0,SUBSCRIPT:!0},e=0;e<s.size;e+=1){var n=0===e?o:0,r=e===s.size-1?i:s.get(e).getText().length;n===r&&0===n?(n=1,r=2):n===r&&--n;for(var a=function(n){var r=s.get(e).getInlineStyleAt(n);["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","CODE","SUPERSCRIPT","SUBSCRIPT"].forEach((function(e){t[e]=t[e]&&r.get(e)===e}))},c=n;c<r;c+=1)a(c)}return{v:t}}();if("object"===x(c))return c.v}return{}}function C(t){var e,n=t.getSelection(),r=n.getStartOffset(),o=n.getEndOffset();r===o&&0===r?o=1:r===o&&--r;for(var i=s(t),a=r;a<o;a+=1){var c=i.getEntityAt(a);if(!c){e=void 0;break}if(a===r)e=c;else if(e!==c){e=void 0;break}}return e}function j(t,e){var n,r=s(t);return r.findEntityRanges((function(t){return t.get("entity")===e}),(function(t,e){n={start:t,end:e,text:r.get("text").slice(t,e)}})),n}function D(t,e,n){I[t]["".concat(t.toLowerCase(),"-").concat(n)]=E({},"".concat(e),n)}function O(){return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?M(Object(n),!0).forEach((function(e){E(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},I.color,{},I.bgcolor,{},I.fontSize,{},I.fontFamily,{CODE:I.CODE,SUPERSCRIPT:I.SUPERSCRIPT,SUBSCRIPT:I.SUBSCRIPT})}var I={color:{},bgcolor:{},fontSize:{},fontFamily:{},CODE:{fontFamily:"monospace",wordWrap:"break-word",background:"#f1f1f1",borderRadius:3,padding:"1px 3px"},SUPERSCRIPT:{fontSize:11,position:"relative",top:-8,display:"inline-flex"},SUBSCRIPT:{fontSize:11,position:"relative",bottom:-8,display:"inline-flex"}};function L(t,e,n){var o=t.getSelection(),i=Object.keys(I[e]).reduce((function(t,e){return r.Modifier.removeInlineStyle(t,o,e)}),t.getCurrentContent()),a=r.EditorState.push(t,i,"changeinline-style"),s=t.getCurrentInlineStyle();if(o.isCollapsed()&&(a=s.reduce((function(t,e){return r.RichUtils.toggleInlineStyle(t,e)}),a)),"SUPERSCRIPT"===e||"SUBSCRIPT"==e)s.has(n)||(a=r.RichUtils.toggleInlineStyle(a,n));else{var c="bgcolor"===e?"backgroundColor":e;s.has("".concat(c,"-").concat(n))||(a=r.RichUtils.toggleInlineStyle(a,"".concat(e.toLowerCase(),"-").concat(n)),D(e,c,n))}return a}function N(t){t&&t.getCurrentContent().getBlockMap().map((function(t){return t.get("characterList")})).toList().flatten().forEach((function(t){t&&0===t.indexOf("color-")?D("color","color",t.substr(6)):t&&0===t.indexOf("bgcolor-")?D("bgcolor","backgroundColor",t.substr(8)):t&&0===t.indexOf("fontsize-")?D("fontSize","fontSize",+t.substr(9)):t&&0===t.indexOf("fontfamily-")&&D("fontFamily","fontFamily",t.substr(11))}))}function A(t,e,n){var r=t.getInlineStyleAt(n).toList().filter((function(t){return t.startsWith(e.toLowerCase())}));if(r&&0<r.size)return r.get(0)}function T(t,e){if(t&&e&&0<e.length){var n=function(){var n=t.getSelection(),r={};if(n.isCollapsed())return e.forEach((function(e){r[e]=function(t,e){var n=t.getCurrentInlineStyle().toList().filter((function(t){return t.startsWith(e.toLowerCase())}));if(n&&0<n.size)return n.get(0)}(t,e)})),{v:r};var o=n.getStartOffset(),i=n.getEndOffset(),s=a(t);if(0<s.size){for(var c=function(t){var n=0===t?o:0,a=t===s.size-1?i:s.get(t).getText().length;n===a&&0===n?(n=1,a=2):n===a&&--n;for(var c=function(o){o===n?e.forEach((function(e){r[e]=A(s.get(t),e,o)})):e.forEach((function(e){r[e]&&r[e]!==A(s.get(t),e,o)&&(r[e]=void 0)}))},u=n;u<a;u+=1)c(u)},u=0;u<s.size;u+=1)c(u);return{v:r}}}();if("object"===x(n))return n.v}return{}}function z(t){var e=t.getCurrentInlineStyle(),n=t.getCurrentContent();return e.forEach((function(e){n=r.Modifier.removeInlineStyle(n,t.getSelection(),e)})),r.EditorState.push(t,n,"change-inline-style")}n.d(e,"isListBlock",(function(){return _})),n.d(e,"changeDepth",(function(){return w})),n.d(e,"handleNewLine",(function(){return S})),n.d(e,"getEntityRange",(function(){return j})),n.d(e,"getCustomStyleMap",(function(){return O})),n.d(e,"toggleCustomInlineStyle",(function(){return L})),n.d(e,"getSelectionEntity",(function(){return C})),n.d(e,"extractInlineStyle",(function(){return N})),n.d(e,"removeAllInlineStyles",(function(){return z})),n.d(e,"getSelectionInlineStyle",(function(){return k})),n.d(e,"getSelectionCustomInlineStyle",(function(){return T})),n.d(e,"getSelectedBlocksMap",(function(){return i})),n.d(e,"getSelectedBlocksList",(function(){return a})),n.d(e,"getSelectedBlock",(function(){return s})),n.d(e,"getBlockBeforeSelectedBlock",(function(){return c})),n.d(e,"getAllBlocks",(function(){return u})),n.d(e,"getSelectedBlocksType",(function(){return l})),n.d(e,"removeSelectedBlocksStyle",(function(){return p})),n.d(e,"getSelectionText",(function(){return f})),n.d(e,"addLineBreakRemovingSelection",(function(){return d})),n.d(e,"insertNewUnstyledBlock",(function(){return h})),n.d(e,"clearEditorContent",(function(){return y})),n.d(e,"setBlockData",(function(){return g})),n.d(e,"getSelectedBlocksMetadata",(function(){return m})),n.d(e,"blockRenderMap",(function(){return b}))}],r.c=s,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=2))},function(t,e){t.exports=n},function(t,e,n){function r(t){if(s[t])return s[t].exports;var e=s[t]={i:t,l:!1,exports:{}};return a[t].call(e.exports,e,e.exports,r),e.l=!0,e.exports}var o,i,a,s;window,t.exports=(o=n(5),i=n(3),s={},r.m=a=[function(t,e){t.exports=o},function(t,e){t.exports=i},function(t,e,n){t.exports=n(3)},function(t,e,n){"use strict";n.r(e);var r=n(1),o=n(0),i=function(t,e,n){var r,i=t.textContent;return""===i.trim()?{chunk:(r=n,{text:" ",inlines:[new o.OrderedSet],entities:[r],blocks:[]})}:{chunk:{text:i,inlines:Array(i.length).fill(e),entities:Array(i.length).fill(n),blocks:[]}}},a=function(){return{text:"\n",inlines:[new o.OrderedSet],entities:new Array(1),blocks:[]}},s=function(t,e){return{text:"",inlines:[],entities:[],blocks:[{type:t,depth:0,data:e||new o.Map({})}]}},c=function(t,e,n){return{text:"\r",inlines:[],entities:[],blocks:[{type:t,depth:Math.max(0,Math.min(4,e)),data:n||new o.Map({})}]}},u=function(t){return{text:"\r ",inlines:[new o.OrderedSet],entities:[t],blocks:[{type:"atomic",depth:0,data:new o.Map({})}]}},l=function(t,e){return{text:t.text+e.text,inlines:t.inlines.concat(e.inlines),entities:t.entities.concat(e.entities),blocks:t.blocks.concat(e.blocks)}},p=new o.Map({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},"unordered-list-item":{element:"li",wrapper:"ul"},"ordered-list-item":{element:"li",wrapper:"ol"},blockquote:{element:"blockquote"},code:{element:"pre"},atomic:{element:"figure"},unstyled:{element:"p",aliasedElements:["div"]}}),f={code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",strong:"BOLD",ins:"UNDERLINE",sub:"SUBSCRIPT",sup:"SUPERSCRIPT"};function d(t){return t.style.textAlign?new o.Map({"text-align":t.style.textAlign}):t.style.marginLeft?new o.Map({"margin-left":t.style.marginLeft}):void 0}var h=function(t){var e=void 0;if(t instanceof HTMLAnchorElement){var n={};e=t.dataset&&void 0!==t.dataset.mention?(n.url=t.href,n.text=t.innerHTML,n.value=t.dataset.value,r.Entity.__create("MENTION","IMMUTABLE",n)):(n.url=t.getAttribute&&t.getAttribute("href")||t.href,n.title=t.innerHTML,n.targetOption=t.target,r.Entity.__create("LINK","MUTABLE",n))}return e};n.d(e,"default",(function(){return m}));var y=new RegExp(" ","g"),g=!0;function m(t,e){var n,m,v=(n=e,(m=function(t){var e,n=null;return document.implementation&&document.implementation.createHTMLDocument&&((e=document.implementation.createHTMLDocument("foo")).documentElement.innerHTML=t,n=e.getElementsByTagName("body")[0]),n}(t.trim().replace(y," ")))?(g=!0,{chunk:function t(e,n,o,y,m,v){var b=e.nodeName.toLowerCase();if(v){var _=v(b,e);if(_){var w=r.Entity.__create(_.type,_.mutability,_.data||{});return{chunk:u(w)}}}if("#text"===b&&"\n"!==e.textContent)return i(e,n,m);if("br"===b)return{chunk:a()};if("img"===b&&e instanceof HTMLImageElement){var S={};S.src=e.getAttribute&&e.getAttribute("src")||e.src,S.alt=e.alt,S.height=e.style.height,S.width=e.style.width,e.style.float&&(S.alignment=e.style.float);var M=r.Entity.__create("IMAGE","MUTABLE",S);return{chunk:u(M)}}if("video"===b&&e instanceof HTMLVideoElement){var E={};E.src=e.getAttribute&&e.getAttribute("src")||e.src,E.alt=e.alt,E.height=e.style.height,E.width=e.style.width,e.style.float&&(E.alignment=e.style.float);var x=r.Entity.__create("VIDEO","MUTABLE",E);return{chunk:u(x)}}if("iframe"===b&&e instanceof HTMLIFrameElement){var k={};k.src=e.getAttribute&&e.getAttribute("src")||e.src,k.height=e.height,k.width=e.width;var C=r.Entity.__create("EMBEDDED_LINK","MUTABLE",k);return{chunk:u(C)}}var j,D=function(t,e){var n=p.filter((function(n){return n.element===t&&(!n.wrapper||n.wrapper===e)||n.wrapper===t||n.aliasedElements&&-1<n.aliasedElements.indexOf(t)})).keySeq().toSet().toArray();if(1===n.length)return n[0]}(b,y);D&&("ul"===b||"ol"===b?(y=b,o+=1):("unordered-list-item"!==D&&"ordered-list-item"!==D&&(y="",o=-1),g?(j=s(D,d(e)),g=!1):j=c(D,o,d(e)))),j=j||{text:"",inlines:[],entities:[],blocks:[]},n=function(t,e,n){var r,o=f[t];if(o)r=n.add(o).toOrderedSet();else if(e instanceof HTMLElement){var i=e;r=(r=n).withMutations((function(t){var e=i.style.color,n=i.style.backgroundColor,r=i.style.fontSize,o=i.style.fontFamily.replace(/^"|"$/g,""),a=i.style.fontWeight,s=i.style.textDecoration,c=i.style.fontStyle;e&&t.add("color-".concat(e.replace(/ /g,""))),n&&t.add("bgcolor-".concat(n.replace(/ /g,""))),r&&t.add("fontsize-".concat(r.replace(/px$/g,""))),o&&t.add("fontfamily-".concat(o)),"bold"===a&&t.add(f.strong),"underline"===s&&t.add(f.ins),"italic"===c&&t.add(f.em)})).toOrderedSet()}return r}(b,e,n);for(var O=e.firstChild;O;){var I=t(O,n,o,y,h(O)||m,v).chunk;j=l(j,I),O=O.nextSibling}return{chunk:j}}(m,new o.OrderedSet,-1,"",void 0,n).chunk}):null);if(v){var b=v.chunk,_=new o.OrderedMap({});b.entities&&b.entities.forEach((function(t){t&&(_=_.set(t,r.Entity.__get(t)))}));var w=0;return{contentBlocks:b.text.split("\r").map((function(t,e){var n=w+t.length,i=b&&b.inlines.slice(w,n),a=b&&b.entities.slice(w,n),s=new o.List(i.map((function(t,e){var n={style:t,entity:null};return a[e]&&(n.entity=a[e]),r.CharacterMetadata.create(n)})));return w=n,new r.ContentBlock({key:Object(r.genKey)(),type:b&&b.blocks[e]&&b.blocks[e].type||"unstyled",depth:b&&b.blocks[e]&&b.blocks[e].depth,data:b&&b.blocks[e]&&b.blocks[e].data||new o.Map({}),text:t,characterList:s})})),entityMap:_}}return null}}],r.c=s,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=2))},function(t,e,n){"use strict";function r(t){return Array.prototype.slice.call(arguments,1).forEach((function(e){e&&Object.keys(e).forEach((function(n){t[n]=e[n]}))})),t}function o(t){return Object.prototype.toString.call(t)}function i(t){return"[object Function]"===o(t)}function a(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var s={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},c={"http:":{validate:function(t,e,n){var r=t.slice(e);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,n){var r=t.slice(e);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?3<=e&&":"===t[e-3]||3<=e&&"/"===t[e-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,n){var r=t.slice(e);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},u="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function l(t){var e=t.re=n(21)(t.__opts__),r=t.__tlds__.slice();function s(t){return t.replace("%TLDS%",e.src_tlds)}t.onCompile(),t.__tlds_replaced__||r.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),r.push(e.src_xn),e.src_tlds=r.join("|"),e.email_fuzzy=RegExp(s(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(s(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(s(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(s(e.tpl_host_fuzzy_test),"i");var c=[];function u(t,e){throw new Error('(LinkifyIt) Invalid schema "'+t+'": '+e)}t.__compiled__={},Object.keys(t.__schemas__).forEach((function(e){var n=t.__schemas__[e];if(null!==n){var r,a={validate:null,link:null};if(t.__compiled__[e]=a,"[object Object]"===o(n))return"[object RegExp]"===o(n.validate)?a.validate=(r=n.validate,function(t,e){var n=t.slice(e);return r.test(n)?n.match(r)[0].length:0}):i(n.validate)?a.validate=n.validate:u(e,n),void(i(n.normalize)?a.normalize=n.normalize:n.normalize?u(e,n):a.normalize=function(t,e){e.normalize(t)});"[object String]"!==o(n)?u(e,n):c.push(e)}})),c.forEach((function(e){t.__compiled__[t.__schemas__[e]]&&(t.__compiled__[e].validate=t.__compiled__[t.__schemas__[e]].validate,t.__compiled__[e].normalize=t.__compiled__[t.__schemas__[e]].normalize)})),t.__compiled__[""]={validate:null,normalize:function(t,e){e.normalize(t)}};var l,p=Object.keys(t.__compiled__).filter((function(e){return 0<e.length&&t.__compiled__[e]})).map(a).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+p+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+p+")","ig"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),(l=t).__index__=-1,l.__text_cache__=""}function p(t,e){var n=t.__index__,r=t.__last_index__,o=t.__text_cache__.slice(n,r);this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=r+e,this.raw=o,this.text=o,this.url=o}function f(t,e){var n=new p(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function d(t,e){if(!(this instanceof d))return new d(t,e);var n;e||(n=t,Object.keys(n||{}).reduce((function(t,e){return t||s.hasOwnProperty(e)}),!1)&&(e=t,t={})),this.__opts__=r({},s,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},c,t),this.__compiled__={},this.__tlds__=u,this.__tlds_replaced__=!1,this.re={},l(this)}d.prototype.add=function(t,e){return this.__schemas__[t]=e,l(this),this},d.prototype.set=function(t){return this.__opts__=r(this.__opts__,t),this},d.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;var e,n,r,o,i,a,s,c;if(this.re.schema_test.test(t))for((s=this.re.schema_search).lastIndex=0;null!==(e=s.exec(t));)if(o=this.testSchemaAt(t,e[2],s.lastIndex)){this.__schema__=e[2],this.__index__=e.index+e[1].length,this.__last_index__=e.index+e[0].length+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&0<=(c=t.search(this.re.host_fuzzy_test))&&(this.__index__<0||c<this.__index__)&&null!==(n=t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(i=n.index+n[1].length,(this.__index__<0||i<this.__index__)&&(this.__schema__="",this.__index__=i,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&0<=t.indexOf("@")&&null!==(r=t.match(this.re.email_fuzzy))&&(i=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||i<this.__index__||i===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=a)),0<=this.__index__},d.prototype.pretest=function(t){return this.re.pretest.test(t)},d.prototype.testSchemaAt=function(t,e,n){return this.__compiled__[e.toLowerCase()]?this.__compiled__[e.toLowerCase()].validate(t,n,this):0},d.prototype.match=function(t){var e=0,n=[];0<=this.__index__&&this.__text_cache__===t&&(n.push(f(this,e)),e=this.__last_index__);for(var r=e?t.slice(e):t;this.test(r);)n.push(f(this,e)),r=r.slice(this.__last_index__),e+=this.__last_index__;return n.length?n:null},d.prototype.tlds=function(t,e){return t=Array.isArray(t)?t:[t],e?this.__tlds__=this.__tlds__.concat(t).sort().filter((function(t,e,n){return t!==n[e-1]})).reverse():(this.__tlds__=t.slice(),this.__tlds_replaced__=!0),l(this),this},d.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),"mailto:"!==t.schema||/^mailto:/i.test(t.url)||(t.url="mailto:"+t.url)},d.prototype.onCompile=function(){},t.exports=d},function(t,e,n){t.exports=n(40)},function(t,e,n){"use strict";var r=n(10);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function e(){return t}var n={array:t.isRequired=t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n}},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){"use strict";t.exports=function(t){var e={};e.src_Any=n(22).source,e.src_Cc=n(23).source,e.src_Z=n(24).source,e.src_P=n(25).source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|");return e.src_pseudo_letter="(?:(?![><|]|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|[><|]|"+e.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!"+e.src_ZCc+"|[.]).|"+(t&&t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+e.src_ZCc+").|\\!(?!"+e.src_ZCc+"|[!]).|\\?(?!"+e.src_ZCc+"|[?]).)+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy='(^|[><|]|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}},function(t,e){t.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},function(t,e){t.exports=/[\0-\x1F\x7F-\x9F]/},function(t,e){t.exports=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/},function(t,e){t.exports=/[!-#%-\*,-/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E44\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD807[\uDC41-\uDC45\uDC70\uDC71]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){"use strict";n.r(e);var r=n(1),o=n.n(r),i=n(0),a=n.n(i),s=n(3),c=n(4),u=n(2),l=n.n(u);function p(){var t=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,p),this.callBacks=[],this.suggestionCallback=void 0,this.editorFlag=!1,this.suggestionFlag=!1,this.closeAllModals=function(e){t.callBacks.forEach((function(t){t(e)}))},this.init=function(e){var n=document.getElementById(e);n&&n.addEventListener("click",(function(){t.editorFlag=!0})),document&&(document.addEventListener("click",(function(){t.editorFlag?t.editorFlag=!1:(t.closeAllModals(),t.suggestionCallback&&t.suggestionCallback())})),document.addEventListener("keydown",(function(e){"Escape"===e.key&&t.closeAllModals()})))},this.onEditorClick=function(){t.closeModals(),!t.suggestionFlag&&t.suggestionCallback?t.suggestionCallback():t.suggestionFlag=!1},this.closeModals=function(e){t.closeAllModals(e)},this.registerCallBack=function(e){t.callBacks.push(e)},this.deregisterCallBack=function(e){t.callBacks=t.callBacks.filter((function(t){return t!==e}))},this.setSuggestionCallback=function(e){t.suggestionCallback=e},this.removeSuggestionCallback=function(){t.suggestionCallback=void 0},this.onSuggestionClick=function(){t.suggestionFlag=!0}}function f(){var t=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f),this.inputFocused=!1,this.editorMouseDown=!1,this.onEditorMouseDown=function(){t.editorFocused=!0},this.onInputMouseDown=function(){t.inputFocused=!0},this.isEditorBlur=function(e){return"INPUT"!==e.target.tagName&&"LABEL"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName||t.editorFocused?!("INPUT"===e.target.tagName&&"LABEL"===e.target.tagName&&"TEXTAREA"===e.target.tagName||t.inputFocused||(t.editorFocused=!1)):!(t.inputFocused=!1)},this.isEditorFocused=function(){return!t.inputFocused||(t.inputFocused=!1)},this.isToolbarFocused=function(){return!t.editorFocused||(t.editorFocused=!1)},this.isInputFocused=function(){return t.inputFocused}}var d,h=[],y={onKeyDown:function(t){h.forEach((function(e){e(t)}))},registerCallBack:function(t){h.push(t)},deregisterCallBack:function(t){h=h.filter((function(e){return e!==t}))}},g=function(){d=!0},m=function(){d=!1},v=function(){return d};function b(t){var e=t.getData()&&t.getData().get("text-align");return e?"rdw-".concat(e,"-aligned-block"):""}function _(t,e){if(t)for(var n in t)!{}.hasOwnProperty.call(t,n)||e(n,t[n])}function w(t,e){var n=!1;if(t)for(var r in t)if({}.hasOwnProperty.call(t,r)&&e===r){n=!0;break}return n}function S(t){t.stopPropagation()}function M(t){return t[t.options[0]].icon}function E(t,e){if(t&&void 0===e)return t;var n={};return _(t,(function(t,r){var o;o=r,"[object Object]"===Object.prototype.toString.call(o)?n[t]=E(r,e[t]):n[t]=void 0!==e[t]?e[t]:r})),n}var x=n(6),k=n.n(x),C=n(5);function j(t){return(j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function D(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function O(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function I(t,e){return!e||"object"!==j(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function L(t){return(L=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function N(t,e){return(N=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}n(11);var A=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=I(this,(e=L(t)).call.apply(e,[this].concat(o)))).onClick=function(){var t=n.props,e=t.disabled,r=t.onClick,o=t.value;e||r(o)},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&N(t,e)}(t,r.Component),e=t,(n=[{key:"render",value:function(){var t,e=this.props,n=e.children,r=e.className,i=e.activeClassName,a=e.active,s=e.disabled,c=e.title;return o.a.createElement("div",{className:l()("rdw-option-wrapper",r,(D(t={},"rdw-option-active ".concat(i),a),D(t,"rdw-option-disabled",s),t)),onClick:this.onClick,"aria-selected":a,title:c},n)}}])&&O(e.prototype,n),t}();function T(t){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function z(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function R(t,e){return!e||"object"!==T(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function P(t){return(P=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function B(t,e){return(B=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}A.propTypes={onClick:a.a.func.isRequired,children:a.a.any,value:a.a.string,className:a.a.string,activeClassName:a.a.string,active:a.a.bool,disabled:a.a.bool,title:a.a.string},A.defaultProps={activeClassName:""},n(12);var F=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=R(this,(e=P(t)).call.apply(e,[this].concat(o)))).state={highlighted:-1},n.onChange=function(t){var e=n.props.onChange;e&&e(t),n.toggleExpansion()},n.setHighlighted=function(t){n.setState({highlighted:t})},n.toggleExpansion=function(){var t=n.props,e=t.doExpand,r=t.doCollapse;t.expanded?r():e()},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&B(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.expanded;t.expanded&&!e&&this.setState({highlighted:-1})}},{key:"render",value:function(){var t=this,e=this.props,n=e.expanded,r=e.children,i=e.className,a=e.optionWrapperClassName,s=e.ariaLabel,c=e.onExpandEvent,u=e.title,p=this.state.highlighted,f=r.slice(1,r.length);return o.a.createElement("div",{className:l()("rdw-dropdown-wrapper",i),"aria-expanded":n,"aria-label":s||"rdw-dropdown"},o.a.createElement("a",{className:"rdw-dropdown-selectedtext",onClick:c,title:u},r[0],o.a.createElement("div",{className:l()({"rdw-dropdown-carettoclose":n,"rdw-dropdown-carettoopen":!n})})),n?o.a.createElement("ul",{className:l()("rdw-dropdown-optionwrapper",a),onClick:S},o.a.Children.map(f,(function(e,n){return e&&o.a.cloneElement(e,{onSelect:t.onChange,highlighted:p===n,setHighlighted:t.setHighlighted,index:n})}))):void 0)}}])&&z(e.prototype,n),t}();function U(t){return(U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function K(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function H(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function q(t,e){return!e||"object"!==U(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function Y(t){return(Y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function W(t,e){return(W=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}F.propTypes={children:a.a.any,onChange:a.a.func,className:a.a.string,expanded:a.a.bool,doExpand:a.a.func,doCollapse:a.a.func,onExpandEvent:a.a.func,optionWrapperClassName:a.a.string,ariaLabel:a.a.string,title:a.a.string},n(13);var Q=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=q(this,(e=Y(t)).call.apply(e,[this].concat(o)))).onClick=function(t){var e=n.props,r=e.onSelect,o=e.onClick,i=e.value;e.disabled||(r&&r(i),o&&(t.stopPropagation(),o(i)))},n.setHighlighted=function(){var t=n.props;(0,t.setHighlighted)(t.index)},n.resetHighlighted=function(){(0,n.props.setHighlighted)(-1)},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&W(t,e)}(t,r.Component),e=t,(n=[{key:"render",value:function(){var t,e=this.props,n=e.children,r=e.active,i=e.disabled,a=e.highlighted,s=e.className,c=e.activeClassName,u=e.disabledClassName,p=e.highlightedClassName,f=e.title;return o.a.createElement("li",{className:l()("rdw-dropdownoption-default",s,(K(t={},"rdw-dropdownoption-active ".concat(c),r),K(t,"rdw-dropdownoption-highlighted ".concat(p),a),K(t,"rdw-dropdownoption-disabled ".concat(u),i),t)),onMouseEnter:this.setHighlighted,onMouseLeave:this.resetHighlighted,onClick:this.onClick,title:f},n)}}])&&H(e.prototype,n),t}();function Z(t){return(Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function V(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function G(t,e){return!e||"object"!==Z(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function J(t){return(J=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function X(t,e){return(X=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Q.propTypes={children:a.a.any,value:a.a.any,onClick:a.a.func,onSelect:a.a.func,setHighlighted:a.a.func,index:a.a.number,disabled:a.a.bool,active:a.a.bool,highlighted:a.a.bool,className:a.a.string,activeClassName:a.a.string,disabledClassName:a.a.string,highlightedClassName:a.a.string,title:a.a.string},Q.defaultProps={activeClassName:"",disabledClassName:"",highlightedClassName:""},n(14);var $=function(){function t(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),G(this,J(t).apply(this,arguments))}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&X(t,e)}(t,r.Component),e=t,(n=[{key:"renderInFlatList",value:function(){var t=this.props,e=t.config,n=t.currentState,r=t.onChange,i=t.translations;return o.a.createElement("div",{className:l()("rdw-inline-wrapper",e.className),"aria-label":"rdw-inline-control"},e.options.map((function(t,a){return o.a.createElement(A,{key:a,value:t,onClick:r,className:l()(e[t].className),active:!0===n[t]||"MONOSPACE"===t&&n.CODE,title:e[t].title||i["components.controls.inline.".concat(t)]},o.a.createElement("img",{alt:"",src:e[t].icon}))})))}},{key:"renderInDropDown",value:function(){var t=this.props,e=t.config,n=t.expanded,r=t.doExpand,i=t.onExpandEvent,a=t.doCollapse,s=t.currentState,c=t.onChange,u=t.translations,p=e.className,f=e.dropdownClassName,d=e.title;return o.a.createElement(F,{className:l()("rdw-inline-dropdown",p),optionWrapperClassName:l()(f),onChange:c,expanded:n,doExpand:r,doCollapse:a,onExpandEvent:i,"aria-label":"rdw-inline-control",title:d},o.a.createElement("img",{src:M(e),alt:""}),e.options.map((function(t,n){return o.a.createElement(Q,{key:n,value:t,className:l()("rdw-inline-dropdownoption",e[t].className),active:!0===s[t]||"MONOSPACE"===t&&s.CODE,title:e[t].title||u["components.controls.inline.".concat(t)]},o.a.createElement("img",{src:e[t].icon,alt:""}))})))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&V(e.prototype,n),t}();function tt(t){return(tt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function et(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function nt(t){return(nt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function rt(t,e){return(rt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}$.propTypes={expanded:a.a.bool,doExpand:a.a.func,doCollapse:a.a.func,onExpandEvent:a.a.func,config:a.a.object,onChange:a.a.func,currentState:a.a.object,translations:a.a.object};var ot=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==tt(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,nt(t).call(this,e))).onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.toggleInlineStyle=function(t){var e="monospace"===t?"CODE":t.toUpperCase(),r=n.props,o=r.editorState,i=r.onChange,a=s.RichUtils.toggleInlineStyle(o,e);if("subscript"===t||"superscript"===t){var c="subscript"===t?"SUPERSCRIPT":"SUBSCRIPT",u=s.Modifier.removeInlineStyle(a.getCurrentContent(),a.getSelection(),c);a=s.EditorState.push(a,u,"change-inline-style")}a&&i(a)},n.changeKeys=function(t){if(t){var e={};return _(t,(function(t,n){e["CODE"===t?"monospace":t.toLowerCase()]=n})),e}},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})};var r=n.props,o=r.editorState,i=r.modalHandler;return n.state={currentStyles:o?n.changeKeys(Object(c.getSelectionInlineStyle)(o)):{}},i.registerCallBack(n.expandCollapse),n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rt(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&e!==t.editorState&&this.setState({currentStyles:this.changeKeys(Object(c.getSelectionInlineStyle)(e))})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state,i=r.expanded,a=r.currentStyles,s=e.component||$;return o.a.createElement(s,{config:e,translations:n,currentState:a,expanded:i,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.toggleInlineStyle})}}])&&et(e.prototype,n),t}();function it(t){return(it="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function at(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function st(t){return(st=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ct(t,e){return(ct=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}ot.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object},n(15);var ut=function(){function t(e){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==it(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,st(t).call(this,e))).getBlockTypes=function(t){return[{label:"Normal",displayName:t["components.controls.blocktype.normal"]},{label:"H1",displayName:t["components.controls.blocktype.h1"]},{label:"H2",displayName:t["components.controls.blocktype.h2"]},{label:"H3",displayName:t["components.controls.blocktype.h3"]},{label:"H4",displayName:t["components.controls.blocktype.h4"]},{label:"H5",displayName:t["components.controls.blocktype.h5"]},{label:"H6",displayName:t["components.controls.blocktype.h6"]},{label:"Blockquote",displayName:t["components.controls.blocktype.blockquote"]},{label:"Code",displayName:t["components.controls.blocktype.code"]}]},n.state={blockTypes:n.getBlockTypes(e.translations)},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ct(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.translations;e!==t.translations&&this.setState({blockTypes:this.getBlockTypes(e)})}},{key:"renderFlat",value:function(t){var e=this.props,n=e.config.className,r=e.onChange,i=e.currentState.blockType;return o.a.createElement("div",{className:l()("rdw-inline-wrapper",n)},t.map((function(t,e){return o.a.createElement(A,{key:e,value:t.label,active:i===t.label,onClick:r},t.displayName)})))}},{key:"renderInDropdown",value:function(t){var e=this.props,n=e.config,r=n.className,i=n.dropdownClassName,a=n.title,s=e.currentState.blockType,c=e.expanded,u=e.doExpand,p=e.onExpandEvent,f=e.doCollapse,d=e.onChange,h=e.translations,y=this.state.blockTypes.filter((function(t){return t.label===s})),g=y&&y[0]&&y[0].displayName;return o.a.createElement("div",{className:"rdw-block-wrapper","aria-label":"rdw-block-control"},o.a.createElement(F,{className:l()("rdw-block-dropdown",r),optionWrapperClassName:l()(i),onChange:d,expanded:c,doExpand:u,doCollapse:f,onExpandEvent:p,title:a||h["components.controls.blocktype.blocktype"]},o.a.createElement("span",null,g||h["components.controls.blocktype.blocktype"]),t.map((function(t,e){return o.a.createElement(Q,{active:s===t.label,value:t.label,key:e},t.displayName)}))))}},{key:"render",value:function(){var t=this.props.config,e=t.inDropdown,n=this.state.blockTypes.filter((function(e){var n=e.label;return-1<t.options.indexOf(n)}));return e?this.renderInDropdown(n):this.renderFlat(n)}}])&&at(e.prototype,n),t}();ut.propTypes={expanded:a.a.bool,onExpandEvent:a.a.func,doExpand:a.a.func,doCollapse:a.a.func,onChange:a.a.func,config:a.a.object,currentState:a.a.object,translations:a.a.object};var lt=ut;function pt(t){return(pt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ft(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function dt(t){return(dt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ht(t,e){return(ht=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var yt=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==pt(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,dt(t).call(this,e))).onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.blocksTypes=[{label:"Normal",style:"unstyled"},{label:"H1",style:"header-one"},{label:"H2",style:"header-two"},{label:"H3",style:"header-three"},{label:"H4",style:"header-four"},{label:"H5",style:"header-five"},{label:"H6",style:"header-six"},{label:"Blockquote",style:"blockquote"},{label:"Code",style:"code"}],n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})},n.toggleBlockType=function(t){var e=n.blocksTypes.find((function(e){return e.label===t})).style,r=n.props,o=r.editorState,i=r.onChange,a=s.RichUtils.toggleBlockType(o,e);a&&i(a)};var r=e.editorState,o=e.modalHandler;return n.state={expanded:!1,currentBlockType:r?Object(c.getSelectedBlocksType)(r):"unstyled"},o.registerCallBack(n.expandCollapse),n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ht(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&e!==t.editorState&&this.setState({currentBlockType:Object(c.getSelectedBlocksType)(e)})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state,i=r.expanded,a=r.currentBlockType,s=e.component||lt,c=this.blocksTypes.find((function(t){return t.style===a}));return o.a.createElement(s,{config:e,translations:n,currentState:{blockType:c&&c.label},onChange:this.toggleBlockType,expanded:i,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&ft(e.prototype,n),t}();yt.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object,modalHandler:a.a.object,config:a.a.object,translations:a.a.object};var gt=yt;function mt(t){return(mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function vt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function bt(t,e){return!e||"object"!==mt(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function _t(t){return(_t=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function wt(t,e){return(wt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}n(16);var St=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=bt(this,(e=_t(t)).call.apply(e,[this].concat(o)))).state={defaultFontSize:void 0},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wt(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidMount",value:function(){var t=document.getElementsByClassName("DraftEditor-root");if(t&&0<t.length){var e=window.getComputedStyle(t[0]).getPropertyValue("font-size");e=e.substring(0,e.length-2),this.setState({defaultFontSize:e})}}},{key:"render",value:function(){var t=this.props,e=t.config,n=e.icon,r=e.className,i=e.dropdownClassName,a=e.options,s=e.title,c=t.onChange,u=t.expanded,p=t.doCollapse,f=t.onExpandEvent,d=t.doExpand,h=t.translations,y=this.props.currentState.fontSize,g=this.state.defaultFontSize;return g=Number(g),y=y||a&&0<=a.indexOf(g)&&g,o.a.createElement("div",{className:"rdw-fontsize-wrapper","aria-label":"rdw-font-size-control"},o.a.createElement(F,{className:l()("rdw-fontsize-dropdown",r),optionWrapperClassName:l()(i),onChange:c,expanded:u,doExpand:d,doCollapse:p,onExpandEvent:f,title:s||h["components.controls.fontsize.fontsize"]},y?o.a.createElement("span",null,y):o.a.createElement("img",{src:n,alt:""}),a.map((function(t,e){return o.a.createElement(Q,{className:"rdw-fontsize-option",active:y===t,value:t,key:e},t)}))))}}])&&vt(e.prototype,n),t}();function Mt(t){return(Mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Et(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function xt(t){return(xt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function kt(t,e){return(kt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}St.propTypes={expanded:a.a.bool,onExpandEvent:a.a.func,doExpand:a.a.func,doCollapse:a.a.func,onChange:a.a.func,config:a.a.object,currentState:a.a.object,translations:a.a.object};var Ct=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==Mt(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,xt(t).call(this,e))).onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})},n.toggleFontSize=function(t){var e=n.props,r=e.editorState,o=e.onChange,i=Object(c.toggleCustomInlineStyle)(r,"fontSize",t);i&&o(i)};var r=e.editorState,o=e.modalHandler;return n.state={expanded:void 0,currentFontSize:r?Object(c.getSelectionCustomInlineStyle)(r,["FONTSIZE"]).FONTSIZE:void 0},o.registerCallBack(n.expandCollapse),n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&kt(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&e!==t.editorState&&this.setState({currentFontSize:Object(c.getSelectionCustomInlineStyle)(e,["FONTSIZE"]).FONTSIZE})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state,i=r.expanded,a=r.currentFontSize,s=e.component||St,c=a&&Number(a.substring(9));return o.a.createElement(s,{config:e,translations:n,currentState:{fontSize:c},onChange:this.toggleFontSize,expanded:i,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&Et(e.prototype,n),t}();function jt(t){return(jt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Dt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ot(t,e){return!e||"object"!==jt(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function It(t){return(It=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Lt(t,e){return(Lt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Ct.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object,modalHandler:a.a.object,config:a.a.object,translations:a.a.object},n(17);var Nt=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=Ot(this,(e=It(t)).call.apply(e,[this].concat(o)))).state={defaultFontFamily:void 0},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Lt(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidMount",value:function(){var t=document.getElementsByClassName("DraftEditor-root");if(t&&0<t.length){var e=window.getComputedStyle(t[0]).getPropertyValue("font-family");this.setState({defaultFontFamily:e})}}},{key:"render",value:function(){var t=this.state.defaultFontFamily,e=this.props,n=e.config,r=n.className,i=n.dropdownClassName,a=n.options,s=n.title,c=e.translations,u=e.onChange,p=e.expanded,f=e.doCollapse,d=e.onExpandEvent,h=e.doExpand,y=this.props.currentState.fontFamily;return y=y||a&&t&&a.some((function(e){return e.toLowerCase()===t.toLowerCase()}))&&t,o.a.createElement("div",{className:"rdw-fontfamily-wrapper","aria-label":"rdw-font-family-control"},o.a.createElement(F,{className:l()("rdw-fontfamily-dropdown",r),optionWrapperClassName:l()("rdw-fontfamily-optionwrapper",i),onChange:u,expanded:p,doExpand:h,doCollapse:f,onExpandEvent:d,title:s||c["components.controls.fontfamily.fontfamily"]},o.a.createElement("span",{className:"rdw-fontfamily-placeholder"},y||c["components.controls.fontfamily.fontfamily"]),a.map((function(t,e){return o.a.createElement(Q,{active:y===t,value:t,key:e},t)}))))}}])&&Dt(e.prototype,n),t}();Nt.propTypes={expanded:a.a.bool,onExpandEvent:a.a.func,doExpand:a.a.func,doCollapse:a.a.func,onChange:a.a.func,config:a.a.object,currentState:a.a.object,translations:a.a.object};var At=Nt;function Tt(t){return(Tt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function zt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Rt(t){return(Rt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Pt(t,e){return(Pt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var Bt=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==Tt(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,Rt(t).call(this,e))).onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})},n.toggleFontFamily=function(t){var e=n.props,r=e.editorState,o=e.onChange,i=Object(c.toggleCustomInlineStyle)(r,"fontFamily",t);i&&o(i)};var r=e.editorState,o=e.modalHandler;return n.state={expanded:void 0,currentFontFamily:r?Object(c.getSelectionCustomInlineStyle)(r,["FONTFAMILY"]).FONTFAMILY:void 0},o.registerCallBack(n.expandCollapse),n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pt(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&e!==t.editorState&&this.setState({currentFontFamily:Object(c.getSelectionCustomInlineStyle)(e,["FONTFAMILY"]).FONTFAMILY})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state,i=r.expanded,a=r.currentFontFamily,s=e.component||At,c=a&&a.substring(11);return o.a.createElement(s,{translations:n,config:e,currentState:{fontFamily:c},onChange:this.toggleFontFamily,expanded:i,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&zt(e.prototype,n),t}();function Ft(t){return(Ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ut(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Kt(t,e){return!e||"object"!==Ft(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function Ht(t){return(Ht=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function qt(t,e){return(qt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Bt.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object,modalHandler:a.a.object,config:a.a.object,translations:a.a.object},n(18);var Yt=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=Kt(this,(e=Ht(t)).call.apply(e,[this].concat(o)))).options=["unordered","ordered","indent","outdent"],n.toggleBlockType=function(t){(0,n.props.onChange)(t)},n.indent=function(){(0,n.props.onChange)("indent")},n.outdent=function(){(0,n.props.onChange)("outdent")},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qt(t,e)}(t,r.Component),e=t,(n=[{key:"renderInFlatList",value:function(){var t=this.props,e=t.config,n=t.currentState.listType,r=t.translations,i=t.indentDisabled,a=t.outdentDisabled,s=e.options,c=e.unordered,u=e.ordered,p=e.indent,f=e.outdent,d=e.className;return o.a.createElement("div",{className:l()("rdw-list-wrapper",d),"aria-label":"rdw-list-control"},0<=s.indexOf("unordered")&&o.a.createElement(A,{value:"unordered",onClick:this.toggleBlockType,className:l()(c.className),active:"unordered"===n,title:c.title||r["components.controls.list.unordered"]},o.a.createElement("img",{src:c.icon,alt:""})),0<=s.indexOf("ordered")&&o.a.createElement(A,{value:"ordered",onClick:this.toggleBlockType,className:l()(u.className),active:"ordered"===n,title:u.title||r["components.controls.list.ordered"]},o.a.createElement("img",{src:u.icon,alt:""})),0<=s.indexOf("indent")&&o.a.createElement(A,{onClick:this.indent,disabled:i,className:l()(p.className),title:p.title||r["components.controls.list.indent"]},o.a.createElement("img",{src:p.icon,alt:""})),0<=s.indexOf("outdent")&&o.a.createElement(A,{onClick:this.outdent,disabled:a,className:l()(f.className),title:f.title||r["components.controls.list.outdent"]},o.a.createElement("img",{src:f.icon,alt:""})))}},{key:"renderInDropDown",value:function(){var t=this,e=this.props,n=e.config,r=e.expanded,i=e.doCollapse,a=e.doExpand,s=e.onExpandEvent,c=e.onChange,u=e.currentState.listType,p=e.translations,f=n.options,d=n.className,h=n.dropdownClassName,y=n.title;return o.a.createElement(F,{className:l()("rdw-list-dropdown",d),optionWrapperClassName:l()(h),onChange:c,expanded:r,doExpand:a,doCollapse:i,onExpandEvent:s,"aria-label":"rdw-list-control",title:y||p["components.controls.list.list"]},o.a.createElement("img",{src:M(n),alt:""}),this.options.filter((function(t){return 0<=f.indexOf(t)})).map((function(e,r){return o.a.createElement(Q,{key:r,value:e,disabled:t.props["".concat(e,"Disabled")],className:l()("rdw-list-dropdownOption",n[e].className),active:u===e,title:n[e].title||p["components.controls.list.".concat(e)]},o.a.createElement("img",{src:n[e].icon,alt:""}))})))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&Ut(e.prototype,n),t}();function Wt(t){return(Wt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Qt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Zt(t){return(Zt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Vt(t,e){return(Vt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Yt.propTypes={expanded:a.a.bool,doExpand:a.a.func,doCollapse:a.a.func,onExpandEvent:a.a.func,config:a.a.object,onChange:a.a.func,currentState:a.a.object,translations:a.a.object,indentDisabled:a.a.bool,outdentDisabled:a.a.bool};var Gt=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==Wt(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,Zt(t).call(this,e))).onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.onChange=function(t){"unordered"===t?n.toggleBlockType("unordered-list-item"):"ordered"===t?n.toggleBlockType("ordered-list-item"):"indent"===t?n.adjustDepth(1):n.adjustDepth(-1)},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})},n.toggleBlockType=function(t){var e=n.props,r=e.onChange,o=e.editorState,i=s.RichUtils.toggleBlockType(o,t);i&&r(i)},n.adjustDepth=function(t){var e=n.props,r=e.onChange,o=e.editorState,i=Object(c.changeDepth)(o,t,4);i&&r(i)},n.isIndentDisabled=function(){var t=n.props.editorState,e=n.state.currentBlock,r=Object(c.getBlockBeforeSelectedBlock)(t);return!r||!Object(c.isListBlock)(e)||r.get("type")!==e.get("type")||r.get("depth")<e.get("depth")},n.isOutdentDisabled=function(){var t=n.state.currentBlock;return!t||!Object(c.isListBlock)(t)||t.get("depth")<=0};var r=n.props,o=r.editorState,i=r.modalHandler;return n.state={expanded:!1,currentBlock:o?Object(c.getSelectedBlock)(o):void 0},i.registerCallBack(n.expandCollapse),n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vt(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&e!==t.editorState&&this.setState({currentBlock:Object(c.getSelectedBlock)(e)})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t,e=this.props,n=e.config,r=e.translations,i=this.state,a=i.expanded,s=i.currentBlock,c=n.component||Yt;"unordered-list-item"===s.get("type")?t="unordered":"ordered-list-item"===s.get("type")&&(t="ordered");var u=this.isIndentDisabled(),l=this.isOutdentDisabled();return o.a.createElement(c,{config:n,translations:r,currentState:{listType:t},expanded:a,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.onChange,indentDisabled:u,outdentDisabled:l})}}])&&Qt(e.prototype,n),t}();function Jt(t){return(Jt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Xt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function $t(t,e){return!e||"object"!==Jt(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function te(t){return(te=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ee(t,e){return(ee=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Gt.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object},n(19);var ne=function(){function t(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),$t(this,te(t).apply(this,arguments))}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ee(t,e)}(t,r.Component),e=t,(n=[{key:"renderInFlatList",value:function(){var t=this.props,e=t.config,n=e.options,r=e.left,i=e.center,a=e.right,s=e.justify,c=e.className,u=t.onChange,p=t.currentState.textAlignment,f=t.translations;return o.a.createElement("div",{className:l()("rdw-text-align-wrapper",c),"aria-label":"rdw-textalign-control"},0<=n.indexOf("left")&&o.a.createElement(A,{value:"left",className:l()(r.className),active:"left"===p,onClick:u,title:r.title||f["components.controls.textalign.left"]},o.a.createElement("img",{src:r.icon,alt:""})),0<=n.indexOf("center")&&o.a.createElement(A,{value:"center",className:l()(i.className),active:"center"===p,onClick:u,title:i.title||f["components.controls.textalign.center"]},o.a.createElement("img",{src:i.icon,alt:""})),0<=n.indexOf("right")&&o.a.createElement(A,{value:"right",className:l()(a.className),active:"right"===p,onClick:u,title:a.title||f["components.controls.textalign.right"]},o.a.createElement("img",{src:a.icon,alt:""})),0<=n.indexOf("justify")&&o.a.createElement(A,{value:"justify",className:l()(s.className),active:"justify"===p,onClick:u,title:s.title||f["components.controls.textalign.justify"]},o.a.createElement("img",{src:s.icon,alt:""})))}},{key:"renderInDropDown",value:function(){var t=this.props,e=t.config,n=t.expanded,r=t.doExpand,i=t.onExpandEvent,a=t.doCollapse,s=t.currentState.textAlignment,c=t.onChange,u=t.translations,p=e.options,f=e.left,d=e.center,h=e.right,y=e.justify,g=e.className,m=e.dropdownClassName,v=e.title;return o.a.createElement(F,{className:l()("rdw-text-align-dropdown",g),optionWrapperClassName:l()(m),onChange:c,expanded:n,doExpand:r,doCollapse:a,onExpandEvent:i,"aria-label":"rdw-textalign-control",title:v||u["components.controls.textalign.textalign"]},o.a.createElement("img",{src:s&&e[s]&&e[s].icon||M(e),alt:""}),0<=p.indexOf("left")&&o.a.createElement(Q,{value:"left",active:"left"===s,className:l()("rdw-text-align-dropdownOption",f.className),title:f.title||u["components.controls.textalign.left"]},o.a.createElement("img",{src:f.icon,alt:""})),0<=p.indexOf("center")&&o.a.createElement(Q,{value:"center",active:"center"===s,className:l()("rdw-text-align-dropdownOption",d.className),title:d.title||u["components.controls.textalign.center"]},o.a.createElement("img",{src:d.icon,alt:""})),0<=p.indexOf("right")&&o.a.createElement(Q,{value:"right",active:"right"===s,className:l()("rdw-text-align-dropdownOption",h.className),title:h.title||u["components.controls.textalign.right"]},o.a.createElement("img",{src:h.icon,alt:""})),0<=p.indexOf("justify")&&o.a.createElement(Q,{value:"justify",active:"justify"===s,className:l()("rdw-text-align-dropdownOption",y.className),title:y.title||u["components.controls.textalign.justify"]},o.a.createElement("img",{src:y.icon,alt:""})))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&Xt(e.prototype,n),t}();function re(t){return(re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function oe(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ie(t){return(ie=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ae(t,e){return(ae=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}ne.propTypes={expanded:a.a.bool,doExpand:a.a.func,doCollapse:a.a.func,onExpandEvent:a.a.func,config:a.a.object,onChange:a.a.func,currentState:a.a.object,translations:a.a.object};var se=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==re(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,ie(t).call(this,e))).onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})},n.addBlockAlignmentData=function(t){var e=n.props,r=e.editorState;(0,e.onChange)(n.state.currentTextAlignment!==t?Object(c.setBlockData)(r,{"text-align":t}):Object(c.setBlockData)(r,{"text-align":void 0}))};var r=n.props.modalHandler;return n.state={currentTextAlignment:void 0},r.registerCallBack(n.expandCollapse),n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ae(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e!==t.editorState&&this.setState({currentTextAlignment:Object(c.getSelectedBlocksMetadata)(e).get("text-align")})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state,i=r.expanded,a=r.currentTextAlignment,s=e.component||ne;return o.a.createElement(s,{config:e,translations:n,expanded:i,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,currentState:{textAlignment:a},onChange:this.addBlockAlignmentData})}}])&&oe(e.prototype,n),t}();function ce(t){return(ce="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ue(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function le(t,e){return!e||"object"!==ce(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function pe(t){return(pe=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function fe(t,e){return(fe=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}se.propTypes={editorState:a.a.object.isRequired,onChange:a.a.func.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object},n(20);var de=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return(n=le(this,(e=pe(t)).call.apply(e,[this].concat(i)))).state={currentStyle:"color"},n.onChange=function(t){(0,n.props.onChange)(n.state.currentStyle,t)},n.setCurrentStyleColor=function(){n.setState({currentStyle:"color"})},n.setCurrentStyleBgcolor=function(){n.setState({currentStyle:"bgcolor"})},n.renderModal=function(){var t=n.props,e=t.config,r=e.popupClassName,i=e.colors,a=t.currentState,s=a.color,c=a.bgColor,u=t.translations,p=n.state.currentStyle,f="color"===p?s:c;return o.a.createElement("div",{className:l()("rdw-colorpicker-modal",r),onClick:S},o.a.createElement("span",{className:"rdw-colorpicker-modal-header"},o.a.createElement("span",{className:l()("rdw-colorpicker-modal-style-label",{"rdw-colorpicker-modal-style-label-active":"color"===p}),onClick:n.setCurrentStyleColor},u["components.controls.colorpicker.text"]),o.a.createElement("span",{className:l()("rdw-colorpicker-modal-style-label",{"rdw-colorpicker-modal-style-label-active":"bgcolor"===p}),onClick:n.setCurrentStyleBgcolor},u["components.controls.colorpicker.background"])),o.a.createElement("span",{className:"rdw-colorpicker-modal-options"},i.map((function(t,e){return o.a.createElement(A,{value:t,key:e,className:"rdw-colorpicker-option",activeClassName:"rdw-colorpicker-option-active",active:f===t,onClick:n.onChange},o.a.createElement("span",{style:{backgroundColor:t},className:"rdw-colorpicker-cube"}))}))))},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fe(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){this.props.expanded&&!t.expanded&&this.setState({currentStyle:"color"})}},{key:"render",value:function(){var t=this.props,e=t.config,n=e.icon,r=e.className,i=e.title,a=t.expanded,s=t.onExpandEvent,c=t.translations;return o.a.createElement("div",{className:"rdw-colorpicker-wrapper","aria-haspopup":"true","aria-expanded":a,"aria-label":"rdw-color-picker",title:i||c["components.controls.colorpicker.colorpicker"]},o.a.createElement(A,{onClick:s,className:l()(r)},o.a.createElement("img",{src:n,alt:""})),a?this.renderModal():void 0)}}])&&ue(e.prototype,n),t}();de.propTypes={expanded:a.a.bool,onExpandEvent:a.a.func,onChange:a.a.func,config:a.a.object,currentState:a.a.object,translations:a.a.object};var he=de;function ye(t){return(ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ge(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function me(t){return(me=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ve(t,e){return(ve=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var be=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==ye(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,me(t).call(this,e))).state={expanded:!1,currentColor:void 0,currentBgColor:void 0},n.onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})},n.toggleColor=function(t,e){var r=n.props,o=r.editorState,i=r.onChange,a=Object(c.toggleCustomInlineStyle)(o,t,e);a&&i(a),n.doCollapse()};var r=e.editorState,o=e.modalHandler,i={expanded:!1,currentColor:void 0,currentBgColor:void 0};return r&&(i.currentColor=Object(c.getSelectionCustomInlineStyle)(r,["COLOR"]).COLOR,i.currentBgColor=Object(c.getSelectionCustomInlineStyle)(r,["BGCOLOR"]).BGCOLOR),n.state=i,o.registerCallBack(n.expandCollapse),n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ve(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&e!==t.editorState&&this.setState({currentColor:Object(c.getSelectionCustomInlineStyle)(e,["COLOR"]).COLOR,currentBgColor:Object(c.getSelectionCustomInlineStyle)(e,["BGCOLOR"]).BGCOLOR})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state,i=r.currentColor,a=r.currentBgColor,s=r.expanded,c=e.component||he,u=i&&i.substring(6),l=a&&a.substring(8);return o.a.createElement(c,{config:e,translations:n,onChange:this.toggleColor,expanded:s,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,currentState:{color:u,bgColor:l}})}}])&&ge(e.prototype,n),t}();be.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object};var _e=be,we=n(7),Se=n.n(we);function Me(t){return(Me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ee(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function xe(t,e){return!e||"object"!==Me(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function ke(t){return(ke=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Ce(t,e){return(Ce=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}n(26);var je=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=xe(this,(e=ke(t)).call.apply(e,[this].concat(o)))).state={showModal:!1,linkTarget:"",linkTitle:"",linkTargetOption:n.props.config.defaultTargetOption},n.removeLink=function(){(0,n.props.onChange)("unlink")},n.addLink=function(){var t=n.props.onChange,e=n.state;t("link",e.linkTitle,e.linkTarget,e.linkTargetOption)},n.updateValue=function(t){var e,r,o;n.setState((e={},r="".concat(t.target.name),o=t.target.value,r in e?Object.defineProperty(e,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[r]=o,e))},n.updateTargetOption=function(t){n.setState({linkTargetOption:t.target.checked?"_blank":"_self"})},n.hideModal=function(){n.setState({showModal:!1})},n.signalExpandShowModal=function(){var t=n.props,e=t.onExpandEvent,r=t.currentState,o=r.link,i=r.selectionText,a=n.state.linkTargetOption;e(),n.setState({showModal:!0,linkTarget:o&&o.target||"",linkTargetOption:o&&o.targetOption||a,linkTitle:o&&o.title||i})},n.forceExpandAndShowModal=function(){var t=n.props,e=t.doExpand,r=t.currentState,o=r.link,i=r.selectionText,a=n.state.linkTargetOption;e(),n.setState({showModal:!0,linkTarget:o&&o.target,linkTargetOption:o&&o.targetOption||a,linkTitle:o&&o.title||i})},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ce(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){t.expanded&&!this.props.expanded&&this.setState({showModal:!1,linkTarget:"",linkTitle:"",linkTargetOption:this.props.config.defaultTargetOption})}},{key:"renderAddLinkModal",value:function(){var t=this.props,e=t.config.popupClassName,n=t.doCollapse,r=t.translations,i=this.state,a=i.linkTitle,s=i.linkTarget,c=i.linkTargetOption;return o.a.createElement("div",{className:l()("rdw-link-modal",e),onClick:S},o.a.createElement("label",{className:"rdw-link-modal-label",htmlFor:"linkTitle"},r["components.controls.link.linkTitle"]),o.a.createElement("input",{id:"linkTitle",className:"rdw-link-modal-input",onChange:this.updateValue,onBlur:this.updateValue,name:"linkTitle",value:a}),o.a.createElement("label",{className:"rdw-link-modal-label",htmlFor:"linkTarget"},r["components.controls.link.linkTarget"]),o.a.createElement("input",{id:"linkTarget",className:"rdw-link-modal-input",onChange:this.updateValue,onBlur:this.updateValue,name:"linkTarget",value:s}),o.a.createElement("label",{className:"rdw-link-modal-target-option",htmlFor:"openLinkInNewWindow"},o.a.createElement("input",{id:"openLinkInNewWindow",type:"checkbox",defaultChecked:"_blank"===c,value:"_blank",onChange:this.updateTargetOption}),o.a.createElement("span",null,r["components.controls.link.linkTargetOption"])),o.a.createElement("span",{className:"rdw-link-modal-buttonsection"},o.a.createElement("button",{className:"rdw-link-modal-btn",onClick:this.addLink,disabled:!s||!a},r["generic.add"]),o.a.createElement("button",{className:"rdw-link-modal-btn",onClick:n},r["generic.cancel"])))}},{key:"renderInFlatList",value:function(){var t=this.props,e=t.config,n=e.options,r=e.link,i=e.unlink,a=e.className,s=t.currentState,c=t.expanded,u=t.translations,p=this.state.showModal;return o.a.createElement("div",{className:l()("rdw-link-wrapper",a),"aria-label":"rdw-link-control"},0<=n.indexOf("link")&&o.a.createElement(A,{value:"unordered-list-item",className:l()(r.className),onClick:this.signalExpandShowModal,"aria-haspopup":"true","aria-expanded":p,title:r.title||u["components.controls.link.link"]},o.a.createElement("img",{src:r.icon,alt:""})),0<=n.indexOf("unlink")&&o.a.createElement(A,{disabled:!s.link,value:"ordered-list-item",className:l()(i.className),onClick:this.removeLink,title:i.title||u["components.controls.link.unlink"]},o.a.createElement("img",{src:i.icon,alt:""})),c&&p?this.renderAddLinkModal():void 0)}},{key:"renderInDropDown",value:function(){var t=this.props,e=t.expanded,n=t.onExpandEvent,r=t.doCollapse,i=t.doExpand,a=t.onChange,s=t.config,c=t.currentState,u=t.translations,p=s.options,f=s.link,d=s.unlink,h=s.className,y=s.dropdownClassName,g=s.title,m=this.state.showModal;return o.a.createElement("div",{className:"rdw-link-wrapper","aria-haspopup":"true","aria-label":"rdw-link-control","aria-expanded":e,title:g},o.a.createElement(F,{className:l()("rdw-link-dropdown",h),optionWrapperClassName:l()(y),onChange:a,expanded:e&&!m,doExpand:i,doCollapse:r,onExpandEvent:n},o.a.createElement("img",{src:M(s),alt:""}),0<=p.indexOf("link")&&o.a.createElement(Q,{onClick:this.forceExpandAndShowModal,className:l()("rdw-link-dropdownoption",f.className),title:f.title||u["components.controls.link.link"]},o.a.createElement("img",{src:f.icon,alt:""})),0<=p.indexOf("unlink")&&o.a.createElement(Q,{onClick:this.removeLink,disabled:!c.link,className:l()("rdw-link-dropdownoption",d.className),title:d.title||u["components.controls.link.unlink"]},o.a.createElement("img",{src:d.icon,alt:""}))),e&&m?this.renderAddLinkModal():void 0)}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&Ee(e.prototype,n),t}();je.propTypes={expanded:a.a.bool,doExpand:a.a.func,doCollapse:a.a.func,onExpandEvent:a.a.func,config:a.a.object,onChange:a.a.func,currentState:a.a.object,translations:a.a.object};var De=je;function Oe(t){return(Oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ie(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Le(t){return(Le=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Ne(t,e){return(Ne=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Ae(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Te(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ze(t){var e=Re.match(t.target);return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ae(Object(n),!0).forEach((function(e){Te(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ae(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},t,{target:e&&e[0]&&e[0].url||t.target})}var Re=Se()(),Pe=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==Oe(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,Le(t).call(this,e))).onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.onChange=function(t,e,r,o){var i=n.props.config.linkCallback;if("link"===t){var a=(i||ze)({title:e,target:r,targetOption:o});n.addLink(a.title,a.target,a.targetOption)}else n.removeLink()},n.getCurrentValues=function(){var t=n.props.editorState,e=n.state.currentEntity,r=t.getCurrentContent(),o={};if(e&&"LINK"===r.getEntity(e).get("type")){o.link={};var i=e&&Object(c.getEntityRange)(t,e);o.link.target=e&&r.getEntity(e).get("data").url,o.link.targetOption=e&&r.getEntity(e).get("data").targetOption,o.link.title=i&&i.text}return o.selectionText=Object(c.getSelectionText)(t),o},n.doExpand=function(){n.setState({expanded:!0})},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.doCollapse=function(){n.setState({expanded:!1})},n.removeLink=function(){var t=n.props,e=t.editorState,r=t.onChange,o=n.state.currentEntity,i=e.getSelection();if(o){var a=Object(c.getEntityRange)(e,o);i=i.getIsBackward()?i.merge({anchorOffset:a.end,focusOffset:a.start}):i.merge({anchorOffset:a.start,focusOffset:a.end}),r(s.RichUtils.toggleLink(e,i,null))}},n.addLink=function(t,e,r){var o=n.props,i=o.editorState,a=o.onChange,u=n.state.currentEntity,l=i.getSelection();if(u){var p=Object(c.getEntityRange)(i,u);l=l.getIsBackward()?l.merge({anchorOffset:p.end,focusOffset:p.start}):l.merge({anchorOffset:p.start,focusOffset:p.end})}var f=i.getCurrentContent().createEntity("LINK","MUTABLE",{url:e,targetOption:r}).getLastCreatedEntityKey(),d=s.Modifier.replaceText(i.getCurrentContent(),l,"".concat(t),i.getCurrentInlineStyle(),f),h=s.EditorState.push(i,d,"insert-characters");l=h.getSelection().merge({anchorOffset:l.get("anchorOffset")+t.length,focusOffset:l.get("anchorOffset")+t.length}),h=s.EditorState.acceptSelection(h,l),d=s.Modifier.insertText(h.getCurrentContent(),l," ",h.getCurrentInlineStyle(),void 0),a(s.EditorState.push(h,d,"insert-characters")),n.doCollapse()};var r=n.props,o=r.editorState,i=r.modalHandler;return n.state={expanded:!1,link:void 0,selectionText:void 0,currentEntity:o?Object(c.getSelectionEntity)(o):void 0},i.registerCallBack(n.expandCollapse),n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ne(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&e!==t.editorState&&this.setState({currentEntity:Object(c.getSelectionEntity)(e)})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state.expanded,i=this.getCurrentValues(),a=i.link,s=i.selectionText,c=e.component||De;return o.a.createElement(c,{config:e,translations:n,expanded:r,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,currentState:{link:a,selectionText:s},onChange:this.onChange})}}])&&Ie(e.prototype,n),t}();Pe.propTypes={editorState:a.a.object.isRequired,onChange:a.a.func.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object};var Be=Pe;function Fe(t){return(Fe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ue(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ke(t,e){return!e||"object"!==Fe(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function He(t){return(He=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function qe(t,e){return(qe=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}n(27);var Ye=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=Ke(this,(e=He(t)).call.apply(e,[this].concat(o)))).state={embeddedLink:"",height:n.props.config.defaultSize.height,width:n.props.config.defaultSize.width},n.onChange=function(){var t=n.props.onChange,e=n.state;t(e.embeddedLink,e.height,e.width)},n.updateValue=function(t){var e,r,o;n.setState((e={},r="".concat(t.target.name),o=t.target.value,r in e?Object.defineProperty(e,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[r]=o,e))},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qe(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props,n=e.expanded,r=e.config;if(!n&&t.expanded){var o=r.defaultSize,i=o.height,a=o.width;this.setState({embeddedLink:"",height:i,width:a})}}},{key:"rendeEmbeddedLinkModal",value:function(){var t=this.state,e=t.embeddedLink,n=t.height,r=t.width,i=this.props,a=i.config.popupClassName,s=i.doCollapse,c=i.translations;return o.a.createElement("div",{className:l()("rdw-embedded-modal",a),onClick:S},o.a.createElement("div",{className:"rdw-embedded-modal-header"},o.a.createElement("span",{className:"rdw-embedded-modal-header-option"},c["components.controls.embedded.embeddedlink"],o.a.createElement("span",{className:"rdw-embedded-modal-header-label"}))),o.a.createElement("div",{className:"rdw-embedded-modal-link-section"},o.a.createElement("span",{className:"rdw-embedded-modal-link-input-wrapper"},o.a.createElement("input",{className:"rdw-embedded-modal-link-input",placeholder:c["components.controls.embedded.enterlink"],onChange:this.updateValue,onBlur:this.updateValue,value:e,name:"embeddedLink"}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),o.a.createElement("div",{className:"rdw-embedded-modal-size"},o.a.createElement("span",null,o.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:n,name:"height",className:"rdw-embedded-modal-size-input",placeholder:"Height"}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),o.a.createElement("span",null,o.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:r,name:"width",className:"rdw-embedded-modal-size-input",placeholder:"Width"}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")))),o.a.createElement("span",{className:"rdw-embedded-modal-btn-section"},o.a.createElement("button",{type:"button",className:"rdw-embedded-modal-btn",onClick:this.onChange,disabled:!e||!n||!r},c["generic.add"]),o.a.createElement("button",{type:"button",className:"rdw-embedded-modal-btn",onClick:s},c["generic.cancel"])))}},{key:"render",value:function(){var t=this.props,e=t.config,n=e.icon,r=e.className,i=e.title,a=t.expanded,s=t.onExpandEvent,c=t.translations;return o.a.createElement("div",{className:"rdw-embedded-wrapper","aria-haspopup":"true","aria-expanded":a,"aria-label":"rdw-embedded-control"},o.a.createElement(A,{className:l()(r),value:"unordered-list-item",onClick:s,title:i||c["components.controls.embedded.embedded"]},o.a.createElement("img",{src:n,alt:""})),a?this.rendeEmbeddedLinkModal():void 0)}}])&&Ue(e.prototype,n),t}();Ye.propTypes={expanded:a.a.bool,onExpandEvent:a.a.func,onChange:a.a.func,config:a.a.object,translations:a.a.object,doCollapse:a.a.func};var We=Ye;function Qe(t){return(Qe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ze(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ve(t,e){return!e||"object"!==Qe(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function Ge(t){return(Ge=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Je(t,e){return(Je=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var Xe=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=Ve(this,(e=Ge(t)).call.apply(e,[this].concat(o)))).state={expanded:!1},n.onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})},n.addEmbeddedLink=function(t,e,r){var o=n.props,i=o.editorState,a=o.onChange,c=o.config.embedCallback,u=c?c(t):t,l=i.getCurrentContent().createEntity("EMBEDDED_LINK","MUTABLE",{src:u,height:e,width:r}).getLastCreatedEntityKey();a(s.AtomicBlockUtils.insertAtomicBlock(i,l," ")),n.doCollapse()},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Je(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidMount",value:function(){this.props.modalHandler.registerCallBack(this.expandCollapse)}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state.expanded,i=e.component||We;return o.a.createElement(i,{config:e,translations:n,onChange:this.addEmbeddedLink,expanded:r,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&Ze(e.prototype,n),t}();Xe.propTypes={editorState:a.a.object.isRequired,onChange:a.a.func.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object};var $e=Xe;function tn(t){return(tn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function en(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function nn(t,e){return!e||"object"!==tn(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function rn(t){return(rn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function on(t,e){return(on=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}n(28);var an=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=nn(this,(e=rn(t)).call.apply(e,[this].concat(o)))).onChange=function(t){(0,n.props.onChange)(t.target.innerHTML)},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&on(t,e)}(t,r.Component),e=t,(n=[{key:"renderEmojiModal",value:function(){var t=this,e=this.props.config,n=e.popupClassName,r=e.emojis;return o.a.createElement("div",{className:l()("rdw-emoji-modal",n),onClick:S},r.map((function(e,n){return o.a.createElement("span",{key:n,className:"rdw-emoji-icon",alt:"",onClick:t.onChange},e)})))}},{key:"render",value:function(){var t=this.props,e=t.config,n=e.icon,r=e.className,i=e.title,a=t.expanded,s=t.onExpandEvent,c=t.translations;return o.a.createElement("div",{className:"rdw-emoji-wrapper","aria-haspopup":"true","aria-label":"rdw-emoji-control","aria-expanded":a,title:i||c["components.controls.emoji.emoji"]},o.a.createElement(A,{className:l()(r),value:"unordered-list-item",onClick:s},o.a.createElement("img",{src:n,alt:""})),a?this.renderEmojiModal():void 0)}}])&&en(e.prototype,n),t}();an.propTypes={expanded:a.a.bool,onExpandEvent:a.a.func,onChange:a.a.func,config:a.a.object,translations:a.a.object};var sn=an;function cn(t){return(cn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function un(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ln(t,e){return!e||"object"!==cn(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function pn(t){return(pn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function fn(t,e){return(fn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var dn=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=ln(this,(e=pn(t)).call.apply(e,[this].concat(o)))).state={expanded:!1},n.onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})},n.addEmoji=function(t){var e=n.props,r=e.editorState,o=e.onChange,i=s.Modifier.replaceText(r.getCurrentContent(),r.getSelection(),t,r.getCurrentInlineStyle());o(s.EditorState.push(r,i,"insert-characters")),n.doCollapse()},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fn(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidMount",value:function(){this.props.modalHandler.registerCallBack(this.expandCollapse)}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state.expanded,i=e.component||sn;return o.a.createElement(i,{config:e,translations:n,onChange:this.addEmoji,expanded:r,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onCollpase:this.closeModal})}}])&&un(e.prototype,n),t}();function hn(){return o.a.createElement("div",{className:"rdw-spinner"},o.a.createElement("div",{className:"rdw-bounce1"}),o.a.createElement("div",{className:"rdw-bounce2"}),o.a.createElement("div",{className:"rdw-bounce3"}))}function yn(t){return(yn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function gn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function mn(t,e){return!e||"object"!==yn(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function vn(t){return(vn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function bn(t,e){return(bn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}dn.propTypes={editorState:a.a.object.isRequired,onChange:a.a.func.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object},n(29),n(30);var _n=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=mn(this,(e=vn(t)).call.apply(e,[this].concat(o)))).state={imgSrc:"",dragEnter:!1,uploadHighlighted:n.props.config.uploadEnabled&&!!n.props.config.uploadCallback,showImageLoading:!1,height:n.props.config.defaultSize.height,width:n.props.config.defaultSize.width,alt:""},n.onDragEnter=function(t){n.stopPropagation(t),n.setState({dragEnter:!0})},n.onImageDrop=function(t){var e,r;t.preventDefault(),t.stopPropagation(),n.setState({dragEnter:!1}),r=t.dataTransfer.items?(e=t.dataTransfer.items,!0):(e=t.dataTransfer.files,!1);for(var o=0;o<e.length;o+=1)if((!r||"file"===e[o].kind)&&e[o].type.match("^image/")){var i=r?e[o].getAsFile():e[o];n.uploadImage(i)}},n.showImageUploadOption=function(){n.setState({uploadHighlighted:!0})},n.addImageFromState=function(){var t=n.state,e=t.imgSrc,r=t.alt,o=n.state,i=o.height,a=o.width,s=n.props.onChange;isNaN(i)||(i+="px"),isNaN(a)||(a+="px"),s(e,i,a,r)},n.showImageURLOption=function(){n.setState({uploadHighlighted:!1})},n.toggleShowImageLoading=function(){var t=!n.state.showImageLoading;n.setState({showImageLoading:t})},n.updateValue=function(t){var e,r,o;n.setState((e={},r="".concat(t.target.name),o=t.target.value,r in e?Object.defineProperty(e,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[r]=o,e))},n.selectImage=function(t){t.target.files&&0<t.target.files.length&&n.uploadImage(t.target.files[0])},n.uploadImage=function(t){n.toggleShowImageLoading(),(0,n.props.config.uploadCallback)(t).then((function(t){var e=t.data;n.setState({showImageLoading:!1,dragEnter:!1,imgSrc:e.link||e.url}),n.fileUpload=!1})).catch((function(){n.setState({showImageLoading:!1,dragEnter:!1})}))},n.fileUploadClick=function(t){n.fileUpload=!0,t.stopPropagation()},n.stopPropagation=function(t){n.fileUpload?n.fileUpload=!1:(t.preventDefault(),t.stopPropagation())},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&bn(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.config;t.expanded&&!this.props.expanded?this.setState({imgSrc:"",dragEnter:!1,uploadHighlighted:e.uploadEnabled&&!!e.uploadCallback,showImageLoading:!1,height:e.defaultSize.height,width:e.defaultSize.width,alt:""}):e.uploadCallback===t.config.uploadCallback&&e.uploadEnabled===t.config.uploadEnabled||this.setState({uploadHighlighted:e.uploadEnabled&&!!e.uploadCallback})}},{key:"renderAddImageModal",value:function(){var t=this.state,e=t.imgSrc,n=t.uploadHighlighted,r=t.showImageLoading,i=t.dragEnter,a=t.height,s=t.width,c=t.alt,u=this.props,p=u.config,f=p.popupClassName,d=p.uploadCallback,h=p.uploadEnabled,y=p.urlEnabled,g=p.previewImage,m=p.inputAccept,v=p.alt,b=u.doCollapse,_=u.translations;return o.a.createElement("div",{className:l()("rdw-image-modal",f),onClick:this.stopPropagation},o.a.createElement("div",{className:"rdw-image-modal-header"},h&&d&&o.a.createElement("span",{onClick:this.showImageUploadOption,className:"rdw-image-modal-header-option"},_["components.controls.image.fileUpload"],o.a.createElement("span",{className:l()("rdw-image-modal-header-label",{"rdw-image-modal-header-label-highlighted":n})})),y&&o.a.createElement("span",{onClick:this.showImageURLOption,className:"rdw-image-modal-header-option"},_["components.controls.image.byURL"],o.a.createElement("span",{className:l()("rdw-image-modal-header-label",{"rdw-image-modal-header-label-highlighted":!n})}))),n?o.a.createElement("div",{onClick:this.fileUploadClick},o.a.createElement("div",{onDragEnter:this.onDragEnter,onDragOver:this.stopPropagation,onDrop:this.onImageDrop,className:l()("rdw-image-modal-upload-option",{"rdw-image-modal-upload-option-highlighted":i})},o.a.createElement("label",{htmlFor:"file",className:"rdw-image-modal-upload-option-label"},g&&e?o.a.createElement("img",{src:e,alt:e,className:"rdw-image-modal-upload-option-image-preview"}):e||_["components.controls.image.dropFileText"])),o.a.createElement("input",{type:"file",id:"file",accept:m,onChange:this.selectImage,className:"rdw-image-modal-upload-option-input"})):o.a.createElement("div",{className:"rdw-image-modal-url-section"},o.a.createElement("input",{className:"rdw-image-modal-url-input",placeholder:_["components.controls.image.enterlink"],name:"imgSrc",onChange:this.updateValue,onBlur:this.updateValue,value:e}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),v.present&&o.a.createElement("div",{className:"rdw-image-modal-size"},o.a.createElement("span",{className:"rdw-image-modal-alt-lbl"},"Alt Text"),o.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:c,name:"alt",className:"rdw-image-modal-alt-input",placeholder:"alt"}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},v.mandatory&&"*")),o.a.createElement("div",{className:"rdw-image-modal-size"},"↕ ",o.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:a,name:"height",className:"rdw-image-modal-size-input",placeholder:"Height"}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")," ↔ ",o.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:s,name:"width",className:"rdw-image-modal-size-input",placeholder:"Width"}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),o.a.createElement("span",{className:"rdw-image-modal-btn-section"},o.a.createElement("button",{className:"rdw-image-modal-btn",onClick:this.addImageFromState,disabled:!e||!a||!s||v.mandatory&&!c},_["generic.add"]),o.a.createElement("button",{className:"rdw-image-modal-btn",onClick:b},_["generic.cancel"])),r?o.a.createElement("div",{className:"rdw-image-modal-spinner"},o.a.createElement(hn,null)):void 0)}},{key:"render",value:function(){var t=this.props,e=t.config,n=e.icon,r=e.className,i=e.title,a=t.expanded,s=t.onExpandEvent,c=t.translations;return o.a.createElement("div",{className:"rdw-image-wrapper","aria-haspopup":"true","aria-expanded":a,"aria-label":"rdw-image-control"},o.a.createElement(A,{className:l()(r),value:"unordered-list-item",onClick:s,title:i||c["components.controls.image.image"]},o.a.createElement("img",{src:n,alt:""})),a?this.renderAddImageModal():void 0)}}])&&gn(e.prototype,n),t}();_n.propTypes={expanded:a.a.bool,onExpandEvent:a.a.func,doCollapse:a.a.func,onChange:a.a.func,config:a.a.object,translations:a.a.object};var wn=_n;function Sn(t){return(Sn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Mn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function En(t){return(En=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function xn(t,e){return(xn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var kn=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==Sn(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,En(t).call(this,e))).onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.addImage=function(t,e,r,o){var i=n.props,a=i.editorState,c=i.onChange,u={src:t,height:e,width:r};i.config.alt.present&&(u.alt=o);var l=a.getCurrentContent().createEntity("IMAGE","MUTABLE",u).getLastCreatedEntityKey();c(s.AtomicBlockUtils.insertAtomicBlock(a,l," ")),n.doCollapse()};var r=n.props.modalHandler;return n.state={expanded:!1},r.registerCallBack(n.expandCollapse),n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xn(t,e)}(t,r.Component),e=t,(n=[{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state.expanded,i=e.component||wn;return o.a.createElement(i,{config:e,translations:n,onChange:this.addImage,expanded:r,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&Mn(e.prototype,n),t}();function Cn(t){var e=t.config,n=t.onChange,r=t.translations,i=e.icon,a=e.className,s=e.title;return o.a.createElement("div",{className:"rdw-remove-wrapper","aria-label":"rdw-remove-control"},o.a.createElement(A,{className:l()(a),onClick:n,title:s||r["components.controls.remove.remove"]},o.a.createElement("img",{src:i,alt:""})))}kn.propTypes={editorState:a.a.object.isRequired,onChange:a.a.func.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object};var jn=kn;n(31),Cn.propTypes={onChange:a.a.func,config:a.a.object,translations:a.a.object};var Dn=Cn;function On(t){return(On="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function In(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ln(t,e){return!e||"object"!==On(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function Nn(t){return(Nn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function An(t,e){return(An=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var Tn=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=Ln(this,(e=Nn(t)).call.apply(e,[this].concat(o)))).state={expanded:!1},n.onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.removeInlineStyles=function(){var t=n.props,e=t.editorState;(0,t.onChange)(n.removeAllInlineStyles(e))},n.removeAllInlineStyles=function(t){var e=t.getCurrentContent();return["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","MONOSPACE","SUPERSCRIPT","SUBSCRIPT"].forEach((function(n){e=s.Modifier.removeInlineStyle(e,t.getSelection(),n)})),_(Object(c.getSelectionCustomInlineStyle)(t,["FONTSIZE","FONTFAMILY","COLOR","BGCOLOR"]),(function(n,r){r&&(e=s.Modifier.removeInlineStyle(e,t.getSelection(),r))})),s.EditorState.push(t,e,"change-inline-style")},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&An(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidMount",value:function(){this.props.modalHandler.registerCallBack(this.expandCollapse)}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state.expanded,i=e.component||Dn;return o.a.createElement(i,{config:e,translations:n,expanded:r,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.removeInlineStyles})}}])&&In(e.prototype,n),t}();function zn(t){return(zn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Rn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Pn(t,e){return!e||"object"!==zn(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function Bn(t){return(Bn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Fn(t,e){return(Fn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Tn.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object.isRequired,config:a.a.object,translations:a.a.object,modalHandler:a.a.object},n(32);var Un=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=Pn(this,(e=Bn(t)).call.apply(e,[this].concat(o)))).onChange=function(t){(0,n.props.onChange)(t)},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fn(t,e)}(t,r.Component),e=t,(n=[{key:"renderInDropDown",value:function(){var t=this.props,e=t.config,n=t.expanded,r=t.doExpand,i=t.onExpandEvent,a=t.doCollapse,s=t.currentState,c=s.undoDisabled,u=s.redoDisabled,p=t.translations,f=e.options,d=e.undo,h=e.redo,y=e.className,g=e.dropdownClassName,m=e.title;return o.a.createElement(F,{className:l()("rdw-history-dropdown",y),optionWrapperClassName:l()(g),expanded:n,doExpand:r,doCollapse:a,onExpandEvent:i,"aria-label":"rdw-history-control",title:m||p["components.controls.history.history"]},o.a.createElement("img",{src:M(e),alt:""}),0<=f.indexOf("undo")&&o.a.createElement(Q,{value:"undo",onClick:this.onChange,disabled:c,className:l()("rdw-history-dropdownoption",d.className),title:d.title||p["components.controls.history.undo"]},o.a.createElement("img",{src:d.icon,alt:""})),0<=f.indexOf("redo")&&o.a.createElement(Q,{value:"redo",onClick:this.onChange,disabled:u,className:l()("rdw-history-dropdownoption",h.className),title:h.title||p["components.controls.history.redo"]},o.a.createElement("img",{src:h.icon,alt:""})))}},{key:"renderInFlatList",value:function(){var t=this.props,e=t.config,n=e.options,r=e.undo,i=e.redo,a=e.className,s=t.currentState,c=s.undoDisabled,u=s.redoDisabled,p=t.translations;return o.a.createElement("div",{className:l()("rdw-history-wrapper",a),"aria-label":"rdw-history-control"},0<=n.indexOf("undo")&&o.a.createElement(A,{value:"undo",onClick:this.onChange,className:l()(r.className),disabled:c,title:r.title||p["components.controls.history.undo"]},o.a.createElement("img",{src:r.icon,alt:""})),0<=n.indexOf("redo")&&o.a.createElement(A,{value:"redo",onClick:this.onChange,className:l()(i.className),disabled:u,title:i.title||p["components.controls.history.redo"]},o.a.createElement("img",{src:i.icon,alt:""})))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&Rn(e.prototype,n),t}();function Kn(t){return(Kn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Hn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function qn(t){return(qn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Yn(t,e){return(Yn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Un.propTypes={expanded:a.a.bool,doExpand:a.a.func,doCollapse:a.a.func,onExpandEvent:a.a.func,config:a.a.object,onChange:a.a.func,currentState:a.a.object,translations:a.a.object};var Wn=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==Kn(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,qn(t).call(this,e))).onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.onChange=function(t){var e=n.props,r=e.editorState,o=e.onChange,i=s.EditorState[t](r);i&&o(i)},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})};var r={expanded:!(n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1}),undoDisabled:!1,redoDisabled:!1},o=e.editorState,i=e.modalHandler;return o&&(r.undoDisabled=0===o.getUndoStack().size,r.redoDisabled=0===o.getRedoStack().size),n.state=r,i.registerCallBack(n.expandCollapse),n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yn(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&t.editorState!==e&&this.setState({undoDisabled:0===e.getUndoStack().size,redoDisabled:0===e.getRedoStack().size})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state,i=r.undoDisabled,a=r.redoDisabled,s=r.expanded,c=e.component||Un;return o.a.createElement(c,{config:e,translations:n,currentState:{undoDisabled:i,redoDisabled:a},expanded:s,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.onChange})}}])&&Hn(e.prototype,n),t}();Wn.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object,modalHandler:a.a.object,config:a.a.object,translations:a.a.object};var Qn={inline:ot,blockType:gt,fontSize:Ct,fontFamily:Bt,list:Gt,textAlign:se,colorPicker:_e,link:Be,embedded:$e,emoji:dn,image:jn,remove:Tn,history:Wn};function Zn(t){return(Zn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Vn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Gn(t,e){return!e||"object"!==Zn(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function Jn(t){return(Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Xn(t,e){return(Xn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function $n(t,e,n){t.findEntityRanges((function(t){var e=t.getEntity();return null!==e&&"LINK"===n.getEntity(e).getType()}),e)}function tr(t){var e,n,i=t.showOpenOptionOnHover;return n=e=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=Gn(this,(e=Jn(t)).call.apply(e,[this].concat(o)))).state={showPopOver:!1},n.openLink=function(){var t=n.props,e=t.entityKey,r=t.contentState.getEntity(e).getData().url,o=window.open(r,"blank");o&&o.focus()},n.toggleShowPopOver=function(){var t=!n.state.showPopOver;n.setState({showPopOver:t})},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xn(t,e)}(t,r.Component),e=t,(n=[{key:"render",value:function(){var t=this.props,e=t.children,n=t.entityKey,r=t.contentState.getEntity(n).getData(),a=r.url,s=r.targetOption,c=this.state.showPopOver;return o.a.createElement("span",{className:"rdw-link-decorator-wrapper",onMouseEnter:this.toggleShowPopOver,onMouseLeave:this.toggleShowPopOver},o.a.createElement("a",{href:a,target:s},e),c&&i?o.a.createElement("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuMDcyIDBIOC45MTVhLjkyNS45MjUgMCAwIDAgMCAxLjg0OWgyLjkyNUw2Ljk2MSA2LjcyN2EuOTE4LjkxOCAwIDAgMC0uMjcuNjU0YzAgLjI0Ny4wOTUuNDguMjcuNjU0YS45MTguOTE4IDAgMCAwIC42NTQuMjcuOTE4LjkxOCAwIDAgMCAuNjUzLS4yN2w0Ljg4LTQuODh2Mi45MjZhLjkyNS45MjUgMCAwIDAgMS44NDggMFYuOTI0QS45MjUuOTI1IDAgMCAwIDE0LjA3MiAweiIvPjxwYXRoIGQ9Ik0xMC42MjMgMTMuNDExSDEuNTg1VjQuMzcyaDYuNzk4bDEuNTg0LTEuNTg0SC43OTJBLjc5Mi43OTIgMCAwIDAgMCAzLjU4djEwLjYyNGMwIC40MzcuMzU1Ljc5Mi43OTIuNzkyaDEwLjYyNGEuNzkyLjc5MiAwIDAgMCAuNzkyLS43OTJWNS4wMjlsLTEuNTg1IDEuNTg0djYuNzk4eiIvPjwvZz48L3N2Zz4=",alt:"",onClick:this.openLink,className:"rdw-link-decorator-icon"}):void 0)}}])&&Vn(e.prototype,n),t}(),e.propTypes={entityKey:a.a.string.isRequired,children:a.a.array,contentState:a.a.object},n}function er(t){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,er),this.getMentionComponent=function(){function t(t){var e=t.entityKey,r=t.children,i=t.contentState.getEntity(e).getData(),a=i.url,s=i.value;return o.a.createElement("a",{href:a||s,className:l()("rdw-mention-link",n)},r)}var n=e.className;return t.propTypes={entityKey:a.a.number,children:a.a.array,contentState:a.a.object},t},this.getMentionDecorator=function(){return{strategy:e.findMentionEntities,component:e.getMentionComponent()}},this.className=t}n(33),n(34),er.prototype.findMentionEntities=function(t,e,n){t.findEntityRanges((function(t){var e=t.getEntity();return null!==e&&"MENTION"===n.getEntity(e).getType()}),e)};var nr=er;function rr(t){return(rr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function or(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ir(t,e){return!e||"object"!==rr(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function ar(t){return(ar=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function sr(t,e){return(sr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function cr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n(35);var ur=function t(e){var n=this;cr(this,t),this.findSuggestionEntities=function(t,e){if(n.config.getEditorState()){var r=n.config,o=r.separator,i=r.trigger,a=r.getSuggestions,s=(0,r.getEditorState)().getSelection();if(s.get("anchorKey")===t.get("key")&&s.get("anchorKey")===s.get("focusKey")){var c=t.getText(),u=(c=c.substr(0,s.get("focusOffset")===c.length-1?c.length:s.get("focusOffset")+1)).lastIndexOf(o+i),l=o+i;if((void 0===u||u<0)&&c[0]===i&&(u=0,l=i),0<=u){var p=c.substr(u+l.length,c.length);a().some((function(t){return!!t.value&&(n.config.caseSensitive?0<=t.value.indexOf(p):0<=t.value.toLowerCase().indexOf(p&&p.toLowerCase()))}))&&e(0===u?0:u+1,c.length)}}}},this.getSuggestionComponent=function(){var t,e,n=this.config;return e=t=function(){function t(){var e,r;cr(this,t);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return(r=ir(this,(e=ar(t)).call.apply(e,[this].concat(i)))).state={style:{left:15},activeOption:-1,showSuggestions:!0},r.onEditorKeyDown=function(t){var e=r.state.activeOption,n={};"ArrowDown"===t.key?(t.preventDefault(),e===r.filteredSuggestions.length-1?n.activeOption=0:n.activeOption=e+1):"ArrowUp"===t.key?n.activeOption=e<=0?r.filteredSuggestions.length-1:e-1:"Escape"===t.key?(n.showSuggestions=!1,m()):"Enter"===t.key&&r.addMention(),r.setState(n)},r.onOptionMouseEnter=function(t){var e=t.target.getAttribute("data-index");r.setState({activeOption:e})},r.onOptionMouseLeave=function(){r.setState({activeOption:-1})},r.setSuggestionReference=function(t){r.suggestion=t},r.setDropdownReference=function(t){r.dropdown=t},r.closeSuggestionDropdown=function(){r.setState({showSuggestions:!1})},r.filteredSuggestions=[],r.filterSuggestions=function(t){var e=t.children[0].props.text.substr(1),o=n.getSuggestions();r.filteredSuggestions=o&&o.filter((function(t){return!e||0===e.length||(n.caseSensitive?0<=t.value.indexOf(e):0<=t.value.toLowerCase().indexOf(e&&e.toLowerCase()))}))},r.addMention=function(){var t=r.state.activeOption,e=n.getEditorState(),o=n.onChange,i=n.separator,a=n.trigger,u=r.filteredSuggestions[t];u&&function(t,e,n,r,o){var i=o.value,a=o.url,u=t.getCurrentContent().createEntity("MENTION","IMMUTABLE",{text:"".concat(r).concat(i),value:i,url:a}).getLastCreatedEntityKey(),l=Object(c.getSelectedBlock)(t).getText(),p=t.getSelection().focusOffset,f=(l.lastIndexOf(n+r,p)||0)+1,d=!1;l.length===f+1&&(p=l.length)," "===l[p]&&(d=!0);var h=t.getSelection().merge({anchorOffset:f,focusOffset:p}),y=s.EditorState.acceptSelection(t,h),g=s.Modifier.replaceText(y.getCurrentContent(),h,"".concat(r).concat(i),y.getCurrentInlineStyle(),u);y=s.EditorState.push(y,g,"insert-characters"),d||(h=y.getSelection().merge({anchorOffset:f+i.length+r.length,focusOffset:f+i.length+r.length}),y=s.EditorState.acceptSelection(y,h),g=s.Modifier.insertText(y.getCurrentContent(),h," ",y.getCurrentInlineStyle(),void 0)),e(s.EditorState.push(y,g,"insert-characters"))}(e,o,i,a,u)},r}var e,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&sr(t,e)}(t,r.Component),e=t,(i=[{key:"componentDidMount",value:function(){var t,e,r,o=n.getWrapperRef().getBoundingClientRect(),i=this.suggestion.getBoundingClientRect(),a=this.dropdown.getBoundingClientRect();o.width<i.left-o.left+a.width?e=15:t=15,o.bottom<a.bottom&&(r=0),this.setState({style:{left:t,right:e,bottom:r}}),y.registerCallBack(this.onEditorKeyDown),g(),n.modalHandler.setSuggestionCallback(this.closeSuggestionDropdown),this.filterSuggestions(this.props)}},{key:"componentDidUpdate",value:function(t){this.props.children!==t.children&&(this.filterSuggestions(t),this.setState({showSuggestions:!0}))}},{key:"componentWillUnmount",value:function(){y.deregisterCallBack(this.onEditorKeyDown),m(),n.modalHandler.removeSuggestionCallback()}},{key:"render",value:function(){var t=this,e=this.props.children,r=this.state,i=r.activeOption,a=r.showSuggestions,s=n.dropdownClassName,c=n.optionClassName;return o.a.createElement("span",{className:"rdw-suggestion-wrapper",ref:this.setSuggestionReference,onClick:n.modalHandler.onSuggestionClick,"aria-haspopup":"true","aria-label":"rdw-suggestion-popup"},o.a.createElement("span",null,e),a&&o.a.createElement("span",{className:l()("rdw-suggestion-dropdown",s),contentEditable:"false",suppressContentEditableWarning:!0,style:this.state.style,ref:this.setDropdownReference},this.filteredSuggestions.map((function(e,n){return o.a.createElement("span",{key:n,spellCheck:!1,onClick:t.addMention,"data-index":n,onMouseEnter:t.onOptionMouseEnter,onMouseLeave:t.onOptionMouseLeave,className:l()("rdw-suggestion-option",c,{"rdw-suggestion-option-active":n===i})},e.text)}))))}}])&&or(e.prototype,i),t}(),t.propTypes={children:a.a.array},e}.bind(this),this.getSuggestionDecorator=function(){return{strategy:n.findSuggestionEntities,component:n.getSuggestionComponent()}};var i=e.separator,u=e.trigger,p=e.getSuggestions,f=e.onChange,d=e.getEditorState,h=e.getWrapperRef,v=e.caseSensitive,b=e.dropdownClassName,_=e.optionClassName,w=e.modalHandler;this.config={separator:i,trigger:u,getSuggestions:p,onChange:f,getEditorState:d,getWrapperRef:h,caseSensitive:v,dropdownClassName:b,optionClassName:_,modalHandler:w}};function lr(t){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,lr),this.getHashtagComponent=function(){function t(t){var e=t.children,r=e[0].props.text;return o.a.createElement("a",{href:r,className:l()("rdw-hashtag-link",n)},e)}var n=e.className;return t.propTypes={children:a.a.object},t},this.findHashtagEntities=function(t,n){for(var r=t.getText(),o=0,i=0;0<r.length&&0<=o;)if(r[0]===e.hashCharacter?(i=o=0,r=r.substr(e.hashCharacter.length)):0<=(o=r.indexOf(e.separator+e.hashCharacter))&&(r=r.substr(o+(e.separator+e.hashCharacter).length),i+=o+e.separator.length),0<=o){var a=0<=r.indexOf(e.separator)?r.indexOf(e.separator):r.length,s=r.substr(0,a);s&&0<s.length&&(n(i,i+s.length+e.hashCharacter.length),i+=e.hashCharacter.length)}},this.getHashtagDecorator=function(){return{strategy:e.findHashtagEntities,component:e.getHashtagComponent()}},this.className=t.className,this.hashCharacter=t.hashCharacter||"#",this.separator=t.separator||" "}function pr(t){var e=t.block,n=t.contentState.getEntity(e.getEntityAt(0)).getData(),r=n.src,i=n.height,a=n.width;return o.a.createElement("iframe",{height:i,width:a,src:r,frameBorder:"0",allowFullScreen:!0,title:"Wysiwyg Embedded Content"})}n(36);pr.propTypes={block:a.a.object,contentState:a.a.object};var fr=pr;function dr(t){return(dr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function hr(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function yr(t,e){return!e||"object"!==dr(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function gr(t){return(gr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function mr(t,e){return(mr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}n(37);var vr=function(t){var e,n;return n=e=function(){function e(){var n,r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return(r=yr(this,(n=gr(e)).call.apply(n,[this].concat(i)))).state={hovered:!1},r.setEntityAlignmentLeft=function(){r.setEntityAlignment("left")},r.setEntityAlignmentRight=function(){r.setEntityAlignment("right")},r.setEntityAlignmentCenter=function(){r.setEntityAlignment("none")},r.setEntityAlignment=function(e){var n=r.props,o=n.block,i=n.contentState,a=o.getEntityAt(0);i.mergeEntityData(a,{alignment:e}),t.onChange(s.EditorState.push(t.getEditorState(),i,"change-block-data")),r.setState({dummy:!0})},r.toggleHovered=function(){var t=!r.state.hovered;r.setState({hovered:t})},r}var n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&mr(t,e)}(e,r.Component),n=e,(i=[{key:"renderAlignmentOptions",value:function(t){return o.a.createElement("div",{className:l()("rdw-image-alignment-options-popup",{"rdw-image-alignment-options-popup-right":"right"===t})},o.a.createElement(A,{onClick:this.setEntityAlignmentLeft,className:"rdw-image-alignment-option"},"L"),o.a.createElement(A,{onClick:this.setEntityAlignmentCenter,className:"rdw-image-alignment-option"},"C"),o.a.createElement(A,{onClick:this.setEntityAlignmentRight,className:"rdw-image-alignment-option"},"R"))}},{key:"render",value:function(){var e=this.props,n=e.block,r=e.contentState,i=this.state.hovered,a=t.isReadOnly,s=t.isImageAlignmentEnabled,c=r.getEntity(n.getEntityAt(0)).getData(),u=c.src,p=c.alignment,f=c.height,d=c.width,h=c.alt;return o.a.createElement("span",{onMouseEnter:this.toggleHovered,onMouseLeave:this.toggleHovered,className:l()("rdw-image-alignment",{"rdw-image-left":"left"===p,"rdw-image-right":"right"===p,"rdw-image-center":!p||"none"===p})},o.a.createElement("span",{className:"rdw-image-imagewrapper"},o.a.createElement("img",{src:u,alt:h,style:{height:f,width:d}}),!a()&&i&&s()?this.renderAlignmentOptions(p):void 0))}}])&&hr(n.prototype,i),e}(),e.propTypes={block:a.a.object,contentState:a.a.object},n},br={options:["inline","blockType","fontSize","fontFamily","list","textAlign","colorPicker","link","embedded","emoji","image","remove","history"],inline:{inDropdown:!1,className:void 0,component:void 0,dropdownClassName:void 0,options:["bold","italic","underline","strikethrough","monospace","superscript","subscript"],bold:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYuMjM2IDBjMS42NTIgMCAyLjk0LjI5OCAzLjg2Ni44OTMuOTI1LjU5NSAxLjM4OCAxLjQ4NSAxLjM4OCAyLjY2OSAwIC42MDEtLjE3MyAxLjEzOS0uNTE2IDEuNjEtLjM0My40NzQtLjg0NC44My0xLjQ5OSAxLjA2OC44NDMuMTY3IDEuNDc0LjUyMyAxLjg5NSAxLjA3MS40MTkuNTUuNjMgMS4xODMuNjMgMS45MDMgMCAxLjI0NS0uNDQ0IDIuMTg3LTEuMzMgMi44MjUtLjg4Ni42NDEtMi4xNDQuOTYxLTMuNzY5Ljk2MUgwdi0yLjE2N2gxLjQ5NFYyLjE2N0gwVjBoNi4yMzZ6TTQuMzA4IDUuNDQ2aDIuMDI0Yy43NTIgMCAxLjMzLS4xNDMgMS43MzQtLjQzLjQwNS0uMjg1LjYwOC0uNzAxLjYwOC0xLjI1IDAtLjYtLjIwNC0xLjA0NC0uNjEyLTEuMzMtLjQwOC0uMjg2LTEuMDE2LS40MjctMS44MjYtLjQyN0g0LjMwOHYzLjQzN3ptMCAxLjgwNFYxMWgyLjU5M2MuNzQ3IDAgMS4zMTQtLjE1MiAxLjcwNy0uNDUyLjM5LS4zLjU4OC0uNzQ1LjU4OC0xLjMzNCAwLS42MzYtLjE2OC0xLjEyNC0uNS0xLjQ2LS4zMzYtLjMzNS0uODY0LS41MDQtMS41ODItLjUwNEg0LjMwOHoiIGZpbGw9IiMwMDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg==",className:void 0,title:void 0},italic:{icon:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZD0iTTcgM1YyaDR2MUg5Ljc1M2wtMyAxMEg4djFINHYtMWgxLjI0N2wzLTEwSDd6Ii8+PC9zdmc+",className:void 0,title:void 0},underline:{icon:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZD0iTTYuMDQ1IDJ2Ljk5Mkw0Ljc4NSAzdjUuMTcyYzAgLjg1OS4yNDMgMS41MTIuNzI3IDEuOTU3czEuMTI0LjY2OCAxLjkxOC42NjhjLjgzNiAwIDEuNTA5LS4yMjEgMi4wMTktLjY2NC41MTEtLjQ0Mi43NjYtMS4wOTYuNzY2LTEuOTYxVjNsLTEuMjYtLjAwOFYySDEzdi45OTJMMTEuNzM5IDN2NS4xNzJjMCAxLjIzNC0uMzk4IDIuMTgxLTEuMTk1IDIuODQtLjc5Ny42NTktMS44MzUuOTg4LTMuMTE0Ljk4OC0xLjI0MiAwLTIuMjQ4LS4zMjktMy4wMTctLjk4OC0uNzY5LS42NTktMS4xNTItMS42MDUtMS4xNTItMi44NFYzTDIgMi45OTJWMmg0LjA0NXpNMiAxM2gxMXYxSDJ6Ii8+PC9zdmc+",className:void 0,title:void 0},strikethrough:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNC4wNCA1Ljk1NGg2LjIxNWE3LjQxMiA3LjQxMiAwIDAgMC0uNzk1LS40MzggMTEuOTA3IDExLjkwNyAwIDAgMC0xLjQ0Ny0uNTU3Yy0xLjE4OC0uMzQ4LTEuOTY2LS43MTEtMi4zMzQtMS4wODgtLjM2OC0uMzc3LS41NTItLjc3LS41NTItMS4xODEgMC0uNDk1LjE4Ny0uOTA2LjU2LTEuMjMyLjM4LS4zMzEuODg3LS40OTcgMS41MjMtLjQ5Ny42OCAwIDEuMjY2LjI1NSAxLjc1Ny43NjcuMjk1LjMxNS41ODIuODkxLjg2MSAxLjczbC4xMTcuMDE2LjcwMy4wNS4xLS4wMjRjLjAyOC0uMTUyLjA0Mi0uMjc5LjA0Mi0uMzggMC0uMzM3LS4wMzktLjg1Mi0uMTE3LTEuNTQ0YTkuMzc0IDkuMzc0IDAgMCAwLS4xNzYtLjk5NUM5Ljg4LjM3OSA5LjM4NS4yNDQgOS4wMTcuMTc2IDguMzY1LjA3IDcuODk5LjAxNiA3LjYyLjAxNmMtMS40NSAwLTIuNTQ1LjM1Ny0zLjI4NyAxLjA3MS0uNzQ3LjcyLTEuMTIgMS41ODktMS4xMiAyLjYwNyAwIC41MTEuMTMzIDEuMDQuNCAxLjU4Ni4xMjkuMjUzLjI3LjQ3OC40MjcuNjc0ek04LjI4IDguMTE0Yy41NzUuMjM2Ljk1Ny40MzYgMS4xNDcuNTk5LjQ1MS40MS42NzcuODUyLjY3NyAxLjMyNCAwIC4zODMtLjEzLjc0NS0uMzkzIDEuMDg4LS4yNS4zMzgtLjU5LjU4LTEuMDIuNzI2YTMuNDE2IDMuNDE2IDAgMCAxLTEuMTYzLjIyOGMtLjQwNyAwLS43NzUtLjA2Mi0xLjEwNC0uMTg2YTIuNjk2IDIuNjk2IDAgMCAxLS44NzgtLjQ4IDMuMTMzIDMuMTMzIDAgMCAxLS42Ny0uNzk0IDEuNTI3IDEuNTI3IDAgMCAxLS4xMDQtLjIyNyA1Ny41MjMgNTcuNTIzIDAgMCAwLS4xODgtLjQ3MyAyMS4zNzEgMjEuMzcxIDAgMCAwLS4yNTEtLjU5OWwtLjg1My4wMTd2LjM3MWwtLjAxNy4zMTNhOS45MiA5LjkyIDAgMCAwIDAgLjU3M2MuMDExLjI3LjAxNy43MDkuMDE3IDEuMzE2di4xMWMwIC4wNzkuMDIyLjE0LjA2Ny4xODUuMDgzLjA2OC4yODQuMTQ3LjYwMi4yMzdsMS4xNy4zMzdjLjQ1Mi4xMy45OTYuMTk0IDEuNjMyLjE5NC42ODYgMCAxLjI1Mi0uMDU5IDEuNjk4LS4xNzdhNC42OTQgNC42OTQgMCAwIDAgMS4yOC0uNTU3Yy40MDEtLjI1OS43MDUtLjQ4Ni45MTEtLjY4My4yNjgtLjI3Ni40NjYtLjU2OC41OTQtLjg3OGE0Ljc0IDQuNzQgMCAwIDAgLjM0My0xLjc4OGMwLS4yOTgtLjAyLS41NTctLjA1OC0uNzc2SDguMjgxek0xNC45MTQgNi41N2EuMjYuMjYgMCAwIDAtLjE5My0uMDc2SC4yNjhhLjI2LjI2IDAgMCAwLS4xOTMuMDc2LjI2NC4yNjQgMCAwIDAtLjA3NS4xOTR2LjU0YzAgLjA3OS4wMjUuMTQzLjA3NS4xOTRhLjI2LjI2IDAgMCAwIC4xOTMuMDc2SDE0LjcyYS4yNi4yNiAwIDAgMCAuMTkzLS4wNzYuMjY0LjI2NCAwIDAgMCAuMDc1LS4xOTR2LS41NGEuMjY0LjI2NCAwIDAgMC0uMDc1LS4xOTR6Ii8+PC9nPjwvc3ZnPg==",className:void 0,title:void 0},monospace:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzQ0NCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMS4wMjEgMi45MDZjLjE4NiAxLjIxOS4zNzIgMS41LjM3MiAyLjcxOUMxLjM5MyA2LjM3NSAwIDcuMDMxIDAgNy4wMzF2LjkzOHMxLjM5My42NTYgMS4zOTMgMS40MDZjMCAxLjIxOS0uMTg2IDEuNS0uMzcyIDIuNzE5Qy43NDMgMTQuMDYzIDEuNzY0IDE1IDIuNjkzIDE1aDEuOTV2LTEuODc1cy0xLjY3Mi4xODgtMS42NzItLjkzOGMwLS44NDMuMTg2LS44NDMuMzcyLTIuNzE4LjA5My0uODQ0LS40NjQtMS41LTEuMDIyLTEuOTY5LjU1OC0uNDY5IDEuMTE1LTEuMDMxIDEuMDIyLTEuODc1QzMuMDY0IDMuNzUgMi45NyAzLjc1IDIuOTcgMi45MDZjMC0xLjEyNSAxLjY3Mi0xLjAzMSAxLjY3Mi0xLjAzMVYwaC0xLjk1QzEuNjcgMCAuNzQzLjkzOCAxLjAyIDIuOTA2ek0xMS45NzkgMi45MDZjLS4xODYgMS4yMTktLjM3MiAxLjUtLjM3MiAyLjcxOSAwIC43NSAxLjM5MyAxLjQwNiAxLjM5MyAxLjQwNnYuOTM4cy0xLjM5My42NTYtMS4zOTMgMS40MDZjMCAxLjIxOS4xODYgMS41LjM3MiAyLjcxOS4yNzggMS45NjktLjc0MyAyLjkwNi0xLjY3MiAyLjkwNmgtMS45NXYtMS44NzVzMS42NzIuMTg4IDEuNjcyLS45MzhjMC0uODQzLS4xODYtLjg0My0uMzcyLTIuNzE4LS4wOTMtLjg0NC40NjQtMS41IDEuMDIyLTEuOTY5LS41NTgtLjQ2OS0xLjExNS0xLjAzMS0xLjAyMi0xLjg3NS4xODYtMS44NzUuMzcyLTEuODc1LjM3Mi0yLjcxOSAwLTEuMTI1LTEuNjcyLTEuMDMxLTEuNjcyLTEuMDMxVjBoMS45NWMxLjAyMiAwIDEuOTUuOTM4IDEuNjcyIDIuOTA2eiIvPjwvZz48L3N2Zz4=",className:void 0,title:void 0},superscript:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTcuMzA1IDEwLjE2NUwxMS44NjUgMTVIOS4wNTdsLTMuMTkyLTMuNTM2TDIuNzQ2IDE1SDBsNC41MjMtNC44MzVMLjIxOCA1LjYwM2gyLjc3TDUuOTg2IDguOTEgOS4wMSA1LjYwM2gyLjY0OWwtNC4zNTQgNC41NjJ6bTYuMjM0LTMuMjY5bDEuODc5LTEuMzA2Yy42NC0uNDE2IDEuMDYyLS44MDEgMS4yNjQtMS4xNTcuMjAxLS4zNTYuMzAyLS43MzguMzAyLTEuMTQ4IDAtLjY2OS0uMjM3LTEuMjEtLjcxLTEuNjItLjQ3NC0uNDExLTEuMDk3LS42MTctMS44NjgtLjYxNy0uNzQ0IDAtMS4zNC4yMDgtMS43ODUuNjI0LS40NDcuNDE2LS42NyAxLjA0My0uNjcgMS44ODFoMS40MzZjMC0uNS4wOTQtLjg0Ni4yODEtMS4wMzguMTg4LS4xOTEuNDQ1LS4yODcuNzcyLS4yODdzLjU4NS4wOTcuNzc3LjI5MmMuMTkuMTk1LjI4Ni40MzcuMjg2LjcyNiAwIC4yOS0uMDg5LjU1LS4yNjYuNzg1cy0uNjcuNjI4LTEuNDc5IDEuMTg0Yy0uNjkxLjQ3Ny0xLjYyNy45MjctMS45MDggMS4zNWwuMDE0IDEuNTY5SDE3VjYuODk2aC0zLjQ2MXoiLz48L3N2Zz4=",className:void 0,title:void 0},subscript:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTExLjg2NiAxMS42NDZIOS4wNkw1Ljg2NyA3Ljk0MmwtMy4xMjEgMy43MDRIMGw0LjUyNC01LjA2NEwuMjE4IDEuODA0aDIuNzdsMyAzLjQ2NCAzLjAyMy0zLjQ2NGgyLjY1TDcuMzA2IDYuNTgybDQuNTYgNS4wNjR6bTEuNzI1IDIuMDU4bDEuODI3LTEuMzY4Yy42NC0uNDM1IDEuMDYyLS44NCAxLjI2NC0xLjIxMi4yMDItLjM3Mi4zMDItLjc3My4zMDItMS4yMDIgMC0uNy0uMjM3LTEuMjY2LS43MS0xLjY5Ni0uNDc0LS40MzEtMS4wOTctLjY0Ni0xLjg2OS0uNjQ2LS43NDQgMC0xLjM0LjIxOC0xLjc4NS42NTMtLjQ0Ni40MzYtLjY3IDEuMDkyLS42NyAxLjk3aDEuNDM2YzAtLjUyNC4wOTQtLjg4Ni4yODEtMS4wODcuMTg4LS4yLjQ0NS0uMzAxLjc3Mi0uMzAxcy41ODYuMTAyLjc3Ny4zMDZjLjE5LjIwNC4yODYuNDU4LjI4Ni43NiAwIC4zMDMtLjA4OC41NzctLjI2Ni44MjItLjE3Ny4yNDUtLjY3LjY1OC0xLjQ3OCAxLjI0LS42OTIuNS0xLjYyOC45NzEtMS45MSAxLjQxM0wxMS44NjQgMTVIMTd2LTEuMjk2aC0zLjQxeiIvPjwvc3ZnPg==",className:void 0,title:void 0}},blockType:{inDropdown:!0,options:["Normal","H1","H2","H3","H4","H5","H6","Blockquote","Code"],className:void 0,component:void 0,dropdownClassName:void 0,title:void 0},fontSize:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTEuOTIxIDMuMTE5YS40MjcuNDI3IDAgMCAwIC4zMzUuMTY0aC45N2EuNDI2LjQyNiAwIDAgMCAuMzA0LS4xMy40NDEuNDQxIDAgMCAwIC4xMjUtLjMxbC4wMDItMi40MWEuNDM0LjQzNCAwIDAgMC0uNDMtLjQzMkguNDNBLjQzNC40MzQgMCAwIDAgMCAuNDR2Mi40MDZjMCAuMjQyLjE5Mi40MzguNDMuNDM4aC45N2MuMTMgMCAuMjU0LS4wNi4zMzUtLjE2NWwuNzMtLjkzSDUuNTR2MTEuMzZjMCAuMjQxLjE5Mi40MzcuNDMuNDM3aDEuNzE3Yy4yMzcgMCAuNDMtLjE5Ni40My0uNDM3VjIuMTg4aDMuMDdsLjczNC45MzF6TTEzLjg5OCAxMS4yNjNhLjQyNS40MjUgMCAwIDAtLjQ4Mi0uMTQ2bC0uNTQ3LjE5NFY5LjYxN2EuNDQyLjQ0MiAwIDAgMC0uMTI2LS4zMS40MjYuNDI2IDAgMCAwLS4zMDQtLjEyN2gtLjQyOWEuNDM0LjQzNCAwIDAgMC0uNDMuNDM3djEuNjk0bC0uNTQ3LS4xOTRhLjQyNS40MjUgMCAwIDAtLjQ4MS4xNDYuNDQ0LjQ0NCAwIDAgMC0uMDE2LjUxMmwxLjMzMiAyLjAxN2EuNDI3LjQyNyAwIDAgMCAuNzEzIDBsMS4zMzMtMi4wMTdhLjQ0NC40NDQgMCAwIDAtLjAxNi0uNTEyeiIvPjwvZz48L3N2Zz4=",options:[8,9,10,11,12,14,16,18,24,30,36,48,60,72,96],className:void 0,component:void 0,dropdownClassName:void 0,title:void 0},fontFamily:{options:["Arial","Georgia","Impact","Tahoma","Times New Roman","Verdana"],className:void 0,component:void 0,dropdownClassName:void 0,title:void 0},list:{inDropdown:!1,className:void 0,component:void 0,dropdownClassName:void 0,options:["unordered","ordered","indent","outdent"],unordered:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMS43MiAzLjQyN2MuOTUxIDAgMS43MjItLjc2OCAxLjcyMi0xLjcwOFMyLjY3LjAxIDEuNzIuMDFDLjc3LjAwOCAwIC43NzUgMCAxLjcxNWMwIC45NC43NzQgMS43MTEgMS43MiAxLjcxMXptMC0yLjYyNWMuNTEgMCAuOTIyLjQxMi45MjIuOTE0YS45Mi45MiAwIDAgMS0xLjg0MiAwIC45Mi45MiAwIDAgMSAuOTItLjkxNHpNMS43MiA4LjcwM2MuOTUxIDAgMS43MjItLjc2OCAxLjcyMi0xLjcwOFMyLjY3IDUuMjg3IDEuNzIgNS4yODdDLjc3IDUuMjg3IDAgNi4wNTIgMCA2Ljk5NXMuNzc0IDEuNzA4IDEuNzIgMS43MDh6bTAtMi42MjJjLjUxIDAgLjkyMi40MTIuOTIyLjkxNGEuOTIuOTIgMCAwIDEtMS44NDIgMGMwLS41MDUuNDE1LS45MTQuOTItLjkxNHpNMS43MiAxMy45ODJjLjk1MSAwIDEuNzIyLS43NjggMS43MjItMS43MDggMC0uOTQzLS43NzQtMS43MDgtMS43MjEtMS43MDgtLjk0NyAwLTEuNzIxLjc2OC0xLjcyMSAxLjcwOHMuNzc0IDEuNzA4IDEuNzIgMS43MDh6bTAtMi42MjVjLjUxIDAgLjkyMi40MTIuOTIyLjkxNGEuOTIuOTIgMCAxIDEtMS44NDIgMCAuOTIuOTIgMCAwIDEgLjkyLS45MTR6TTUuNzQ0IDIuMTE1aDkuODQ1YS40LjQgMCAwIDAgLjQwMS0uMzk5LjQuNCAwIDAgMC0uNDAxLS4zOTlINS43NDRhLjQuNCAwIDAgMC0uNDAyLjM5OS40LjQgMCAwIDAgLjQwMi4zOTl6TTUuNzQ0IDcuMzk0aDkuODQ1YS40LjQgMCAwIDAgLjQwMS0uMzk5LjQuNCAwIDAgMC0uNDAxLS4zOThINS43NDRhLjQuNCAwIDAgMC0uNDAyLjM5OC40LjQgMCAwIDAgLjQwMi4zOTl6TTUuNzQ0IDEyLjY3aDkuODQ1YS40LjQgMCAwIDAgLjQwMS0uMzk5LjQuNCAwIDAgMC0uNDAxLS4zOTlINS43NDRhLjQuNCAwIDAgMC0uNDAyLjQuNC40IDAgMCAwIC40MDIuMzk4eiIvPjwvZz48L3N2Zz4=",className:void 0,title:void 0},ordered:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNC4yMDIgMS40NjZoOC4xNWMuMzM4IDAgLjYxMi0uMzIyLjYxMi0uNzIgMC0uMzk3LS4yNzQtLjcyLS42MTItLjcyaC04LjE1Yy0uMzM4IDAtLjYxMS4zMjMtLjYxMS43MiAwIC4zOTguMjczLjcyLjYxLjcyek0xMi4zNTIgNS43ODNoLTguMTVjLS4zMzggMC0uNjExLjMyMi0uNjExLjcyIDAgLjM5Ny4yNzMuNzIuNjEuNzJoOC4xNTFjLjMzOCAwIC42MTItLjMyMy42MTItLjcyIDAtLjM5OC0uMjc0LS43Mi0uNjEyLS43MnpNMTIuMzUyIDExLjU0aC04LjE1Yy0uMzM4IDAtLjYxMS4zMjItLjYxMS43MiAwIC4zOTYuMjczLjcxOS42MS43MTloOC4xNTFjLjMzOCAwIC42MTItLjMyMy42MTItLjcyIDAtLjM5Ny0uMjc0LS43Mi0uNjEyLS43MnpNLjc2NyAxLjI0OXYxLjgwMmMwIC4xOTUuMTM2LjM0My4zMTUuMzQzLjE3NiAwIC4zMTUtLjE1LjMxNS0uMzQzVi4zNTZjMC0uMTktLjEzMy0uMzM5LS4zMDItLjMzOS0uMTQ4IDAtLjIyMy4xMTgtLjI0Ny4xNTZhLjIyOC4yMjggMCAwIDAtLjAwMy4wMDVMLjU3OS42MjFhLjQ3NC40NzQgMCAwIDAtLjA5OC4yNzNjMCAuMTk0LjEyOC4zNTEuMjg2LjM1NXpNLjM1MiA4LjE5SDEuNTVjLjE1NyAwIC4yODUtLjE2Mi4yODUtLjM2MiAwLS4xOTgtLjEyOC0uMzU5LS4yODUtLjM1OUguNjh2LS4wMDZjMC0uMTA3LjIxLS4yODEuMzc4LS40MjIuMzM2LS4yNzguNzUzLS42MjUuNzUzLTEuMjI2IDAtLjU3LS4zNzYtMS0uODc0LTEtLjQ3NyAwLS44MzYuMzg1LS44MzYuODk3IDAgLjI5Ny4xNjQuNDAyLjMwNS40MDIuMiAwIC4zMjEtLjE3Ni4zMjEtLjM0NiAwLS4xMDYuMDIzLS4yMjguMjA0LS4yMjguMjQzIDAgLjI1LjI1NC4yNS4yODMgMCAuMjI4LS4yNTIuNDQyLS40OTUuNjQ5LS4zMDEuMjU1LS42NDIuNTQ0LS42NDIuOTkydi4zODRjMCAuMjA1LjE1OS4zNDMuMzA4LjM0M3pNMS43NyAxMC41NDNjMC0uNTkyLS4yOTYtLjkzMS0uODE0LS45MzEtLjY4IDAtLjg1OS41Ny0uODU5Ljg3MiAwIC4zNTEuMjIyLjM5LjMxOC4zOS4xODUgMCAuMzEtLjE0OC4zMS0uMzY2IDAtLjA4NC4wMjYtLjE4MS4yMjQtLjE4MS4xNDIgMCAuMi4wMjQuMi4yNjcgMCAuMjM3LS4wNDMuMjYzLS4yMTMuMjYzLS4xNjQgMC0uMjg4LjE1Mi0uMjg4LjM1NCAwIC4yLjEyNS4zNS4yOTEuMzUuMjI1IDAgLjI3LjEwOC4yNy4yODN2LjA3NWMwIC4yOTQtLjA5Ny4zNS0uMjc3LjM1LS4yNDggMC0uMjY3LS4xNS0uMjY3LS4xOTcgMC0uMTc0LS4wOTgtLjM1LS4zMTctLjM1LS4xOTIgMC0uMzA3LjE0MS0uMzA3LjM3OCAwIC40My4zMTMuODg4Ljg5NS44ODguNTY0IDAgLjkwMS0uNC45MDEtMS4wN3YtLjA3NGMwLS4yNzQtLjA3NC0uNTAyLS4yMTQtLjY2Ni4wOTYtLjE2My4xNDgtLjM4LjE0OC0uNjM1eiIvPjwvZz48L3N2Zz4=",className:void 0,title:void 0},indent:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNS43MTYgMy4yMTFIMTd2MS4xOTdINS43MTZ6TTAgLjAyaDE3djEuMTk3SDB6TTAgMTIuNzgzaDE3djEuMTk3SDB6TTUuNzE2IDkuNTkzSDE3djEuMTk3SDUuNzE2ek01LjcxNiA2LjQwMkgxN3YxLjE5N0g1LjcxNnpNLjE4NyA5LjQ5MUwyLjUyIDcgLjE4NyA0LjUwOXoiLz48L2c+PC9zdmc+",className:void 0,title:void 0},outdent:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNS4zOTYgMy4xOTNoMTAuNTczVjQuMzlINS4zOTZ6TS4wMzkuMDAzaDE1LjkzVjEuMkguMDM5ek0uMDM5IDEyLjc2NmgxNS45M3YxLjE5N0guMDM5ek01LjM5NiA5LjU3NWgxMC41NzN2MS4xOTdINS4zOTZ6TTUuMzk2IDYuMzg0aDEwLjU3M3YxLjE5N0g1LjM5NnpNMi4xODcgNC40OTFMMCA2Ljk4M2wyLjE4NyAyLjQ5MXoiLz48L2c+PC9zdmc+",className:void 0,title:void 0},title:void 0},textAlign:{inDropdown:!1,className:void 0,component:void 0,dropdownClassName:void 0,options:["left","center","right","justify"],left:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNOC40OTMgMTQuODg3SC4zMjZhLjMyNi4zMjYgMCAwIDEgMC0uNjUyaDguMTY3YS4zMjYuMzI2IDAgMCAxIDAgLjY1MnpNMTQuNjE4IDEwLjE2MkguMzI2YS4zMjYuMzI2IDAgMCAxIDAtLjY1M2gxNC4yOTJhLjMyNi4zMjYgMCAwIDEgMCAuNjUzek04LjQ5MyA1LjQzNUguMzI2YS4zMjYuMzI2IDAgMCAxIDAtLjY1Mmg4LjE2N2EuMzI2LjMyNiAwIDAgMSAwIC42NTJ6TTE0LjYxOC43MDlILjMyNmEuMzI2LjMyNiAwIDAgMSAwLS42NTJoMTQuMjkyYS4zMjYuMzI2IDAgMCAxIDAgLjY1MnoiLz48L2c+PC9zdmc+",className:void 0,title:void 0},center:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTEuNTU2IDE0Ljg4N0gzLjM4OGEuMzI2LjMyNiAwIDAgMSAwLS42NTJoOC4xNjdhLjMyNi4zMjYgMCAwIDEgMCAuNjUyek0xNC42MTggMTAuMTYySC4zMjZhLjMyNi4zMjYgMCAwIDEgMC0uNjUzaDE0LjI5MmEuMzI2LjMyNiAwIDAgMSAwIC42NTN6TTExLjU1NiA1LjQzNUgzLjM4OGEuMzI2LjMyNiAwIDAgMSAwLS42NTJoOC4xNjdhLjMyNi4zMjYgMCAwIDEgMCAuNjUyek0xNC42MTguNzA5SC4zMjZhLjMyNi4zMjYgMCAwIDEgMC0uNjUyaDE0LjI5MmEuMzI2LjMyNiAwIDAgMSAwIC42NTJ6Ii8+PC9nPjwvc3ZnPg==",className:void 0,title:void 0},right:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuNjE4IDE0Ljg4N0g2LjQ1YS4zMjYuMzI2IDAgMCAxIDAtLjY1Mmg4LjE2N2EuMzI2LjMyNiAwIDAgMSAwIC42NTJ6TTE0LjYxOCAxMC4xNjJILjMyNmEuMzI2LjMyNiAwIDAgMSAwLS42NTNoMTQuMjkyYS4zMjYuMzI2IDAgMCAxIDAgLjY1M3pNMTQuNjE4IDUuNDM1SDYuNDVhLjMyNi4zMjYgMCAwIDEgMC0uNjUyaDguMTY3YS4zMjYuMzI2IDAgMCAxIDAgLjY1MnpNMTQuNjE4LjcwOUguMzI2YS4zMjYuMzI2IDAgMCAxIDAtLjY1MmgxNC4yOTJhLjMyNi4zMjYgMCAwIDEgMCAuNjUyeiIvPjwvZz48L3N2Zz4=",className:void 0,title:void 0},justify:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuNjIgMTQuODg4SC4zMjVhLjMyNi4zMjYgMCAwIDEgMC0uNjUySDE0LjYyYS4zMjYuMzI2IDAgMCAxIDAgLjY1MnpNMTQuNjIgMTAuMTYySC4zMjVhLjMyNi4zMjYgMCAwIDEgMC0uNjUySDE0LjYyYS4zMjYuMzI2IDAgMCAxIDAgLjY1MnpNMTQuNjIgNS40MzZILjMyNWEuMzI2LjMyNiAwIDAgMSAwLS42NTJIMTQuNjJhLjMyNi4zMjYgMCAwIDEgMCAuNjUyek0xNC42Mi43MUguMzI1YS4zMjYuMzI2IDAgMCAxIDAtLjY1M0gxNC42MmEuMzI2LjMyNiAwIDAgMSAwIC42NTN6Ii8+PC9nPjwvc3ZnPg==",className:void 0,title:void 0},title:void 0},colorPicker:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuNDA2LjU4NWExLjk5OCAxLjk5OCAwIDAgMC0yLjgyNSAwbC0uNTQuNTRhLjc0MS43NDEgMCAxIDAtMS4wNDggMS4wNDhsLjE3NS4xNzUtNS44MjYgNS44MjUtMi4wMjIgMi4wMjNhLjkxLjkxIDAgMCAwLS4yNjYuNjAybC0uMDA1LjEwOHYuMDAybC0uMDgxIDEuODI5YS4zMDIuMzAyIDAgMCAwIC4zMDIuMzE2aC4wMTNsLjk3LS4wNDQuNTkyLS4wMjYuMjY4LS4wMTJjLjI5Ny0uMDEzLjU3OS0uMTM3Ljc5LS4zNDdsNy43Ny03Ljc3LjE0Ni4xNDRhLjc0Ljc0IDAgMCAwIDEuMDQ4IDBjLjI5LS4yOS4yOS0uNzU5IDAtMS4wNDhsLjU0LS41NGMuNzgtLjc4Ljc4LTIuMDQ0IDAtMi44MjV6TTguNzk1IDcuMzMzbC0yLjczLjUxNSA0LjQ1Mi00LjQ1MiAxLjEwOCAxLjEwNy0yLjgzIDIuODN6TTIuMDggMTMuNjczYy0xLjE0OCAwLTIuMDguMjk1LTIuMDguNjYgMCAuMzYzLjkzMi42NTggMi4wOC42NTggMS4xNSAwIDIuMDgtLjI5NCAyLjA4LS42NTkgMC0uMzY0LS45My0uNjU5LTIuMDgtLjY1OXoiLz48L2c+PC9zdmc+",className:void 0,component:void 0,popupClassName:void 0,colors:["rgb(97,189,109)","rgb(26,188,156)","rgb(84,172,210)","rgb(44,130,201)","rgb(147,101,184)","rgb(71,85,119)","rgb(204,204,204)","rgb(65,168,95)","rgb(0,168,133)","rgb(61,142,185)","rgb(41,105,176)","rgb(85,57,130)","rgb(40,50,78)","rgb(0,0,0)","rgb(247,218,100)","rgb(251,160,38)","rgb(235,107,86)","rgb(226,80,65)","rgb(163,143,132)","rgb(239,239,239)","rgb(255,255,255)","rgb(250,197,28)","rgb(243,121,52)","rgb(209,72,65)","rgb(184,49,47)","rgb(124,112,107)","rgb(209,213,216)"],title:void 0},link:{inDropdown:!1,className:void 0,component:void 0,popupClassName:void 0,dropdownClassName:void 0,showOpenOptionOnHover:!0,defaultTargetOption:"_self",options:["link","unlink"],link:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEzLjk2Ny45NUEzLjIyNiAzLjIyNiAwIDAgMCAxMS42Ny4wMDJjLS44NyAwLTEuNjg2LjMzNy0yLjI5Ny45NDhMNy4xMDUgMy4yMThBMy4yNDcgMy4yNDcgMCAwIDAgNi4yNCA2LjI0YTMuMjI1IDMuMjI1IDAgMCAwLTMuMDIyLjg2NUwuOTUgOS4zNzNhMy4yNTMgMy4yNTMgMCAwIDAgMCA0LjU5NCAzLjIyNiAzLjIyNiAwIDAgMCAyLjI5Ny45NDhjLjg3IDAgMS42ODYtLjMzNiAyLjI5OC0uOTQ4TDcuODEyIDExLjdhMy4yNDcgMy4yNDcgMCAwIDAgLjg2NS0zLjAyMyAzLjIyNSAzLjIyNSAwIDAgMCAzLjAyMi0uODY1bDIuMjY4LTIuMjY3YTMuMjUyIDMuMjUyIDAgMCAwIDAtNC41OTV6TTcuMTA1IDEwLjk5M0w0LjgzNyAxMy4yNmEyLjIzMyAyLjIzMyAwIDAgMS0xLjU5LjY1NSAyLjIzMyAyLjIzMyAwIDAgMS0xLjU5LS42NTUgMi4yNTIgMi4yNTIgMCAwIDEgMC0zLjE4bDIuMjY4LTIuMjY4YTIuMjMyIDIuMjMyIDAgMCAxIDEuNTktLjY1NWMuNDMgMCAuODQxLjEyIDEuMTk1LjM0M0w0Ljc3MiA5LjQzOGEuNS41IDAgMSAwIC43MDcuNzA3bDEuOTM5LTEuOTM4Yy41NDUuODY4LjQ0MiAyLjAzLS4zMTMgMi43ODV6bTYuMTU1LTYuMTU1bC0yLjI2OCAyLjI2N2EyLjIzMyAyLjIzMyAwIDAgMS0xLjU5LjY1NWMtLjQzMSAwLS44NDEtLjEyLTEuMTk1LS4zNDNsMS45MzgtMS45MzhhLjUuNSAwIDEgMC0uNzA3LS43MDdMNy40OTkgNi43MWEyLjI1MiAyLjI1MiAwIDAgMSAuMzEzLTIuNzg1bDIuMjY3LTIuMjY4YTIuMjMzIDIuMjMzIDAgMCAxIDEuNTktLjY1NSAyLjIzMyAyLjIzMyAwIDAgMSAyLjI0NiAyLjI0NWMwIC42MDMtLjIzMiAxLjE2OC0uNjU1IDEuNTl6IiBmaWxsPSIjMDAwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4=",className:void 0,title:void 0},unlink:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTMuOTU2IDEuMDM3YTMuNTUgMy41NSAwIDAgMC01LjAxNCAwTDYuNDM2IDMuNTQ0YS41NDUuNTQ1IDAgMSAwIC43Ny43N2wyLjUwOC0yLjUwNmEyLjQzOCAyLjQzOCAwIDAgMSAxLjczNS0uNzE1Yy42NTggMCAxLjI3NS4yNTQgMS43MzYuNzE1LjQ2LjQ2MS43MTUgMS4wNzguNzE1IDEuNzM2IDAgLjY1OC0uMjU0IDEuMjc0LS43MTUgMS43MzVMOS45MDcgOC41NThhMi40NTggMi40NTggMCAwIDEtMy40NzIgMCAuNTQ1LjU0NSAwIDEgMC0uNzcxLjc3MSAzLjUzNCAzLjUzNCAwIDAgMCAyLjUwNyAxLjAzN2MuOTA4IDAgMS44MTYtLjM0NiAyLjUwNy0xLjAzN2wzLjI3OC0zLjI3OGEzLjUyIDMuNTIgMCAwIDAgMS4wMzUtMi41MDdjMC0uOTUtLjM2Ny0xLjg0LTEuMDM1LTIuNTA3eiIvPjxwYXRoIGQ9Ik03LjQgMTEuMDY1bC0yLjEyMiAyLjEyYTIuNDM3IDIuNDM3IDAgMCAxLTEuNzM1LjcxNiAyLjQzNyAyLjQzNyAwIDAgMS0xLjczNi0uNzE1IDIuNDU3IDIuNDU3IDAgMCAxIDAtMy40NzFsMy4wODYtMy4wODZhMi40MzggMi40MzggMCAwIDEgMS43MzUtLjcxNWMuNjU4IDAgMS4yNzUuMjU0IDEuNzM2LjcxNWEuNTQ1LjU0NSAwIDEgMCAuNzcxLS43NzEgMy41NSAzLjU1IDAgMCAwLTUuMDE0IDBMMS4wMzYgOC45NDRBMy41MiAzLjUyIDAgMCAwIDAgMTEuNDVjMCAuOTUuMzY3IDEuODQgMS4wMzUgMi41MDdhMy41MiAzLjUyIDAgMCAwIDIuNTA2IDEuMDM1Yy45NSAwIDEuODQtLjM2OCAyLjUwNy0xLjAzNWwyLjEyMi0yLjEyMWEuNTQ1LjU0NSAwIDAgMC0uNzcxLS43NzF6TTkuMjc0IDEyLjAwMmEuNTQ2LjU0NiAwIDAgMC0uNTQ2LjU0NXYxLjYzN2EuNTQ2LjU0NiAwIDAgMCAxLjA5MSAwdi0xLjYzN2EuNTQ1LjU0NSAwIDAgMC0uNTQ1LS41NDV6TTExLjIzIDExLjYxNmEuNTQ1LjU0NSAwIDEgMC0uNzcyLjc3MmwxLjE1NyAxLjE1NmEuNTQzLjU0MyAwIDAgMCAuNzcxIDAgLjU0NS41NDUgMCAwIDAgMC0uNzdsLTEuMTU2LTEuMTU4ek0xMi41MzcgOS44MkgxMC45YS41NDYuNTQ2IDAgMCAwIDAgMS4wOTFoMS42MzdhLjU0Ni41NDYgMCAwIDAgMC0xLjA5ek00LjkxIDMuNTQ3YS41NDYuNTQ2IDAgMCAwIC41NDUtLjU0NVYxLjM2NmEuNTQ2LjU0NiAwIDAgMC0xLjA5IDB2MS42MzZjMCAuMzAxLjI0NC41NDUuNTQ1LjU0NXpNMi44ODggMy45MzNhLjU0My41NDMgMCAwIDAgLjc3MSAwIC41NDUuNTQ1IDAgMCAwIDAtLjc3MUwyLjUwMiAyLjAwNWEuNTQ1LjU0NSAwIDEgMC0uNzcxLjc3bDEuMTU3IDEuMTU4ek0xLjYyOCA1LjczaDEuNjM2YS41NDYuNTQ2IDAgMCAwIDAtMS4wOTJIMS42MjhhLjU0Ni41NDYgMCAwIDAgMCAxLjA5MXoiLz48L2c+PC9zdmc+",className:void 0,title:void 0},linkCallback:void 0},emoji:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTciIHZpZXdCb3g9IjE1LjcyOSAyMi4wODIgMTcgMTciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTI5LjcwOCAyNS4xMDRjLTMuMDIxLTMuMDIyLTcuOTM3LTMuMDIyLTEwLjk1OCAwLTMuMDIxIDMuMDItMy4wMiA3LjkzNiAwIDEwLjk1OCAzLjAyMSAzLjAyIDcuOTM3IDMuMDIgMTAuOTU4LS4wMDEgMy4wMi0zLjAyMSAzLjAyLTcuOTM2IDAtMTAuOTU3em0tLjg0NSAxMC4xMTJhNi41NiA2LjU2IDAgMCAxLTkuMjY4IDAgNi41NiA2LjU2IDAgMCAxIDAtOS4yNjcgNi41NiA2LjU2IDAgMCAxIDkuMjY4IDAgNi41NiA2LjU2IDAgMCAxIDAgOS4yNjd6bS03LjUyNC02LjczYS45MDYuOTA2IDAgMSAxIDEuODExIDAgLjkwNi45MDYgMCAwIDEtMS44MTEgMHptNC4xMDYgMGEuOTA2LjkwNiAwIDEgMSAxLjgxMiAwIC45MDYuOTA2IDAgMCAxLTEuODEyIDB6bTIuMTQxIDMuNzA4Yy0uNTYxIDEuMjk4LTEuODc1IDIuMTM3LTMuMzQ4IDIuMTM3LTEuNTA1IDAtMi44MjctLjg0My0zLjM2OS0yLjE0N2EuNDM4LjQzOCAwIDAgMSAuODEtLjMzNmMuNDA1Ljk3NiAxLjQxIDEuNjA3IDIuNTU5IDEuNjA3IDEuMTIzIDAgMi4xMjEtLjYzMSAyLjU0NC0xLjYwOGEuNDM4LjQzOCAwIDAgMSAuODA0LjM0N3oiLz48L3N2Zz4=",className:void 0,component:void 0,popupClassName:void 0,emojis:["😀","😁","😂","😃","😉","😋","😎","😍","😗","🤗","🤔","😣","😫","😴","😌","🤓","😛","😜","😠","😇","😷","😈","👻","😺","😸","😹","😻","😼","😽","🙀","🙈","🙉","🙊","👼","👮","🕵","💂","👳","🎅","👸","👰","👲","🙍","🙇","🚶","🏃","💃","⛷","🏂","🏌","🏄","🚣","🏊","⛹","🏋","🚴","👫","💪","👈","👉","👆","🖕","👇","🖖","🤘","🖐","👌","👍","👎","✊","👊","👏","🙌","🙏","🐵","🐶","🐇","🐥","🐸","🐌","🐛","🐜","🐝","🍉","🍄","🍔","🍤","🍨","🍪","🎂","🍰","🍾","🍷","🍸","🍺","🌍","🚑","⏰","🌙","🌝","🌞","⭐","🌟","🌠","🌨","🌩","⛄","🔥","🎄","🎈","🎉","🎊","🎁","🎗","🏀","🏈","🎲","🔇","🔈","📣","🔔","🎵","🎷","💰","🖊","📅","✅","❎","💯"],title:void 0},embedded:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYuNzA4IDYuNjE1YS40MzYuNDM2IDAgMCAwLS41NDMuMjkxbC0xLjgzIDYuMDQ1YS40MzYuNDM2IDAgMCAwIC44MzMuMjUyTDcgNy4xNmEuNDM2LjQzNiAwIDAgMC0uMjktLjU0NHpNOC45MzEgNi42MTVhLjQzNi40MzYgMCAwIDAtLjU0My4yOTFsLTEuODMgNi4wNDVhLjQzNi40MzYgMCAwIDAgLjgzNC4yNTJsMS44My02LjA0NGEuNDM2LjQzNiAwIDAgMC0uMjktLjU0NHoiLz48cGF0aCBkPSJNMTYuNTY0IDBILjQzNkEuNDM2LjQzNiAwIDAgMCAwIC40MzZ2MTYuMTI4YzAgLjI0LjE5NS40MzYuNDM2LjQzNmgxNi4xMjhjLjI0IDAgLjQzNi0uMTk1LjQzNi0uNDM2Vi40MzZBLjQzNi40MzYgMCAwIDAgMTYuNTY0IDB6TTMuNDg3Ljg3MmgxMC4wMjZ2MS43NDNIMy40ODdWLjg3MnptLTIuNjE1IDBoMS43NDN2MS43NDNILjg3MlYuODcyem0xNS4yNTYgMTUuMjU2SC44NzJWMy40ODhoMTUuMjU2djEyLjY0em0wLTEzLjUxM2gtMS43NDNWLjg3MmgxLjc0M3YxLjc0M3oiLz48Y2lyY2xlIGN4PSI5My44NjciIGN5PSIyNDUuMDY0IiByPSIxMy4xMjgiIHRyYW5zZm9ybT0ibWF0cml4KC4wMzMyIDAgMCAuMDMzMiAwIDApIi8+PGNpcmNsZSBjeD0iOTMuODY3IiBjeT0iMzYwLjU5MiIgcj0iMTMuMTI4IiB0cmFuc2Zvcm09Im1hdHJpeCguMDMzMiAwIDAgLjAzMzIgMCAwKSIvPjxwYXRoIGQ9Ik0xNC4yNTQgMTIuNjQxSDEwLjJhLjQzNi40MzYgMCAwIDAgMCAuODcyaDQuMDU0YS40MzYuNDM2IDAgMCAwIDAtLjg3MnoiLz48L3N2Zz4=",className:void 0,component:void 0,popupClassName:void 0,embedCallback:void 0,defaultSize:{height:"auto",width:"auto"},title:void 0},image:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuNzQxIDBILjI2Qy4xMTYgMCAwIC4xMzYgMCAuMzA0djEzLjM5MmMwIC4xNjguMTE2LjMwNC4yNTkuMzA0SDE0Ljc0Yy4xNDMgMCAuMjU5LS4xMzYuMjU5LS4zMDRWLjMwNEMxNSAuMTM2IDE0Ljg4NCAwIDE0Ljc0MSAwem0tLjI1OCAxMy4zOTFILjUxN1YuNjFoMTMuOTY2VjEzLjM5eiIvPjxwYXRoIGQ9Ik00LjEzOCA2LjczOGMuNzk0IDAgMS40NC0uNzYgMS40NC0xLjY5NXMtLjY0Ni0xLjY5NS0xLjQ0LTEuNjk1Yy0uNzk0IDAtMS40NC43Ni0xLjQ0IDEuNjk1IDAgLjkzNC42NDYgMS42OTUgMS40NCAxLjY5NXptMC0yLjc4MWMuNTA5IDAgLjkyMy40ODcuOTIzIDEuMDg2IDAgLjU5OC0uNDE0IDEuMDg2LS45MjMgMS4wODYtLjUwOSAwLS45MjMtLjQ4Ny0uOTIzLTEuMDg2IDAtLjU5OS40MTQtMS4wODYuOTIzLTEuMDg2ek0xLjgxIDEyLjE3NGMuMDYgMCAuMTIyLS4wMjUuMTcxLS4wNzZMNi4yIDcuNzI4bDIuNjY0IDMuMTM0YS4yMzIuMjMyIDAgMCAwIC4zNjYgMCAuMzQzLjM0MyAwIDAgMCAwLS40M0w3Ljk4NyA4Ljk2OWwyLjM3NC0zLjA2IDIuOTEyIDMuMTQyYy4xMDYuMTEzLjI3LjEwNS4zNjYtLjAyYS4zNDMuMzQzIDAgMCAwLS4wMTYtLjQzbC0zLjEwNC0zLjM0N2EuMjQ0LjI0NCAwIDAgMC0uMTg2LS4wOC4yNDUuMjQ1IDAgMCAwLS4xOC4xTDcuNjIyIDguNTM3IDYuMzk0IDcuMDk0YS4yMzIuMjMyIDAgMCAwLS4zNTQtLjAxM2wtNC40IDQuNTZhLjM0My4zNDMgMCAwIDAtLjAyNC40My4yNDMuMjQzIDAgMCAwIC4xOTQuMTAzeiIvPjwvZz48L3N2Zz4=",className:void 0,component:void 0,popupClassName:void 0,urlEnabled:!0,uploadEnabled:!0,previewImage:!1,alignmentEnabled:!0,uploadCallback:void 0,inputAccept:"image/gif,image/jpeg,image/jpg,image/png,image/svg",alt:{present:!1,mandatory:!1},defaultSize:{height:"auto",width:"auto"},title:void 0},remove:{icon:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNSIgaGVpZ2h0PSIxNSIgdmlld0JveD0iMCAwIDE2IDE2Ij48cGF0aCBkPSJNOC4xIDE0bDYuNC03LjJjLjYtLjcuNi0xLjgtLjEtMi41bC0yLjctMi43Yy0uMy0uNC0uOC0uNi0xLjMtLjZIOC42Yy0uNSAwLTEgLjItMS40LjZMLjUgOS4yYy0uNi43LS42IDEuOS4xIDIuNWwyLjcgMi43Yy4zLjQuOC42IDEuMy42SDE2di0xSDguMXptLTEuMy0uMXMwLS4xIDAgMGwtMi43LTIuN2MtLjQtLjQtLjQtLjkgMC0xLjNMNy41IDZoLTFsLTMgMy4zYy0uNi43LS42IDEuNy4xIDIuNEw1LjkgMTRINC42Yy0uMiAwLS40LS4xLS42LS4yTDEuMiAxMWMtLjMtLjMtLjMtLjggMC0xLjFMNC43IDZoMS44TDEwIDJoMUw3LjUgNmwzLjEgMy43LTMuNSA0Yy0uMS4xLS4yLjEtLjMuMnoiLz48L3N2Zz4=",className:void 0,component:void 0,title:void 0},history:{inDropdown:!1,className:void 0,component:void 0,dropdownClassName:void 0,options:["undo","redo"],undo:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTcgMTQuODc1YzIuNjcyIDAgNC44NDYtMi4xNDUgNC44NDYtNC43ODEgMC0yLjYzNy0yLjE3NC00Ljc4MS00Ljg0Ni00Ljc4MVY4LjVMMS42MTUgNC4yNSA3IDB2My4xODhjMy44NiAwIDcgMy4wOTggNyA2LjkwNlMxMC44NiAxNyA3IDE3cy03LTMuMDk4LTctNi45MDZoMi4xNTRjMCAyLjYzNiAyLjE3NCA0Ljc4MSA0Ljg0NiA0Ljc4MXoiIGZpbGw9IiMwMDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg==",className:void 0,title:void 0},redo:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYuNTA0IDEzLjk3N2E0LjQ5NyA0LjQ5NyAwIDAgMS00LjQ5Mi00LjQ5MiA0LjQ5NyA0LjQ5NyAwIDAgMSA0LjQ5Mi00LjQ5M3YyLjk5NWw0Ljk5LTMuOTkzTDYuNTA0IDB2Mi45OTVhNi40OTYgNi40OTYgMCAwIDAtNi40ODggNi40OWMwIDMuNTc4IDIuOTEgNi40OSA2LjQ4OCA2LjQ5YTYuNDk2IDYuNDk2IDAgMCAwIDYuNDg3LTYuNDloLTEuOTk2YTQuNDk3IDQuNDk3IDAgMCAxLTQuNDkxIDQuNDkyeiIgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+",className:void 0,title:void 0},title:void 0}},_r={en:{"generic.add":"Add","generic.cancel":"Cancel","components.controls.blocktype.h1":"H1","components.controls.blocktype.h2":"H2","components.controls.blocktype.h3":"H3","components.controls.blocktype.h4":"H4","components.controls.blocktype.h5":"H5","components.controls.blocktype.h6":"H6","components.controls.blocktype.blockquote":"Blockquote","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"Block Type","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Color Picker","components.controls.colorpicker.text":"Text","components.controls.colorpicker.background":"Highlight","components.controls.embedded.embedded":"Embedded","components.controls.embedded.embeddedlink":"Embedded Link","components.controls.embedded.enterlink":"Enter link","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Font","components.controls.fontsize.fontsize":"Font Size","components.controls.history.history":"History","components.controls.history.undo":"Undo","components.controls.history.redo":"Redo","components.controls.image.image":"Image","components.controls.image.fileUpload":"File Upload","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Drop the file or click to upload","components.controls.inline.bold":"Bold","components.controls.inline.italic":"Italic","components.controls.inline.underline":"Underline","components.controls.inline.strikethrough":"Strikethrough","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Superscript","components.controls.inline.subscript":"Subscript","components.controls.link.linkTitle":"Link Title","components.controls.link.linkTarget":"Link Target","components.controls.link.linkTargetOption":"Open link in new window","components.controls.link.link":"Link","components.controls.link.unlink":"Unlink","components.controls.list.list":"List","components.controls.list.unordered":"Unordered","components.controls.list.ordered":"Ordered","components.controls.list.indent":"Indent","components.controls.list.outdent":"Outdent","components.controls.remove.remove":"Remove","components.controls.textalign.textalign":"Text Align","components.controls.textalign.left":"Left","components.controls.textalign.center":"Center","components.controls.textalign.right":"Right","components.controls.textalign.justify":"Justify"},fr:{"generic.add":"Ok","generic.cancel":"Annuler","components.controls.blocktype.h1":"Titre 1","components.controls.blocktype.h2":"Titre 2","components.controls.blocktype.h3":"Titre 3","components.controls.blocktype.h4":"Titre 4","components.controls.blocktype.h5":"Titre 5","components.controls.blocktype.h6":"Titre 6","components.controls.blocktype.blockquote":"Citation","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"Type bloc","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Palette de couleur","components.controls.colorpicker.text":"Texte","components.controls.colorpicker.background":"Fond","components.controls.embedded.embedded":"Embedded","components.controls.embedded.embeddedlink":"Lien iFrame","components.controls.embedded.enterlink":"Entrer le lien","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Police","components.controls.fontsize.fontsize":"Taille de police","components.controls.history.history":"Historique","components.controls.history.undo":"Précédent","components.controls.history.redo":"Suivant","components.controls.image.image":"Image","components.controls.image.fileUpload":"Téléchargement","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Glisser une image ou cliquer pour télécharger","components.controls.inline.bold":"Gras","components.controls.inline.italic":"Italique","components.controls.inline.underline":"Souligner","components.controls.inline.strikethrough":"Barrer","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Exposant","components.controls.inline.subscript":"Indice","components.controls.link.linkTitle":"Titre du lien","components.controls.link.linkTarget":"Cible du lien","components.controls.link.linkTargetOption":"Ouvrir le lien dans une nouvelle fenêtre","components.controls.link.link":"Lier","components.controls.link.unlink":"Délier","components.controls.list.list":"Liste","components.controls.list.unordered":"Désordonnée","components.controls.list.ordered":"Ordonnée","components.controls.list.indent":"Augmenter le retrait","components.controls.list.outdent":"Diminuer le retrait","components.controls.remove.remove":"Supprimer","components.controls.textalign.textalign":"Alignement du texte","components.controls.textalign.left":"Gauche","components.controls.textalign.center":"Centre","components.controls.textalign.right":"Droite","components.controls.textalign.justify":"Justifier"},zh:{"generic.add":"添加","generic.cancel":"取消","components.controls.blocktype.h1":"标题1","components.controls.blocktype.h2":"标题2","components.controls.blocktype.h3":"标题3","components.controls.blocktype.h4":"标题4","components.controls.blocktype.h5":"标题5","components.controls.blocktype.h6":"标题6","components.controls.blocktype.blockquote":"引用","components.controls.blocktype.code":"源码","components.controls.blocktype.blocktype":"样式","components.controls.blocktype.normal":"正文","components.controls.colorpicker.colorpicker":"选色器","components.controls.colorpicker.text":"文字","components.controls.colorpicker.background":"背景","components.controls.embedded.embedded":"内嵌","components.controls.embedded.embeddedlink":"内嵌网页","components.controls.embedded.enterlink":"输入网页地址","components.controls.emoji.emoji":"表情符号","components.controls.fontfamily.fontfamily":"字体","components.controls.fontsize.fontsize":"字号","components.controls.history.history":"历史","components.controls.history.undo":"撤销","components.controls.history.redo":"恢复","components.controls.image.image":"图片","components.controls.image.fileUpload":"来自文件","components.controls.image.byURL":"在线图片","components.controls.image.dropFileText":"点击或者拖拽文件上传","components.controls.inline.bold":"粗体","components.controls.inline.italic":"斜体","components.controls.inline.underline":"下划线","components.controls.inline.strikethrough":"删除线","components.controls.inline.monospace":"等宽字体","components.controls.inline.superscript":"上标","components.controls.inline.subscript":"下标","components.controls.link.linkTitle":"超链接","components.controls.link.linkTarget":"输入链接地址","components.controls.link.linkTargetOption":"在新窗口中打开链接","components.controls.link.link":"链接","components.controls.link.unlink":"删除链接","components.controls.list.list":"列表","components.controls.list.unordered":"项目符号","components.controls.list.ordered":"编号","components.controls.list.indent":"增加缩进量","components.controls.list.outdent":"减少缩进量","components.controls.remove.remove":"清除格式","components.controls.textalign.textalign":"文本对齐","components.controls.textalign.left":"文本左对齐","components.controls.textalign.center":"居中","components.controls.textalign.right":"文本右对齐","components.controls.textalign.justify":"两端对齐"},ru:{"generic.add":"Добавить","generic.cancel":"Отменить","components.controls.blocktype.h1":"Заголовок 1","components.controls.blocktype.h2":"Заголовок 2","components.controls.blocktype.h3":"Заголовок 3","components.controls.blocktype.h4":"Заголовок 4","components.controls.blocktype.h5":"Заголовок 5","components.controls.blocktype.h6":"Заголовок 6","components.controls.blocktype.blockquote":"Цитата","components.controls.blocktype.code":"Код","components.controls.blocktype.blocktype":"Форматирование","components.controls.blocktype.normal":"Обычный","components.controls.colorpicker.colorpicker":"Выбор цвета","components.controls.colorpicker.text":"Текст","components.controls.colorpicker.background":"Фон","components.controls.embedded.embedded":"Встраивание","components.controls.embedded.embeddedlink":"Ссылка в iFrame","components.controls.embedded.enterlink":"Вставьте ссылку","components.controls.emoji.emoji":"Эмодзи","components.controls.fontfamily.fontfamily":"Шрифт","components.controls.fontsize.fontsize":"Размер шрифта","components.controls.history.history":"История","components.controls.history.undo":"Отменить","components.controls.history.redo":"Вернуть","components.controls.image.image":"Изображение","components.controls.image.fileUpload":"Файлы","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Переместите в эту область файлы или кликните для загрузки","components.controls.inline.bold":"Жирный","components.controls.inline.italic":"Курсив","components.controls.inline.underline":"Подчеркивание","components.controls.inline.strikethrough":"Зачеркивание","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Верхний индекс","components.controls.inline.subscript":"Нижний индекс","components.controls.link.linkTitle":"Текст","components.controls.link.linkTarget":"Адрес ссылки","components.controls.link.linkTargetOption":"Открывать в новом окне","components.controls.link.link":"Ссылка","components.controls.link.unlink":"Убрать ссылку","components.controls.list.list":"Список","components.controls.list.unordered":"Неупорядоченный","components.controls.list.ordered":"Упорядоченный","components.controls.list.indent":"Отступ","components.controls.list.outdent":"Выступ","components.controls.remove.remove":"Удалить","components.controls.textalign.textalign":"Выравнивание текста","components.controls.textalign.left":"Слева","components.controls.textalign.center":"По центру","components.controls.textalign.right":"Справа","components.controls.textalign.justify":"Выравнить"},pt:{"generic.add":"Ok","generic.cancel":"Cancelar","components.controls.blocktype.h1":"Título 1","components.controls.blocktype.h2":"Título 2","components.controls.blocktype.h3":"Título 3","components.controls.blocktype.h4":"Título 4","components.controls.blocktype.h5":"Título 5","components.controls.blocktype.h6":"Título 6","components.controls.blocktype.blockquote":"Citação","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"Estilo","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Paleta de cores","components.controls.colorpicker.text":"Texto","components.controls.colorpicker.background":"Fundo","components.controls.embedded.embedded":"Embarcado","components.controls.embedded.embeddedlink":"Link embarcado","components.controls.embedded.enterlink":"Coloque o link","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Fonte","components.controls.fontsize.fontsize":"Tamanho da Fonte","components.controls.history.history":"Histórico","components.controls.history.undo":"Desfazer","components.controls.history.redo":"Refazer","components.controls.image.image":"Imagem","components.controls.image.fileUpload":"Carregar arquivo","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Arraste uma imagem aqui ou clique para carregar","components.controls.inline.bold":"Negrito","components.controls.inline.italic":"Itálico","components.controls.inline.underline":"Sublinhado","components.controls.inline.strikethrough":"Strikethrough","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Sobrescrito","components.controls.inline.subscript":"Subscrito","components.controls.link.linkTitle":"Título do link","components.controls.link.linkTarget":"Alvo do link","components.controls.link.linkTargetOption":"Abrir link em outra janela","components.controls.link.link":"Adicionar Link","components.controls.link.unlink":"Remover link","components.controls.list.list":"Lista","components.controls.list.unordered":"Sem ordenção","components.controls.list.ordered":"Ordenada","components.controls.list.indent":"Aumentar recuo","components.controls.list.outdent":"Diminuir recuo","components.controls.remove.remove":"Remover","components.controls.textalign.textalign":"Alinhamento do texto","components.controls.textalign.left":"À Esquerda","components.controls.textalign.center":"Centralizado","components.controls.textalign.right":"À Direita","components.controls.textalign.justify":"Justificado"},ko:{"generic.add":"입력","generic.cancel":"취소","components.controls.blocktype.h1":"제목1","components.controls.blocktype.h2":"제목2","components.controls.blocktype.h3":"제목3","components.controls.blocktype.h4":"제목4","components.controls.blocktype.h5":"제목5","components.controls.blocktype.h6":"제목6","components.controls.blocktype.blockquote":"인용","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"블록","components.controls.blocktype.normal":"표준","components.controls.colorpicker.colorpicker":"색상 선택","components.controls.colorpicker.text":"글꼴색","components.controls.colorpicker.background":"배경색","components.controls.embedded.embedded":"임베드","components.controls.embedded.embeddedlink":"임베드 링크","components.controls.embedded.enterlink":"주소를 입력하세요","components.controls.emoji.emoji":"이모지","components.controls.fontfamily.fontfamily":"글꼴","components.controls.fontsize.fontsize":"글꼴 크기","components.controls.history.history":"히스토리","components.controls.history.undo":"실행 취소","components.controls.history.redo":"다시 실행","components.controls.image.image":"이미지","components.controls.image.fileUpload":"파일 업로드","components.controls.image.byURL":"주소","components.controls.image.dropFileText":"클릭하거나 파일을 드롭하여 업로드하세요","components.controls.inline.bold":"굵게","components.controls.inline.italic":"기울임꼴","components.controls.inline.underline":"밑줄","components.controls.inline.strikethrough":"취소선","components.controls.inline.monospace":"고정 너비","components.controls.inline.superscript":"위 첨자","components.controls.inline.subscript":"아래 첨자","components.controls.link.linkTitle":"링크 제목","components.controls.link.linkTarget":"링크 타겟","components.controls.link.linkTargetOption":"새창으로 열기","components.controls.link.link":"링크","components.controls.link.unlink":"링크 제거","components.controls.list.list":"리스트","components.controls.list.unordered":"일반 리스트","components.controls.list.ordered":"순서 리스트","components.controls.list.indent":"들여쓰기","components.controls.list.outdent":"내어쓰기","components.controls.remove.remove":"삭제","components.controls.textalign.textalign":"텍스트 정렬","components.controls.textalign.left":"왼쪽","components.controls.textalign.center":"중앙","components.controls.textalign.right":"오른쪽","components.controls.textalign.justify":"양쪽"},it:{"generic.add":"Aggiungi","generic.cancel":"Annulla","components.controls.blocktype.h1":"H1","components.controls.blocktype.h2":"H2","components.controls.blocktype.h3":"H3","components.controls.blocktype.h4":"H4","components.controls.blocktype.h5":"H5","components.controls.blocktype.h6":"H6","components.controls.blocktype.blockquote":"Citazione","components.controls.blocktype.code":"Codice","components.controls.blocktype.blocktype":"Stili","components.controls.blocktype.normal":"Normale","components.controls.colorpicker.colorpicker":"Colore testo","components.controls.colorpicker.text":"Testo","components.controls.colorpicker.background":"Evidenziazione","components.controls.embedded.embedded":"Incorpora","components.controls.embedded.embeddedlink":"Incorpora link","components.controls.embedded.enterlink":"Inserisci link","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Carattere","components.controls.fontsize.fontsize":"Dimensione carattere","components.controls.history.history":"Modifiche","components.controls.history.undo":"Annulla","components.controls.history.redo":"Ripristina","components.controls.image.image":"Immagine","components.controls.image.fileUpload":"Carica immagine","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Trascina il file o clicca per caricare","components.controls.inline.bold":"Grassetto","components.controls.inline.italic":"Corsivo","components.controls.inline.underline":"Sottolineato","components.controls.inline.strikethrough":"Barrato","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Apice","components.controls.inline.subscript":"Pedice","components.controls.link.linkTitle":"Testo","components.controls.link.linkTarget":"Link","components.controls.link.linkTargetOption":"Apri link in una nuova finestra","components.controls.link.link":"Inserisci link","components.controls.link.unlink":"Rimuovi link","components.controls.list.list":"Lista","components.controls.list.unordered":"Elenco puntato","components.controls.list.ordered":"Elenco numerato","components.controls.list.indent":"Indent","components.controls.list.outdent":"Outdent","components.controls.remove.remove":"Rimuovi formattazione","components.controls.textalign.textalign":"Allineamento del testo","components.controls.textalign.left":"Allinea a sinistra","components.controls.textalign.center":"Allinea al centro","components.controls.textalign.right":"Allinea a destra","components.controls.textalign.justify":"Giustifica"},nl:{"generic.add":"Toevoegen","generic.cancel":"Annuleren","components.controls.blocktype.h1":"H1","components.controls.blocktype.h2":"H2","components.controls.blocktype.h3":"H3","components.controls.blocktype.h4":"H4","components.controls.blocktype.h5":"H5","components.controls.blocktype.h6":"H6","components.controls.blocktype.blockquote":"Blockquote","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"Blocktype","components.controls.blocktype.normal":"Normaal","components.controls.colorpicker.colorpicker":"Kleurkiezer","components.controls.colorpicker.text":"Tekst","components.controls.colorpicker.background":"Achtergrond","components.controls.embedded.embedded":"Ingevoegd","components.controls.embedded.embeddedlink":"Ingevoegde link","components.controls.embedded.enterlink":"Voeg link toe","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Lettertype","components.controls.fontsize.fontsize":"Lettergrootte","components.controls.history.history":"Geschiedenis","components.controls.history.undo":"Ongedaan maken","components.controls.history.redo":"Opnieuw","components.controls.image.image":"Afbeelding","components.controls.image.fileUpload":"Bestand uploaden","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Drop het bestand hier of klik om te uploaden","components.controls.inline.bold":"Dikgedrukt","components.controls.inline.italic":"Schuingedrukt","components.controls.inline.underline":"Onderstrepen","components.controls.inline.strikethrough":"Doorstrepen","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Superscript","components.controls.inline.subscript":"Subscript","components.controls.link.linkTitle":"Linktitel","components.controls.link.linkTarget":"Link bestemming","components.controls.link.linkTargetOption":"Open link in een nieuw venster","components.controls.link.link":"Link","components.controls.link.unlink":"Unlink","components.controls.list.list":"Lijst","components.controls.list.unordered":"Ongeordend","components.controls.list.ordered":"Geordend","components.controls.list.indent":"Inspringen","components.controls.list.outdent":"Inspringen verkleinen","components.controls.remove.remove":"Verwijderen","components.controls.textalign.textalign":"Tekst uitlijnen","components.controls.textalign.left":"Links","components.controls.textalign.center":"Gecentreerd","components.controls.textalign.right":"Rechts","components.controls.textalign.justify":"Uitgelijnd"},de:{"generic.add":"Hinzufügen","generic.cancel":"Abbrechen","components.controls.blocktype.h1":"Überschrift 1","components.controls.blocktype.h2":"Überschrift 2","components.controls.blocktype.h3":"Überschrift 3","components.controls.blocktype.h4":"Überschrift 4","components.controls.blocktype.h5":"Überschrift 5","components.controls.blocktype.h6":"Überschrift 6","components.controls.blocktype.blockquote":"Zitat","components.controls.blocktype.code":"Quellcode","components.controls.blocktype.blocktype":"Blocktyp","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Farbauswahl","components.controls.colorpicker.text":"Text","components.controls.colorpicker.background":"Hintergrund","components.controls.embedded.embedded":"Eingebettet","components.controls.embedded.embeddedlink":"Eingebetteter Link","components.controls.embedded.enterlink":"Link eingeben","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Schriftart","components.controls.fontsize.fontsize":"Schriftgröße","components.controls.history.history":"Historie","components.controls.history.undo":"Zurücknehmen","components.controls.history.redo":"Wiederholen","components.controls.image.image":"Bild","components.controls.image.fileUpload":"Datei-Upload","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Dateien ziehen und ablegen, oder klicken zum Hochladen","components.controls.inline.bold":"Fett","components.controls.inline.italic":"Kursiv","components.controls.inline.underline":"Unterstreichen","components.controls.inline.strikethrough":"Durchstreichen","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Hochgestellt","components.controls.inline.subscript":"Tiefgestellt","components.controls.link.linkTitle":"Link-Titel","components.controls.link.linkTarget":"Link-Ziel","components.controls.link.linkTargetOption":"Link in neuem Fenster öffnen","components.controls.link.link":"Link","components.controls.link.unlink":"Aufheben","components.controls.list.list":"Liste","components.controls.list.unordered":"Aufzählung","components.controls.list.ordered":"Nummerierte Liste","components.controls.list.indent":"Einzug vergrößern","components.controls.list.outdent":"Einzug reduzieren","components.controls.remove.remove":"Entfernen","components.controls.textalign.textalign":"Textausrichtung","components.controls.textalign.left":"Linksbündig","components.controls.textalign.center":"Zentrieren","components.controls.textalign.right":"Rechtsbündig","components.controls.textalign.justify":"Blocksatz"},da:{"generic.add":"Tilføj","generic.cancel":"Annuller","components.controls.blocktype.h1":"Overskrift 1","components.controls.blocktype.h2":"Overskrift 2","components.controls.blocktype.h3":"Overskrift 3","components.controls.blocktype.h4":"Overskrift 4","components.controls.blocktype.h5":"Overskrift 5","components.controls.blocktype.h6":"Overskrift 6","components.controls.blocktype.blockquote":"Blokcitat","components.controls.blocktype.code":"Kode","components.controls.blocktype.blocktype":"Blok Type","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Farver","components.controls.colorpicker.text":"Tekst","components.controls.colorpicker.background":"Baggrund","components.controls.embedded.embedded":"Indlejre","components.controls.embedded.embeddedlink":"Indlejre Link","components.controls.embedded.enterlink":"Indtast link","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Fonttype","components.controls.fontsize.fontsize":"Fontstørrelser","components.controls.history.history":"Historie","components.controls.history.undo":"Fortryd","components.controls.history.redo":"Gendan","components.controls.image.image":"Billede","components.controls.image.fileUpload":"Filoverførsel","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Drop filen eller klik for at uploade","components.controls.inline.bold":"Fed","components.controls.inline.italic":"Kursiv","components.controls.inline.underline":"Understrege","components.controls.inline.strikethrough":"Gennemstreget","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Hævet","components.controls.inline.subscript":"Sænket","components.controls.link.linkTitle":"Link Titel","components.controls.link.linkTarget":"Link Mål","components.controls.link.linkTargetOption":"Åbn link i nyt vindue","components.controls.link.link":"Link","components.controls.link.unlink":"Fjern link","components.controls.list.list":"Liste","components.controls.list.unordered":"Uordnet","components.controls.list.ordered":"Ordnet","components.controls.list.indent":"Indrykning","components.controls.list.outdent":"Udrykning","components.controls.remove.remove":"Fjern","components.controls.textalign.textalign":"Tekstjustering","components.controls.textalign.left":"Venstre","components.controls.textalign.center":"Center","components.controls.textalign.right":"Højre","components.controls.textalign.justify":"Margener"},zh_tw:{"generic.add":"新增","generic.cancel":"取消","components.controls.blocktype.h1":"標題1","components.controls.blocktype.h2":"標題2","components.controls.blocktype.h3":"標題3","components.controls.blocktype.h4":"標題4","components.controls.blocktype.h5":"標題5","components.controls.blocktype.h6":"標題6","components.controls.blocktype.blockquote":"引用","components.controls.blocktype.code":"程式碼","components.controls.blocktype.blocktype":"樣式","components.controls.blocktype.normal":"正文","components.controls.colorpicker.colorpicker":"選色器","components.controls.colorpicker.text":"文字","components.controls.colorpicker.background":"背景","components.controls.embedded.embedded":"內嵌","components.controls.embedded.embeddedlink":"內嵌網頁","components.controls.embedded.enterlink":"輸入網頁地址","components.controls.emoji.emoji":"表情符號","components.controls.fontfamily.fontfamily":"字體","components.controls.fontsize.fontsize":"字體大小","components.controls.history.history":"歷史紀錄","components.controls.history.undo":"復原","components.controls.history.redo":"重做","components.controls.image.image":"圖片","components.controls.image.fileUpload":"檔案上傳","components.controls.image.byURL":"網址","components.controls.image.dropFileText":"點擊或拖曳檔案上傳","components.controls.inline.bold":"粗體","components.controls.inline.italic":"斜體","components.controls.inline.underline":"底線","components.controls.inline.strikethrough":"刪除線","components.controls.inline.monospace":"等寬字體","components.controls.inline.superscript":"上標","components.controls.inline.subscript":"下標","components.controls.link.linkTitle":"超連結","components.controls.link.linkTarget":"輸入連結位址","components.controls.link.linkTargetOption":"在新視窗打開連結","components.controls.link.link":"連結","components.controls.link.unlink":"刪除連結","components.controls.list.list":"列表","components.controls.list.unordered":"項目符號","components.controls.list.ordered":"編號","components.controls.list.indent":"增加縮排","components.controls.list.outdent":"減少縮排","components.controls.remove.remove":"清除格式","components.controls.textalign.textalign":"文字對齊","components.controls.textalign.left":"文字向左對齊","components.controls.textalign.center":"文字置中","components.controls.textalign.right":"文字向右對齊","components.controls.textalign.justify":"兩端對齊"},pl:{"generic.add":"Dodaj","generic.cancel":"Anuluj","components.controls.blocktype.h1":"Nagłówek 1","components.controls.blocktype.h2":"Nagłówek 2","components.controls.blocktype.h3":"Nagłówek 3","components.controls.blocktype.h4":"Nagłówek 4","components.controls.blocktype.h5":"Nagłówek 5","components.controls.blocktype.h6":"Nagłówek 6","components.controls.blocktype.blockquote":"Cytat","components.controls.blocktype.code":"Kod","components.controls.blocktype.blocktype":"Format","components.controls.blocktype.normal":"Normalny","components.controls.colorpicker.colorpicker":"Kolor","components.controls.colorpicker.text":"Tekst","components.controls.colorpicker.background":"Tło","components.controls.embedded.embedded":"Osadź","components.controls.embedded.embeddedlink":"Osadź odnośnik","components.controls.embedded.enterlink":"Wprowadź odnośnik","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Krój czcionki","components.controls.fontsize.fontsize":"Rozmiar czcionki","components.controls.history.history":"Historia","components.controls.history.undo":"Cofnij","components.controls.history.redo":"Ponów","components.controls.image.image":"Obrazek","components.controls.image.fileUpload":"Prześlij plik","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Upuść plik lub kliknij, aby przesłać","components.controls.inline.bold":"Pogrubienie","components.controls.inline.italic":"Kursywa","components.controls.inline.underline":"Podkreślenie","components.controls.inline.strikethrough":"Przekreślenie","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Indeks górny","components.controls.inline.subscript":"Indeks dolny","components.controls.link.linkTitle":"Tytuł odnośnika","components.controls.link.linkTarget":"Adres odnośnika","components.controls.link.linkTargetOption":"Otwórz odnośnik w nowej karcie","components.controls.link.link":"Wstaw odnośnik","components.controls.link.unlink":"Usuń odnośnik","components.controls.list.list":"Lista","components.controls.list.unordered":"Lista nieuporządkowana","components.controls.list.ordered":"Lista uporządkowana","components.controls.list.indent":"Zwiększ wcięcie","components.controls.list.outdent":"Zmniejsz wcięcie","components.controls.remove.remove":"Usuń","components.controls.textalign.textalign":"Wyrównaj tekst","components.controls.textalign.left":"Do lewej","components.controls.textalign.center":"Do środka","components.controls.textalign.right":"Do prawej","components.controls.textalign.justify":"Wyjustuj"},es:{"generic.add":"Añadir","generic.cancel":"Cancelar","components.controls.blocktype.h1":"H1","components.controls.blocktype.h2":"H2","components.controls.blocktype.h3":"H3","components.controls.blocktype.h4":"H4","components.controls.blocktype.h5":"H5","components.controls.blocktype.h6":"H6","components.controls.blocktype.blockquote":"Blockquote","components.controls.blocktype.code":"Código","components.controls.blocktype.blocktype":"Tipo de bloque","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Seleccionar color","components.controls.colorpicker.text":"Texto","components.controls.colorpicker.background":"Subrayado","components.controls.embedded.embedded":"Adjuntar","components.controls.embedded.embeddedlink":"Adjuntar Link","components.controls.embedded.enterlink":"Introducir link","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Fuente","components.controls.fontsize.fontsize":"Tamaño de fuente","components.controls.history.history":"Histórico","components.controls.history.undo":"Deshacer","components.controls.history.redo":"Rehacer","components.controls.image.image":"Imagen","components.controls.image.fileUpload":"Subir archivo","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Arrastra el archivo o haz click para subirlo","components.controls.inline.bold":"Negrita","components.controls.inline.italic":"Cursiva","components.controls.inline.underline":"Subrayado","components.controls.inline.strikethrough":"Tachado","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Sobreíndice","components.controls.inline.subscript":"Subíndice","components.controls.link.linkTitle":"Título del enlace","components.controls.link.linkTarget":"Objetivo del enlace","components.controls.link.linkTargetOption":"Abrir en nueva ventana","components.controls.link.link":"Enlazar","components.controls.link.unlink":"Desenlazar","components.controls.list.list":"Lista","components.controls.list.unordered":"Desordenada","components.controls.list.ordered":"Ordenada","components.controls.list.indent":"Indentada","components.controls.list.outdent":"Dentada","components.controls.remove.remove":"Eliminar","components.controls.textalign.textalign":"Alineación del texto","components.controls.textalign.left":"Izquierda","components.controls.textalign.center":"Centrado","components.controls.textalign.right":"Derecha","components.controls.textalign.justify":"Justificado"},ja:{"generic.add":"追加","generic.cancel":"キャンセル","components.controls.blocktype.h1":"見出し1","components.controls.blocktype.h2":"見出し2","components.controls.blocktype.h3":"見出し3","components.controls.blocktype.h4":"見出し4","components.controls.blocktype.h5":"見出し5","components.controls.blocktype.h6":"見出し6","components.controls.blocktype.blockquote":"引用","components.controls.blocktype.code":"コード","components.controls.blocktype.blocktype":"スタイル","components.controls.blocktype.normal":"標準テキスト","components.controls.colorpicker.colorpicker":"テキストの色","components.controls.colorpicker.text":"テキスト","components.controls.colorpicker.background":"ハイライト","components.controls.embedded.embedded":"埋め込み","components.controls.embedded.embeddedlink":"埋め込みリンク","components.controls.embedded.enterlink":"リンクを入力してください","components.controls.emoji.emoji":"絵文字","components.controls.fontfamily.fontfamily":"フォント","components.controls.fontsize.fontsize":"フォントサイズ","components.controls.history.history":"履歴","components.controls.history.undo":"元に戻す","components.controls.history.redo":"やり直し","components.controls.image.image":"画像","components.controls.image.fileUpload":"ファイルをアップロード","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"ここに画像をドラッグするか、クリックしてください","components.controls.inline.bold":"太字","components.controls.inline.italic":"斜体","components.controls.inline.underline":"下線","components.controls.inline.strikethrough":"取り消し線","components.controls.inline.monospace":"等幅フォント","components.controls.inline.superscript":"上付き文字","components.controls.inline.subscript":"下付き文字","components.controls.link.linkTitle":"リンクタイトル","components.controls.link.linkTarget":"リンク対象","components.controls.link.linkTargetOption":"新しいウィンドウで開く","components.controls.link.link":"リンク","components.controls.link.unlink":"リンクを解除","components.controls.list.list":"リスト","components.controls.list.unordered":"箇条書き","components.controls.list.ordered":"番号付き","components.controls.list.indent":"インデント増","components.controls.list.outdent":"インデント減","components.controls.remove.remove":"書式をクリア","components.controls.textalign.textalign":"整列","components.controls.textalign.left":"左揃え","components.controls.textalign.center":"中央揃え","components.controls.textalign.right":"右揃え","components.controls.textalign.justify":"両端揃え"}};function wr(t){return(wr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Sr(){return(Sr=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function Mr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Er(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Mr(Object(n),!0).forEach((function(e){xr(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Mr(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function xr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function kr(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function Cr(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function jr(t){return(jr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Dr(t,e){return(Dr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}n(38),n(39);var Or=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==wr(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,jr(t).call(this,e))).onEditorBlur=function(){n.setState({editorFocused:!1})},n.onEditorFocus=function(t){var e=n.props.onFocus;n.setState({editorFocused:!0});var r=n.focusHandler.isEditorFocused();e&&r&&e(t)},n.onEditorMouseDown=function(){n.focusHandler.onEditorMouseDown()},n.keyBindingFn=function(t){if("Tab"!==t.key)return"ArrowUp"!==t.key&&"ArrowDown"!==t.key||v()&&t.preventDefault(),Object(s.getDefaultKeyBinding)(t);var e=n.props.onTab;if(!e||!e(t)){var r=Object(c.changeDepth)(n.state.editorState,t.shiftKey?-1:1,4);r&&r!==n.state.editorState&&(n.onChange(r),t.preventDefault())}return null},n.onToolbarFocus=function(t){var e=n.props.onFocus;e&&n.focusHandler.isToolbarFocused()&&e(t)},n.onWrapperBlur=function(t){var e=n.props.onBlur;e&&n.focusHandler.isEditorBlur(t)&&e(t,n.getEditorState())},n.onChange=function(t){var e=n.props,r=e.readOnly,o=e.onEditorStateChange;r||"atomic"===Object(c.getSelectedBlocksType)(t)&&t.getSelection().isCollapsed||(o&&o(t,n.props.wrapperId),w(n.props,"editorState")?n.afterChange(t):n.setState({editorState:t},n.afterChange(t)))},n.setWrapperReference=function(t){n.wrapper=t},n.setEditorReference=function(t){n.props.editorRef&&n.props.editorRef(t),n.editor=t},n.getCompositeDecorator=function(t){var e=[].concat(kr(n.props.customDecorators),[{strategy:$n,component:tr({showOpenOptionOnHover:t.link.showOpenOptionOnHover})}]);return n.props.mention&&e.push.apply(e,kr(function(t){return[new nr(t.mentionClassName).getMentionDecorator(),new ur(t).getSuggestionDecorator()]}(Er({},n.props.mention,{onChange:n.onChange,getEditorState:n.getEditorState,getSuggestions:n.getSuggestions,getWrapperRef:n.getWrapperRef,modalHandler:n.modalHandler})))),n.props.hashtag&&e.push(function(t){return new lr(t).getHashtagDecorator()}(n.props.hashtag)),new s.CompositeDecorator(e)},n.getWrapperRef=function(){return n.wrapper},n.getEditorState=function(){return n.state?n.state.editorState:null},n.getSuggestions=function(){return n.props.mention&&n.props.mention.suggestions},n.afterChange=function(t){setTimeout((function(){var e=n.props,r=e.onChange,o=e.onContentStateChange;r&&r(Object(s.convertToRaw)(t.getCurrentContent())),o&&o(Object(s.convertToRaw)(t.getCurrentContent()))}))},n.isReadOnly=function(){return n.props.readOnly},n.isImageAlignmentEnabled=function(){return n.state.toolbar.image.alignmentEnabled},n.createEditorState=function(t){var e;if(w(n.props,"editorState"))n.props.editorState&&(e=s.EditorState.set(n.props.editorState,{decorator:t}));else if(w(n.props,"defaultEditorState"))n.props.defaultEditorState&&(e=s.EditorState.set(n.props.defaultEditorState,{decorator:t}));else if(w(n.props,"contentState")){if(n.props.contentState){var r=Object(s.convertFromRaw)(n.props.contentState);e=s.EditorState.createWithContent(r,t),e=s.EditorState.moveSelectionToEnd(e)}}else if(w(n.props,"defaultContentState")||w(n.props,"initialContentState")){var o=n.props.defaultContentState||n.props.initialContentState;o&&(o=Object(s.convertFromRaw)(o),e=s.EditorState.createWithContent(o,t),e=s.EditorState.moveSelectionToEnd(e))}return e||s.EditorState.createEmpty(t)},n.filterEditorProps=function(t){return e=t,n=["onChange","onEditorStateChange","onContentStateChange","initialContentState","defaultContentState","contentState","editorState","defaultEditorState","locale","localization","toolbarOnFocus","toolbar","toolbarCustomButtons","toolbarClassName","editorClassName","toolbarHidden","wrapperClassName","toolbarStyle","editorStyle","wrapperStyle","uploadCallback","onFocus","onBlur","onTab","mention","hashtag","ariaLabel","customBlockRenderFunc","customDecorators","handlePastedText","customStyleMap"],r=Object.keys(e).filter((function(t){return n.indexOf(t)<0})),o={},r&&0<r.length&&r.forEach((function(t){o[t]=e[t]})),o;var e,n,r,o},n.getStyleMap=function(t){return Er({},Object(c.getCustomStyleMap)(),{},t.customStyleMap)},n.changeEditorState=function(t){var e=Object(s.convertFromRaw)(t),r=n.state.editorState;return r=s.EditorState.push(r,e,"insert-characters"),s.EditorState.moveSelectionToEnd(r)},n.focusEditor=function(){setTimeout((function(){n.editor.focus()}))},n.handleKeyCommand=function(t){var e=n.state,r=e.editorState,o=e.toolbar.inline;if(o&&0<=o.options.indexOf(t)){var i=s.RichUtils.handleKeyCommand(r,t);if(i)return n.onChange(i),!0}return!1},n.handleReturn=function(t){if(v())return!0;var e=n.state.editorState,r=Object(c.handleNewLine)(e,t);return!!r&&(n.onChange(r),!0)},n.handlePastedTextFn=function(t,e){var r=n.state.editorState,o=n.props,i=o.handlePastedText,a=o.stripPastedStyles;return i?i(t,e,r,n.onChange):!a&&function(t,e,n,r){var o=Object(c.getSelectedBlock)(n);if(o&&"code"===o.type){var i=s.Modifier.replaceText(n.getCurrentContent(),n.getSelection(),t,n.getCurrentInlineStyle());return r(s.EditorState.push(n,i,"insert-characters")),!0}if(e){var a=k()(e),u=n.getCurrentContent();return a.entityMap.forEach((function(t,e){u=u.mergeEntityData(e,t)})),u=s.Modifier.replaceWithFragment(u,n.getSelection(),new C.List(a.contentBlocks)),r(s.EditorState.push(n,u,"insert-characters")),!0}return!1}(t,e,r,n.onChange)},n.preventDefault=function(t){"INPUT"===t.target.tagName||"LABEL"===t.target.tagName||"TEXTAREA"===t.target.tagName?n.focusHandler.onInputMouseDown():t.preventDefault()};var r=E(br,e.toolbar),o=e.wrapperId?e.wrapperId:Math.floor(1e4*Math.random());n.wrapperId="rdw-wrapper-".concat(o),n.modalHandler=new p,n.focusHandler=new f,n.blockRendererFn=function(t,e){return function(n){if("function"==typeof e){var r=e(n,t,t.getEditorState);if(r)return r}if("atomic"===n.getType()){var o=t.getEditorState().getCurrentContent().getEntity(n.getEntityAt(0));if(o&&"IMAGE"===o.type)return{component:vr(t),editable:!1};if(o&&"EMBEDDED_LINK"===o.type)return{component:fr,editable:!1}}}}({isReadOnly:n.isReadOnly,isImageAlignmentEnabled:n.isImageAlignmentEnabled,getEditorState:n.getEditorState,onChange:n.onChange},e.customBlockRenderFunc),n.editorProps=n.filterEditorProps(e),n.customStyleMap=n.getStyleMap(e),n.compositeDecorator=n.getCompositeDecorator(r);var i=n.createEditorState(n.compositeDecorator);return Object(c.extractInlineStyle)(i),n.state={editorState:i,editorFocused:!1,toolbar:r},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Dr(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidMount",value:function(){this.modalHandler.init(this.wrapperId)}},{key:"componentDidUpdate",value:function(t){if(t!==this.props){var e={},n=this.props,r=n.editorState,o=n.contentState;if(!this.state.toolbar){var i=E(br,i);e.toolbar=i}if(w(this.props,"editorState")&&r!==t.editorState)e.editorState=r?s.EditorState.set(r,{decorator:this.compositeDecorator}):s.EditorState.createEmpty(this.compositeDecorator);else if(w(this.props,"contentState")&&o!==t.contentState)if(o){var a=this.changeEditorState(o);a&&(e.editorState=a)}else e.editorState=s.EditorState.createEmpty(this.compositeDecorator);t.editorState===r&&t.contentState===o||Object(c.extractInlineStyle)(e.editorState),Object.keys(e).length&&this.setState(e),this.editorProps=this.filterEditorProps(this.props),this.customStyleMap=this.getStyleMap(this.props)}}},{key:"render",value:function(){var t=this.state,e=t.editorState,n=t.editorFocused,r=t.toolbar,i=this.props,a=i.locale,u=i.localization,p=u.locale,f=u.translations,d=i.toolbarCustomButtons,h=i.toolbarOnFocus,g=i.toolbarClassName,m=i.toolbarHidden,v=i.editorClassName,_=i.wrapperClassName,w=i.toolbarStyle,S=i.editorStyle,M=i.wrapperStyle,E=i.uploadCallback,x=i.ariaLabel,k={modalHandler:this.modalHandler,editorState:e,onChange:this.onChange,translations:Er({},_r[a||p],{},f)},C=n||this.focusHandler.isInputFocused()||!h;return o.a.createElement("div",{id:this.wrapperId,className:l()(_,"rdw-editor-wrapper"),style:M,onClick:this.modalHandler.onEditorClick,onBlur:this.onWrapperBlur,"aria-label":"rdw-wrapper"},!m&&o.a.createElement("div",{className:l()("rdw-editor-toolbar",g),style:Er({visibility:C?"visible":"hidden"},w),onMouseDown:this.preventDefault,"aria-label":"rdw-toolbar","aria-hidden":(!n&&h).toString(),onFocus:this.onToolbarFocus},r.options.map((function(t,e){var n=Qn[t],i=r[t];return"image"===t&&E&&(i.uploadCallback=E),o.a.createElement(n,Sr({key:e},k,{config:i}))})),d&&d.map((function(t,e){return o.a.cloneElement(t,Er({key:e},k))}))),o.a.createElement("div",{ref:this.setWrapperReference,className:l()(v,"rdw-editor-main"),style:S,onClick:this.focusEditor,onFocus:this.onEditorFocus,onBlur:this.onEditorBlur,onKeyDown:y.onKeyDown,onMouseDown:this.onEditorMouseDown},o.a.createElement(s.Editor,Sr({ref:this.setEditorReference,keyBindingFn:this.keyBindingFn,editorState:e,onChange:this.onChange,blockStyleFn:b,customStyleMap:this.getStyleMap(this.props),handleReturn:this.handleReturn,handlePastedText:this.handlePastedTextFn,blockRendererFn:this.blockRendererFn,handleKeyCommand:this.handleKeyCommand,ariaLabel:x||"rdw-editor",blockRenderMap:c.blockRenderMap},this.editorProps))))}}])&&Cr(e.prototype,n),t}();Or.propTypes={onChange:a.a.func,onEditorStateChange:a.a.func,onContentStateChange:a.a.func,initialContentState:a.a.object,defaultContentState:a.a.object,contentState:a.a.object,editorState:a.a.object,defaultEditorState:a.a.object,toolbarOnFocus:a.a.bool,spellCheck:a.a.bool,stripPastedStyles:a.a.bool,toolbar:a.a.object,toolbarCustomButtons:a.a.array,toolbarClassName:a.a.string,toolbarHidden:a.a.bool,locale:a.a.string,localization:a.a.object,editorClassName:a.a.string,wrapperClassName:a.a.string,toolbarStyle:a.a.object,editorStyle:a.a.object,wrapperStyle:a.a.object,uploadCallback:a.a.func,onFocus:a.a.func,onBlur:a.a.func,onTab:a.a.func,mention:a.a.object,hashtag:a.a.object,textAlignment:a.a.string,readOnly:a.a.bool,tabIndex:a.a.number,placeholder:a.a.string,ariaLabel:a.a.string,ariaOwneeID:a.a.string,ariaActiveDescendantID:a.a.string,ariaAutoComplete:a.a.string,ariaDescribedBy:a.a.string,ariaExpanded:a.a.string,ariaHasPopup:a.a.string,customBlockRenderFunc:a.a.func,wrapperId:a.a.number,customDecorators:a.a.array,editorRef:a.a.func,handlePastedText:a.a.func},Or.defaultProps={toolbarOnFocus:!1,toolbarHidden:!1,stripPastedStyles:!1,localization:{locale:"en",translations:{}},customDecorators:[]};var Ir=Or;n.d(e,"Editor",(function(){return Ir}))}],r.c=i,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=8);function r(t){if(i[t])return i[t].exports;var e=i[t]={i:t,l:!1,exports:{}};return o[t].call(e.exports,e,e.exports,r),e.l=!0,e.exports}var o,i}(n(1024),n(6880),n(11203))},56108:(t,e,n)=>{"use strict";n.d(e,{Z:()=>y});var r=n(20011),o=n(66017),i=n(1024);const a=i.useLayoutEffect;var s=function(t,e){"function"!=typeof t?t.current=e:t(e)};var c={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},u=function(t){Object.keys(c).forEach((function(e){t.style.setProperty(e,c[e],"important")}))},l=null,p=function(){},f=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width"],d=!!document.documentElement.currentStyle,h=function(t,e){var n=t.cacheMeasurements,c=t.maxRows,h=t.minRows,y=t.onChange,g=void 0===y?p:y,m=t.onHeightChange,v=void 0===m?p:m,b=(0,o.Z)(t,["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"]),_=void 0!==b.value,w=(0,i.useRef)(null),S=function(t,e){var n=(0,i.useRef)();return(0,i.useCallback)((function(r){t.current=r,n.current&&s(n.current,null),n.current=e,e&&s(e,r)}),[e])}(w,e),M=(0,i.useRef)(0),E=(0,i.useRef)(),x=function(){var t=w.current,e=n&&E.current?E.current:function(t){var e=window.getComputedStyle(t);if(null===e)return null;var n,r=(n=e,f.reduce((function(t,e){return t[e]=n[e],t}),{})),o=r.boxSizing;return""===o?null:(d&&"border-box"===o&&(r.width=parseFloat(r.width)+parseFloat(r.borderRightWidth)+parseFloat(r.borderLeftWidth)+parseFloat(r.paddingRight)+parseFloat(r.paddingLeft)+"px"),{sizingStyle:r,paddingSize:parseFloat(r.paddingBottom)+parseFloat(r.paddingTop),borderSize:parseFloat(r.borderBottomWidth)+parseFloat(r.borderTopWidth)})}(t);if(e){E.current=e;var r=function(t,e,n,r){void 0===n&&(n=1),void 0===r&&(r=1/0),l||((l=document.createElement("textarea")).setAttribute("tab-index","-1"),l.setAttribute("aria-hidden","true"),u(l)),null===l.parentNode&&document.body.appendChild(l);var o=t.paddingSize,i=t.borderSize,a=t.sizingStyle,s=a.boxSizing;Object.keys(a).forEach((function(t){var e=t;l.style[e]=a[e]})),u(l),l.value=e;var c=function(t,e){var n=t.scrollHeight;return"border-box"===e.sizingStyle.boxSizing?n+e.borderSize:n-e.paddingSize}(l,t);l.value="x";var p=l.scrollHeight-o,f=p*n;"border-box"===s&&(f=f+o+i),c=Math.max(f,c);var d=p*r;return"border-box"===s&&(d=d+o+i),[c=Math.min(d,c),p]}(e,t.value||t.placeholder||"x",h,c),o=r[0],i=r[1];M.current!==o&&(M.current=o,t.style.setProperty("height",o+"px","important"),v(o,{rowHeight:i}))}};return(0,i.useLayoutEffect)(x),function(t){var e,n,r=(e=t,n=i.useRef(e),a((function(){n.current=e})),n);(0,i.useLayoutEffect)((function(){var t=function(t){r.current(t)};return window.addEventListener("resize",t),function(){window.removeEventListener("resize",t)}}),[])}(x),(0,i.createElement)("textarea",(0,r.Z)({},b,{onChange:function(t){_||x(),g(t)},ref:S}))};const y=(0,i.forwardRef)(h)},67257:function(t,e,n){!function(t,e){"use strict";if(!t.setImmediate){var n,r,o,i,a,s=1,c={},u=!1,l=t.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(t);p=p&&p.setTimeout?p:t,"[object process]"==={}.toString.call(t.process)?n=function(t){process.nextTick((function(){d(t)}))}:function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?(i="setImmediate$"+Math.random()+"$",a=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(i)&&d(+e.data.slice(i.length))},t.addEventListener?t.addEventListener("message",a,!1):t.attachEvent("onmessage",a),n=function(e){t.postMessage(i+e,"*")}):t.MessageChannel?((o=new MessageChannel).port1.onmessage=function(t){d(t.data)},n=function(t){o.port2.postMessage(t)}):l&&"onreadystatechange"in l.createElement("script")?(r=l.documentElement,n=function(t){var e=l.createElement("script");e.onreadystatechange=function(){d(t),e.onreadystatechange=null,r.removeChild(e),e=null},r.appendChild(e)}):n=function(t){setTimeout(d,0,t)},p.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),r=0;r<e.length;r++)e[r]=arguments[r+1];var o={callback:t,args:e};return c[s]=o,n(s),s++},p.clearImmediate=f}function f(t){delete c[t]}function d(t){if(u)setTimeout(d,0,t);else{var e=c[t];if(e){u=!0;try{!function(t){var e=t.callback,n=t.args;switch(n.length){case 0:e();break;case 1:e(n[0]);break;case 2:e(n[0],n[1]);break;case 3:e(n[0],n[1],n[2]);break;default:e.apply(void 0,n)}}(e)}finally{f(t),u=!1}}}}}("undefined"==typeof self?void 0===n.g?this:n.g:self)},4234:(t,e,n)=>{"use strict";n.d(e,{Z:()=>C});var r=n(1024),o=n.n(r),i=n(60216),a=n.n(i),s=(n(15296),n(94386),n(48868),n(96609),n(92274),n(68268),n(81874),n(31341),n(54861),n(50200)),c=n.n(s),u=n(40001),l=n.n(u),p=n(98511),f=n.n(p),d=n(54006),h=n(15206),y=n.n(h),g=(n(82937),n(66403),n(42295),n(52963),n(34994),null),m=null;function v(){if(null===g){if("undefined"==typeof document)return g=0;var t=document.body,e=document.createElement("div");e.classList.add("simplebar-hide-scrollbar"),t.appendChild(e);var n=e.getBoundingClientRect().right;t.removeChild(e),g=n}return g}function b(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:window}function _(t){return t&&t.ownerDocument?t.ownerDocument:document}y()&&window.addEventListener("resize",(function(){m!==window.devicePixelRatio&&(m=window.devicePixelRatio,g=null)}));var w=function(){function t(e,n){var r=this;this.onScroll=function(){var t=b(r.el);r.scrollXTicking||(t.requestAnimationFrame(r.scrollX),r.scrollXTicking=!0),r.scrollYTicking||(t.requestAnimationFrame(r.scrollY),r.scrollYTicking=!0)},this.scrollX=function(){r.axis.x.isOverflowing&&(r.showScrollbar("x"),r.positionScrollbar("x")),r.scrollXTicking=!1},this.scrollY=function(){r.axis.y.isOverflowing&&(r.showScrollbar("y"),r.positionScrollbar("y")),r.scrollYTicking=!1},this.onMouseEnter=function(){r.showScrollbar("x"),r.showScrollbar("y")},this.onMouseMove=function(t){r.mouseX=t.clientX,r.mouseY=t.clientY,(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseMoveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseMoveForAxis("y")},this.onMouseLeave=function(){r.onMouseMove.cancel(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseLeaveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseLeaveForAxis("y"),r.mouseX=-1,r.mouseY=-1},this.onWindowResize=function(){r.scrollbarWidth=r.getScrollbarWidth(),r.hideNativeScrollbar()},this.hideScrollbars=function(){r.axis.x.track.rect=r.axis.x.track.el.getBoundingClientRect(),r.axis.y.track.rect=r.axis.y.track.el.getBoundingClientRect(),r.isWithinBounds(r.axis.y.track.rect)||(r.axis.y.scrollbar.el.classList.remove(r.classNames.visible),r.axis.y.isVisible=!1),r.isWithinBounds(r.axis.x.track.rect)||(r.axis.x.scrollbar.el.classList.remove(r.classNames.visible),r.axis.x.isVisible=!1)},this.onPointerEvent=function(t){var e,n;r.axis.x.track.rect=r.axis.x.track.el.getBoundingClientRect(),r.axis.y.track.rect=r.axis.y.track.el.getBoundingClientRect(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&(e=r.isWithinBounds(r.axis.x.track.rect)),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&(n=r.isWithinBounds(r.axis.y.track.rect)),(e||n)&&(t.preventDefault(),t.stopPropagation(),"mousedown"===t.type&&(e&&(r.axis.x.scrollbar.rect=r.axis.x.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.x.scrollbar.rect)?r.onDragStart(t,"x"):r.onTrackClick(t,"x")),n&&(r.axis.y.scrollbar.rect=r.axis.y.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.y.scrollbar.rect)?r.onDragStart(t,"y"):r.onTrackClick(t,"y"))))},this.drag=function(e){var n=r.axis[r.draggedAxis].track,o=n.rect[r.axis[r.draggedAxis].sizeAttr],i=r.axis[r.draggedAxis].scrollbar,a=r.contentWrapperEl[r.axis[r.draggedAxis].scrollSizeAttr],s=parseInt(r.elStyles[r.axis[r.draggedAxis].sizeAttr],10);e.preventDefault(),e.stopPropagation();var c=(("y"===r.draggedAxis?e.pageY:e.pageX)-n.rect[r.axis[r.draggedAxis].offsetAttr]-r.axis[r.draggedAxis].dragOffset)/(o-i.size)*(a-s);"x"===r.draggedAxis&&(c=r.isRtl&&t.getRtlHelpers().isRtlScrollbarInverted?c-(o+i.size):c,c=r.isRtl&&t.getRtlHelpers().isRtlScrollingInverted?-c:c),r.contentWrapperEl[r.axis[r.draggedAxis].scrollOffsetAttr]=c},this.onEndDrag=function(t){var e=_(r.el),n=b(r.el);t.preventDefault(),t.stopPropagation(),r.el.classList.remove(r.classNames.dragging),e.removeEventListener("mousemove",r.drag,!0),e.removeEventListener("mouseup",r.onEndDrag,!0),r.removePreventClickId=n.setTimeout((function(){e.removeEventListener("click",r.preventClick,!0),e.removeEventListener("dblclick",r.preventClick,!0),r.removePreventClickId=null}))},this.preventClick=function(t){t.preventDefault(),t.stopPropagation()},this.el=e,this.minScrollbarWidth=20,this.options=Object.assign({},t.defaultOptions,{},n),this.classNames=Object.assign({},t.defaultOptions.classNames,{},this.options.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}}},this.removePreventClickId=null,t.instances.has(this.el)||(this.recalculate=c()(this.recalculate.bind(this),64),this.onMouseMove=c()(this.onMouseMove.bind(this),64),this.hideScrollbars=l()(this.hideScrollbars.bind(this),this.options.timeout),this.onWindowResize=l()(this.onWindowResize.bind(this),64,{leading:!0}),t.getRtlHelpers=f()(t.getRtlHelpers),this.init())}t.getRtlHelpers=function(){var e=document.createElement("div");e.innerHTML='<div class="hs-dummy-scrollbar-size"><div style="height: 200%; width: 200%; margin: 10px 0;"></div></div>';var n=e.firstElementChild;document.body.appendChild(n);var r=n.firstElementChild;n.scrollLeft=0;var o=t.getOffset(n),i=t.getOffset(r);n.scrollLeft=999;var a=t.getOffset(r);return{isRtlScrollingInverted:o.left!==i.left&&i.left-a.left!=0,isRtlScrollbarInverted:o.left!==i.left}},t.getOffset=function(t){var e=t.getBoundingClientRect(),n=_(t),r=b(t);return{top:e.top+(r.pageYOffset||n.documentElement.scrollTop),left:e.left+(r.pageXOffset||n.documentElement.scrollLeft)}};var e=t.prototype;return e.init=function(){t.instances.set(this.el,this),y()&&(this.initDOM(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.initDOM=function(){var t=this;if(Array.prototype.filter.call(this.el.children,(function(e){return e.classList.contains(t.classNames.wrapper)})).length)this.wrapperEl=this.el.querySelector("."+this.classNames.wrapper),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector("."+this.classNames.contentWrapper),this.contentEl=this.options.contentNode||this.el.querySelector("."+this.classNames.contentEl),this.offsetEl=this.el.querySelector("."+this.classNames.offset),this.maskEl=this.el.querySelector("."+this.classNames.mask),this.placeholderEl=this.findChild(this.wrapperEl,"."+this.classNames.placeholder),this.heightAutoObserverWrapperEl=this.el.querySelector("."+this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl=this.el.querySelector("."+this.classNames.heightAutoObserverEl),this.axis.x.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.horizontal),this.axis.y.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.vertical);else{for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),this.wrapperEl.classList.add(this.classNames.wrapper),this.contentWrapperEl.classList.add(this.classNames.contentWrapper),this.offsetEl.classList.add(this.classNames.offset),this.maskEl.classList.add(this.classNames.mask),this.contentEl.classList.add(this.classNames.contentEl),this.placeholderEl.classList.add(this.classNames.placeholder),this.heightAutoObserverWrapperEl.classList.add(this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl.classList.add(this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl)}if(!this.axis.x.track.el||!this.axis.y.track.el){var e=document.createElement("div"),n=document.createElement("div");e.classList.add(this.classNames.track),n.classList.add(this.classNames.scrollbar),e.appendChild(n),this.axis.x.track.el=e.cloneNode(!0),this.axis.x.track.el.classList.add(this.classNames.horizontal),this.axis.y.track.el=e.cloneNode(!0),this.axis.y.track.el.classList.add(this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}this.axis.x.scrollbar.el=this.axis.x.track.el.querySelector("."+this.classNames.scrollbar),this.axis.y.scrollbar.el=this.axis.y.track.el.querySelector("."+this.classNames.scrollbar),this.options.autoHide||(this.axis.x.scrollbar.el.classList.add(this.classNames.visible),this.axis.y.scrollbar.el.classList.add(this.classNames.visible)),this.el.setAttribute("data-simplebar","init")},e.initListeners=function(){var t=this,e=b(this.el);this.options.autoHide&&this.el.addEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach((function(e){t.el.addEventListener(e,t.onPointerEvent,!0)})),["touchstart","touchend","touchmove"].forEach((function(e){t.el.addEventListener(e,t.onPointerEvent,{capture:!0,passive:!0})})),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl.addEventListener("scroll",this.onScroll),e.addEventListener("resize",this.onWindowResize);var n=!1,r=e.ResizeObserver||d.Z;this.resizeObserver=new r((function(){n&&t.recalculate()})),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),e.requestAnimationFrame((function(){n=!0})),this.mutationObserver=new e.MutationObserver(this.recalculate),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})},e.recalculate=function(){var t=b(this.el);this.elStyles=t.getComputedStyle(this.el),this.isRtl="rtl"===this.elStyles.direction;var e=this.heightAutoObserverEl.offsetHeight<=1,n=this.heightAutoObserverEl.offsetWidth<=1,r=this.contentEl.offsetWidth,o=this.contentWrapperEl.offsetWidth,i=this.elStyles.overflowX,a=this.elStyles.overflowY;this.contentEl.style.padding=this.elStyles.paddingTop+" "+this.elStyles.paddingRight+" "+this.elStyles.paddingBottom+" "+this.elStyles.paddingLeft,this.wrapperEl.style.margin="-"+this.elStyles.paddingTop+" -"+this.elStyles.paddingRight+" -"+this.elStyles.paddingBottom+" -"+this.elStyles.paddingLeft;var s=this.contentEl.scrollHeight,c=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=e?"auto":"100%",this.placeholderEl.style.width=n?r+"px":"auto",this.placeholderEl.style.height=s+"px";var u=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=c>r,this.axis.y.isOverflowing=s>u,this.axis.x.isOverflowing="hidden"!==i&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==a&&this.axis.y.isOverflowing,this.axis.x.forceVisible="x"===this.options.forceVisible||!0===this.options.forceVisible,this.axis.y.forceVisible="y"===this.options.forceVisible||!0===this.options.forceVisible,this.hideNativeScrollbar();var l=this.axis.x.isOverflowing?this.scrollbarWidth:0,p=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&c>o-p,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&s>u-l,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el.style.width=this.axis.x.scrollbar.size+"px",this.axis.y.scrollbar.el.style.height=this.axis.y.scrollbar.size+"px",this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")},e.getScrollbarSize=function(t){if(void 0===t&&(t="y"),!this.axis[t].isOverflowing)return 0;var e,n=this.contentEl[this.axis[t].scrollSizeAttr],r=this.axis[t].track.el[this.axis[t].offsetSizeAttr],o=r/n;return e=Math.max(~~(o*r),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(e=Math.min(e,this.options.scrollbarMaxSize)),e},e.positionScrollbar=function(e){if(void 0===e&&(e="y"),this.axis[e].isOverflowing){var n=this.contentWrapperEl[this.axis[e].scrollSizeAttr],r=this.axis[e].track.el[this.axis[e].offsetSizeAttr],o=parseInt(this.elStyles[this.axis[e].sizeAttr],10),i=this.axis[e].scrollbar,a=this.contentWrapperEl[this.axis[e].scrollOffsetAttr],s=(a="x"===e&&this.isRtl&&t.getRtlHelpers().isRtlScrollingInverted?-a:a)/(n-o),c=~~((r-i.size)*s);c="x"===e&&this.isRtl&&t.getRtlHelpers().isRtlScrollbarInverted?c+(r-i.size):c,i.el.style.transform="x"===e?"translate3d("+c+"px, 0, 0)":"translate3d(0, "+c+"px, 0)"}},e.toggleTrackVisibility=function(t){void 0===t&&(t="y");var e=this.axis[t].track.el,n=this.axis[t].scrollbar.el;this.axis[t].isOverflowing||this.axis[t].forceVisible?(e.style.visibility="visible",this.contentWrapperEl.style[this.axis[t].overflowAttr]="scroll"):(e.style.visibility="hidden",this.contentWrapperEl.style[this.axis[t].overflowAttr]="hidden"),this.axis[t].isOverflowing?n.style.display="block":n.style.display="none"},e.hideNativeScrollbar=function(){this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-"+this.scrollbarWidth+"px":0,this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-"+this.scrollbarWidth+"px":0},e.onMouseMoveForAxis=function(t){void 0===t&&(t="y"),this.axis[t].track.rect=this.axis[t].track.el.getBoundingClientRect(),this.axis[t].scrollbar.rect=this.axis[t].scrollbar.el.getBoundingClientRect(),this.isWithinBounds(this.axis[t].scrollbar.rect)?this.axis[t].scrollbar.el.classList.add(this.classNames.hover):this.axis[t].scrollbar.el.classList.remove(this.classNames.hover),this.isWithinBounds(this.axis[t].track.rect)?(this.showScrollbar(t),this.axis[t].track.el.classList.add(this.classNames.hover)):this.axis[t].track.el.classList.remove(this.classNames.hover)},e.onMouseLeaveForAxis=function(t){void 0===t&&(t="y"),this.axis[t].track.el.classList.remove(this.classNames.hover),this.axis[t].scrollbar.el.classList.remove(this.classNames.hover)},e.showScrollbar=function(t){void 0===t&&(t="y");var e=this.axis[t].scrollbar.el;this.axis[t].isVisible||(e.classList.add(this.classNames.visible),this.axis[t].isVisible=!0),this.options.autoHide&&this.hideScrollbars()},e.onDragStart=function(t,e){void 0===e&&(e="y");var n=_(this.el),r=b(this.el),o=this.axis[e].scrollbar,i="y"===e?t.pageY:t.pageX;this.axis[e].dragOffset=i-o.rect[this.axis[e].offsetAttr],this.draggedAxis=e,this.el.classList.add(this.classNames.dragging),n.addEventListener("mousemove",this.drag,!0),n.addEventListener("mouseup",this.onEndDrag,!0),null===this.removePreventClickId?(n.addEventListener("click",this.preventClick,!0),n.addEventListener("dblclick",this.preventClick,!0)):(r.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.onTrackClick=function(t,e){var n=this;if(void 0===e&&(e="y"),this.options.clickOnTrack){var r=b(this.el);this.axis[e].scrollbar.rect=this.axis[e].scrollbar.el.getBoundingClientRect();var o=this.axis[e].scrollbar.rect[this.axis[e].offsetAttr],i=parseInt(this.elStyles[this.axis[e].sizeAttr],10),a=this.contentWrapperEl[this.axis[e].scrollOffsetAttr],s=("y"===e?this.mouseY-o:this.mouseX-o)<0?-1:1,c=-1===s?a-i:a+i;!function t(){var o,i;-1===s?a>c&&(a-=n.options.clickOnTrackSpeed,n.contentWrapperEl.scrollTo(((o={})[n.axis[e].offsetAttr]=a,o)),r.requestAnimationFrame(t)):a<c&&(a+=n.options.clickOnTrackSpeed,n.contentWrapperEl.scrollTo(((i={})[n.axis[e].offsetAttr]=a,i)),r.requestAnimationFrame(t))}()}},e.getContentElement=function(){return this.contentEl},e.getScrollElement=function(){return this.contentWrapperEl},e.getScrollbarWidth=function(){try{return"none"===getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:v()}catch(t){return v()}},e.removeListeners=function(){var t=this,e=b(this.el);this.options.autoHide&&this.el.removeEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach((function(e){t.el.removeEventListener(e,t.onPointerEvent,!0)})),["touchstart","touchend","touchmove"].forEach((function(e){t.el.removeEventListener(e,t.onPointerEvent,{capture:!0,passive:!0})})),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.recalculate.cancel(),this.onMouseMove.cancel(),this.hideScrollbars.cancel(),this.onWindowResize.cancel()},e.unMount=function(){this.removeListeners(),t.instances.delete(this.el)},e.isWithinBounds=function(t){return this.mouseX>=t.left&&this.mouseX<=t.left+t.width&&this.mouseY>=t.top&&this.mouseY<=t.top+t.height},e.findChild=function(t,e){var n=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;return Array.prototype.filter.call(t.children,(function(t){return n.call(t,e)}))[0]},t}();w.defaultOptions={autoHide:!0,forceVisible:!1,clickOnTrack:!0,clickOnTrackSpeed:40,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging"},scrollbarMinSize:25,scrollbarMaxSize:0,timeout:1e3},w.instances=new WeakMap;const S=w;function M(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function E(){return E=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},E.apply(this,arguments)}function x(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var k=o().forwardRef((function(t,e){var n,i=t.children,a=t.scrollableNodeProps,s=void 0===a?{}:a,c=function(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(t,["children","scrollableNodeProps"]),u=(0,r.useRef)(),l=(0,r.useRef)(),p=(0,r.useRef)(),f={},d={},h=[];return Object.keys(c).forEach((function(t){Object.prototype.hasOwnProperty.call(S.defaultOptions,t)?f[t]=c[t]:t.match(/data-simplebar-(.+)/)&&"data-simplebar-direction"!==t?h.push({name:t,value:c[t]}):d[t]=c[t]})),h.length&&console.warn("simplebar-react: this way of passing options is deprecated. Pass it like normal props instead:\n 'data-simplebar-auto-hide=\"false\"' —> 'autoHide=\"false\"'\n "),(0,r.useEffect)((function(){var t;return u=s.ref||u,l.current&&(n=new S(l.current,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?x(n,!0).forEach((function(e){M(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):x(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},(t=h,Array.prototype.reduce.call(t,(function(t,e){var n=e.name.match(/data-simplebar-(.+)/);if(n){var r=n[1].replace(/\W+(.)/g,(function(t,e){return e.toUpperCase()}));switch(e.value){case"true":t[r]=!0;break;case"false":t[r]=!1;break;case void 0:t[r]=!0;break;default:t[r]=e.value}}return t}),{})),{},f,{},u&&{scrollableNode:u.current},{},p.current&&{contentNode:p.current})),e&&(e.current=n)),function(){n.unMount(),n=null}}),[]),o().createElement("div",E({ref:l,"data-simplebar":!0},d),o().createElement("div",{className:"simplebar-wrapper"},o().createElement("div",{className:"simplebar-height-auto-observer-wrapper"},o().createElement("div",{className:"simplebar-height-auto-observer"})),o().createElement("div",{className:"simplebar-mask"},o().createElement("div",{className:"simplebar-offset"},"function"==typeof i?i({scrollableNodeRef:u,contentNodeRef:p}):o().createElement("div",E({},s,{className:"simplebar-content-wrapper".concat(s.className?" ".concat(s.className):"")}),o().createElement("div",{className:"simplebar-content"},i)))),o().createElement("div",{className:"simplebar-placeholder"})),o().createElement("div",{className:"simplebar-track simplebar-horizontal"},o().createElement("div",{className:"simplebar-scrollbar"})),o().createElement("div",{className:"simplebar-track simplebar-vertical"},o().createElement("div",{className:"simplebar-scrollbar"})))}));k.displayName="SimpleBar",k.propTypes={children:a().oneOfType([a().node,a().func]),scrollableNodeProps:a().object};const C=k},52423:function(t,e,n){var r;!function(o,i){"use strict";var a="function",s="undefined",c="object",u="string",l="model",p="name",f="type",d="vendor",h="version",y="architecture",g="console",m="mobile",v="tablet",b="smarttv",_="wearable",w="embedded",S="Amazon",M="Apple",E="ASUS",x="BlackBerry",k="Google",C="Huawei",j="LG",D="Microsoft",O="Motorola",I="Samsung",L="Sony",N="Xiaomi",A="Zebra",T="Facebook",z=function(t){for(var e={},n=0;n<t.length;n++)e[t[n].toUpperCase()]=t[n];return e},R=function(t,e){return typeof t===u&&-1!==P(e).indexOf(P(t))},P=function(t){return t.toLowerCase()},B=function(t,e){if(typeof t===u)return t=t.replace(/^\s\s*/,"").replace(/\s\s*$/,""),typeof e===s?t:t.substring(0,255)},F=function(t,e){for(var n,r,o,s,u,l,p=0;p<e.length&&!u;){var f=e[p],d=e[p+1];for(n=r=0;n<f.length&&!u;)if(u=f[n++].exec(t))for(o=0;o<d.length;o++)l=u[++r],typeof(s=d[o])===c&&s.length>0?2===s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,l):this[s[0]]=s[1]:3===s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=l?l.replace(s[1],s[2]):i:this[s[0]]=l?s[1].call(this,l,s[2]):i:4===s.length&&(this[s[0]]=l?s[3].call(this,l.replace(s[1],s[2])):i):this[s]=l||i;p+=2}},U=function(t,e){for(var n in e)if(typeof e[n]===c&&e[n].length>0){for(var r=0;r<e[n].length;r++)if(R(e[n][r],t))return"?"===n?i:n}else if(R(e[n],t))return"?"===n?i:n;return t},K={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},H={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[h,[p,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[h,[p,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[p,h],[/opios[\/ ]+([\w\.]+)/i],[h,[p,"Opera Mini"]],[/\bopr\/([\w\.]+)/i],[h,[p,"Opera"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[p,h],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[h,[p,"UCBrowser"]],[/\bqbcore\/([\w\.]+)/i],[h,[p,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[h,[p,"WeChat"]],[/konqueror\/([\w\.]+)/i],[h,[p,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[h,[p,"IE"]],[/yabrowser\/([\w\.]+)/i],[h,[p,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[p,/(.+)/,"$1 Secure Browser"],h],[/\bfocus\/([\w\.]+)/i],[h,[p,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[h,[p,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[h,[p,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[h,[p,"Dolphin"]],[/coast\/([\w\.]+)/i],[h,[p,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[h,[p,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[h,[p,"Firefox"]],[/\bqihu|(qi?ho?o?|360)browser/i],[[p,"360 Browser"]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[p,/(.+)/,"$1 Browser"],h],[/(comodo_dragon)\/([\w\.]+)/i],[[p,/_/g," "],h],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[p,h],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i],[p],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[p,T],h],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[p,h],[/\bgsa\/([\w\.]+) .*safari\//i],[h,[p,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[h,[p,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[p,"Chrome WebView"],h],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[h,[p,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[p,h],[/version\/([\w\.]+) .*mobile\/\w+ (safari)/i],[h,[p,"Mobile Safari"]],[/version\/([\w\.]+) .*(mobile ?safari|safari)/i],[h,p],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[p,[h,U,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[p,h],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[p,"Netscape"],h],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[h,[p,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[p,h]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[y,"amd64"]],[/(ia32(?=;))/i],[[y,P]],[/((?:i[346]|x)86)[;\)]/i],[[y,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[y,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[y,"armhf"]],[/windows (ce|mobile); ppc;/i],[[y,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[y,/ower/,"",P]],[/(sun4\w)[;\)]/i],[[y,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[y,P]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[pt]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[l,[d,I],[f,v]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[l,[d,I],[f,m]],[/\((ip(?:hone|od)[\w ]*);/i],[l,[d,M],[f,m]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[l,[d,M],[f,v]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[l,[d,C],[f,v]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}-[atu]?[ln][01259x][012359][an]?)\b(?!.+d\/s)/i],[l,[d,C],[f,m]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[l,/_/g," "],[d,N],[f,m]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[l,/_/g," "],[d,N],[f,v]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[l,[d,"OPPO"],[f,m]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[l,[d,"Vivo"],[f,m]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[l,[d,"Realme"],[f,m]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[l,[d,O],[f,m]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[l,[d,O],[f,v]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[l,[d,j],[f,v]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[l,[d,j],[f,m]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[l,[d,"Lenovo"],[f,v]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[l,/_/g," "],[d,"Nokia"],[f,m]],[/(pixel c)\b/i],[l,[d,k],[f,v]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[l,[d,k],[f,m]],[/droid.+ ([c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[l,[d,L],[f,m]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[l,"Xperia Tablet"],[d,L],[f,v]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[l,[d,"OnePlus"],[f,m]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[l,[d,S],[f,v]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[l,/(.+)/g,"Fire Phone $1"],[d,S],[f,m]],[/(playbook);[-\w\),; ]+(rim)/i],[l,d,[f,v]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[l,[d,x],[f,m]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[l,[d,E],[f,v]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[l,[d,E],[f,m]],[/(nexus 9)/i],[l,[d,"HTC"],[f,v]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony)[-_ ]?([-\w]*)/i],[d,[l,/_/g," "],[f,m]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[l,[d,"Acer"],[f,v]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[l,[d,"Meizu"],[f,m]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[l,[d,"Sharp"],[f,m]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[d,l,[f,m]],[/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[d,l,[f,v]],[/(surface duo)/i],[l,[d,D],[f,v]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[l,[d,"Fairphone"],[f,m]],[/(u304aa)/i],[l,[d,"AT&T"],[f,m]],[/\bsie-(\w*)/i],[l,[d,"Siemens"],[f,m]],[/\b(rct\w+) b/i],[l,[d,"RCA"],[f,v]],[/\b(venue[\d ]{2,7}) b/i],[l,[d,"Dell"],[f,v]],[/\b(q(?:mv|ta)\w+) b/i],[l,[d,"Verizon"],[f,v]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[l,[d,"Barnes & Noble"],[f,v]],[/\b(tm\d{3}\w+) b/i],[l,[d,"NuVision"],[f,v]],[/\b(k88) b/i],[l,[d,"ZTE"],[f,v]],[/\b(nx\d{3}j) b/i],[l,[d,"ZTE"],[f,m]],[/\b(gen\d{3}) b.+49h/i],[l,[d,"Swiss"],[f,m]],[/\b(zur\d{3}) b/i],[l,[d,"Swiss"],[f,v]],[/\b((zeki)?tb.*\b) b/i],[l,[d,"Zeki"],[f,v]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[d,"Dragon Touch"],l,[f,v]],[/\b(ns-?\w{0,9}) b/i],[l,[d,"Insignia"],[f,v]],[/\b((nxa|next)-?\w{0,9}) b/i],[l,[d,"NextBook"],[f,v]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[d,"Voice"],l,[f,m]],[/\b(lvtel\-)?(v1[12]) b/i],[[d,"LvTel"],l,[f,m]],[/\b(ph-1) /i],[l,[d,"Essential"],[f,m]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[l,[d,"Envizen"],[f,v]],[/\b(trio[-\w\. ]+) b/i],[l,[d,"MachSpeed"],[f,v]],[/\btu_(1491) b/i],[l,[d,"Rotor"],[f,v]],[/(shield[\w ]+) b/i],[l,[d,"Nvidia"],[f,v]],[/(sprint) (\w+)/i],[d,l,[f,m]],[/(kin\.[onetw]{3})/i],[[l,/\./g," "],[d,D],[f,m]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[l,[d,A],[f,v]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[l,[d,A],[f,m]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,l,[f,g]],[/droid.+; (shield) bui/i],[l,[d,"Nvidia"],[f,g]],[/(playstation [345portablevi]+)/i],[l,[d,L],[f,g]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[l,[d,D],[f,g]],[/smart-tv.+(samsung)/i],[d,[f,b]],[/hbbtv.+maple;(\d+)/i],[[l,/^/,"SmartTV"],[d,I],[f,b]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[d,j],[f,b]],[/(apple) ?tv/i],[d,[l,"Apple TV"],[f,b]],[/crkey/i],[[l,"Chromecast"],[d,k],[f,b]],[/droid.+aft(\w)( bui|\))/i],[l,[d,S],[f,b]],[/\(dtv[\);].+(aquos)/i],[l,[d,"Sharp"],[f,b]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[d,B],[l,B],[f,b]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[f,b]],[/((pebble))app/i],[d,l,[f,_]],[/droid.+; (glass) \d/i],[l,[d,k],[f,_]],[/droid.+; (wt63?0{2,3})\)/i],[l,[d,A],[f,_]],[/(quest( 2)?)/i],[l,[d,T],[f,_]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[f,w]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[l,[f,m]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[l,[f,v]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[f,v]],[/(phone|mobile(?:[;\/]| safari)|pda(?=.+windows ce))/i],[[f,m]],[/(android[-\w\. ]{0,9});.+buil/i],[l,[d,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[h,[p,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[h,[p,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i],[p,h],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[h,p]],os:[[/microsoft (windows) (vista|xp)/i],[p,h],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[p,[h,U,K]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[p,"Windows"],[h,U,K]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[h,/_/g,"."],[p,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[p,"Mac OS"],[h,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[h,p],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[p,h],[/\(bb(10);/i],[h,[p,x]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[h,[p,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[h,[p,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[h,[p,"webOS"]],[/crkey\/([\d\.]+)/i],[h,[p,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[p,"Chromium OS"],h],[/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[p,h],[/(sunos) ?([\w\.\d]*)/i],[[p,"Solaris"],h],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[p,h]]},q=function(t,e){if(typeof t===c&&(e=t,t=i),!(this instanceof q))return new q(t,e).getResult();var n=t||(typeof o!==s&&o.navigator&&o.navigator.userAgent?o.navigator.userAgent:""),r=e?function(t,e){var n={};for(var r in t)e[r]&&e[r].length%2==0?n[r]=e[r].concat(t[r]):n[r]=t[r];return n}(H,e):H;return this.getBrowser=function(){var t,e={};return e.name=i,e.version=i,F.call(e,n,r.browser),e.major=typeof(t=e.version)===u?t.replace(/[^\d\.]/g,"").split(".")[0]:i,e},this.getCPU=function(){var t={};return t.architecture=i,F.call(t,n,r.cpu),t},this.getDevice=function(){var t={};return t.vendor=i,t.model=i,t.type=i,F.call(t,n,r.device),t},this.getEngine=function(){var t={};return t.name=i,t.version=i,F.call(t,n,r.engine),t},this.getOS=function(){var t={};return t.name=i,t.version=i,F.call(t,n,r.os),t},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return n},this.setUA=function(t){return n=typeof t===u&&t.length>255?B(t,255):t,this},this.setUA(n),this};q.VERSION="0.7.31",q.BROWSER=z([p,h,"major"]),q.CPU=z([y]),q.DEVICE=z([l,d,f,g,m,b,v,_,w]),q.ENGINE=q.OS=z([p,h]),typeof e!==s?(t.exports&&(e=t.exports=q),e.UAParser=q):n.amdO?(r=function(){return q}.call(e,n,e,t))===i||(t.exports=r):typeof o!==s&&(o.UAParser=q);var Y=typeof o!==s&&(o.jQuery||o.Zepto);if(Y&&!Y.ua){var W=new q;Y.ua=W.getResult(),Y.ua.get=function(){return W.getUA()},Y.ua.set=function(t){W.setUA(t);var e=W.getResult();for(var n in e)Y.ua[n]=e[n]}}}("object"==typeof window?window:this)},37017:(t,e,n)=>{"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}n.d(e,{Z:()=>r})},66017:(t,e,n)=>{"use strict";function r(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}n.d(e,{Z:()=>r})},21930:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});var r=n(37017),o=n(49139);function i(t){return function(t){if(Array.isArray(t))return(0,r.Z)(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||(0,o.Z)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},36655:(t,e,n)=>{"use strict";function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}n.d(e,{Z:()=>r})},49139:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(37017);function o(t,e){if(t){if("string"==typeof t)return(0,r.Z)(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(t,e):void 0}}}}]);
|
|
1
|
+
/*! For license information please see 7919-a37ff2522a-lite.chunk.js.LICENSE.txt */
|
|
2
|
+
(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[7919],{84891:(t,e,n)=>{"use strict";n.d(e,{h4:()=>dt,cn:()=>B});var r=n(56784),o=n.n(r),i=n(1024),a=n.n(i),s=n(74161),c=n.n(s),u=n(6880),l=n(21930);function p(t,e,n,r,o,i){var a=r-n;return e+n<=t.offset?Object.assign({},t,{offset:t.offset+a}):e>=t.offset&&e+n<=t.offset+t.length?Object.assign({},t,{length:t.length+a}):t.offset>=e&&t.offset+t.length<=e+n&&o>0?Object.assign({},t,{offset:t.offset+o}):t.offset<e&&t.offset+t.length<=e+n&&t.offset+t.length>e&&o>0?[Object.assign({},t,{length:e-t.offset}),Object.assign({},t,{offset:e+o,length:t.offset-e+t.length})]:t.offset>=e&&t.offset+t.length>e+n&&e+n>t.offset&&i>0?[Object.assign({},t,{offset:t.offset+o,length:e+n-t.offset}),Object.assign({},t,{offset:e+n+o+i,length:t.offset+t.length-(e+n)})]:t}const f=function(t,e){return t.offset===e.offset?e.length-t.length:t.offset-e.offset};var d={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","\n":"<br/>"},h=n(36655),y=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function g(t){if(-1!==y.indexOf(t.type))return c().renderToStaticMarkup(t);var e=c().renderToStaticMarkup(a().cloneElement(t,{},"\r")).split("\r");return o()(e.length>1,"convertToHTML: Element of type ".concat(t.type," must render children")),o()(e.length<3,"convertToHTML: Element of type ".concat(t.type," cannot use carriage return character")),{start:e[0],end:e[1]}}function m(t){return a().isValidElement(t)&&a().Children.count(t.props.children)>0}function v(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(null==t)return t;if("string"==typeof t)return t;if(a().isValidElement(t)){if(m(t))return c().renderToStaticMarkup(t);var n=g(t);if(null!==e&&"object"===(0,h.Z)(n)){var r=n.start,i=n.end;return r+e+i}return n}if(o()(Object.prototype.hasOwnProperty.call(t,"start")&&Object.prototype.hasOwnProperty.call(t,"end"),"convertToHTML: received conversion data without either an HTML string, ReactElement or an object with start/end tags"),null!==e){var s=t.start,u=t.end;return s+e+u}return t}const b=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"start";if(a().isValidElement(e)){var r=g(e);if("string"==typeof r)return 0;var o=r[n].length,i=a().Children.toArray(e.props.children)[0];return o+(i&&a().isValidElement(i)?t(i,n):0)}return"object"===(0,h.Z)(e)&&e[n]?e[n].length:0};var _=function(){var t=arguments.length>1?arguments[1]:void 0;return t};const w=function(t){return function(e){return"function"==typeof t?t(e):t[e]}},S=function(t,e){return function(){var n=t.apply(void 0,arguments);return null!=n?n:e.apply(void 0,arguments)}};function M(t){switch(t){case"BOLD":return a().createElement("strong",null);case"ITALIC":return a().createElement("em",null);case"UNDERLINE":return a().createElement("u",null);case"CODE":return a().createElement("code",null);default:return{start:"",end:""}}}var E=function(t,e){return t.filter((function(t){return!e.some((function(e){return e.style===t.style}))}))},x=function(t,e){return e.reduceRight((function(t,e){var n=t[t.length-1];return o()(n.style===e.style,"Style ".concat(n.style," to be removed doesn't match expected ").concat(e.style)),t.slice(0,-1)}),t)},k=function(t,e){return e.filter((function(e){return t>=e.offset&&t<e.offset+e.length}))},C=function(t,e){var n=t.offset<=e.offset,r=t.offset+t.length>=e.offset+e.length;return n&&r},j=function(t,e){return e.offset+e.length-(t.offset+t.length)},D=function(t,e){for(var n=0;n<t.length;){if(!e.every(C.bind(null,t[n])))return t.slice(n);n++}return[]},O=function(t,e,n){return e+v(t(n.style)).start},I=function(t,e,n){return v(t(n.style)).end+e},L=function(t){return function(e){return t(e)}};L.__isMiddleware=!0;const N=function(t){return function(e){return"function"==typeof t?t(e):t[e.type]}};function A(t,e){if(o()(null!=t,"Expected block HTML value to be non-null"),"function"==typeof t.nest){var n=g(t.nest(e)),r=n.start,i=n.end;return Object.assign({},t,{nestStart:r,nestEnd:i})}if(a().isValidElement(t.nest)){var s=g(t.nest),c=s.start,u=s.end;return Object.assign({},t,{nestStart:c,nestEnd:u})}return o()(Object.prototype.hasOwnProperty.call(t,"nestStart")&&Object.prototype.hasOwnProperty.call(t,"nestEnd"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),t}var T=["1","a","i"];const z={unstyled:a().createElement("p",null),paragraph:a().createElement("p",null),"header-one":a().createElement("h1",null),"header-two":a().createElement("h2",null),"header-three":a().createElement("h3",null),"header-four":a().createElement("h4",null),"header-five":a().createElement("h5",null),"header-six":a().createElement("h6",null),blockquote:a().createElement("blockquote",null),"unordered-list-item":{element:a().createElement("li",null),nest:a().createElement("ul",null)},"ordered-list-item":{element:a().createElement("li",null),nest:function(t){var e=T[t%3];return a().createElement("ol",{type:e})}},media:a().createElement("figure",null),atomic:a().createElement("figure",null)};var R=function(t,e){return e},P=function(t){var e=t.styleToHTML,n=void 0===e?{}:e,r=t.blockToHTML,i=void 0===r?{}:r,s=t.entityToHTML,h=void 0===s?R:s;return function(t){var e;o()(null!=t,"Expected contentState to be non-null"),e=!0===i.__isMiddleware?i(N(z)):S(N(i),N(z));var r=(0,u.convertToRaw)(t),s=[],y=r.blocks.map((function(t){var i=t.type,u=t.depth,y="",m="",C=e(t);if(!C)throw new Error("convertToHTML: missing HTML definition for block with type ".concat(t.type));if(C.nest)for(;u+1!==s.length||i!==s[u].type;)if(u+1===s.length){var N=s[u];y+=A(e(N),u).nestEnd,m+=A(e(t),u).nestStart,s[u]=t}else if(u+1<s.length){var T=s[s.length-1];y+=A(e(T),u).nestEnd,s=s.slice(0,-1)}else m+=A(e(t),u).nestStart,s.push(t);else y=s.reduceRight((function(t,n){return t+A(e(n),u).nestEnd}),""),s=[];var z,R=function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:L;o()(null!=t,"Expected raw block to be non-null"),e=!0===n.__isMiddleware?n(M):S(w(n),w(M));for(var r="",i=[],a=t.inlineStyleRanges.sort(f),s=(0,l.Z)(t.text),c=0;c<s.length;c++){var u=k(c,a),p=E(i,u),d=E(u,i),h=E(i,p),y=D(h,d),g=y.concat(d).sort(j),m=g.reduce(O.bind(null,e),"");r+=p.concat(y).reduce(I.bind(null,e),"")+m+s[c],i=(i=x(i,y.concat(p))).concat(g),o()(i.length===u.length,"Character ".concat(c,": ").concat(i.length-u.length," styles left on stack that should no longer be there"))}return i.reduceRight((function(t,n){return t+v(e(n.style)).end}),r)}(function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:_,r=(0,l.Z)(t.text),o=n;if(n.__isMiddleware&&(o=n(_)),Object.prototype.hasOwnProperty.call(t,"entityRanges")&&t.entityRanges.length>0){for(var i=t.entityRanges.sort(f),a=t.inlineStyleRanges,s=function(t){var n,s=i[t],c=e[s.key],u=r.slice(s.offset,s.offset+s.length).join(""),f=o(c,u),d=v(f,u);n=d||""===d?(0,l.Z)(d):u;var h=b(f,"start"),y=b(f,"end"),g=function(e){return e.reduce((function(e,r,o){var i=function(e,r){return r>t||Object.prototype.hasOwnProperty.call(e,"style")?p(e,s.offset,s.length,n.length,h,y):e}(r,o);return Array.isArray(i)?e.concat(i):e.concat([i])}),[])};i=g(i),a=g(a),r=[].concat((0,l.Z)(r.slice(0,s.offset)),(0,l.Z)(n),(0,l.Z)(r.slice(s.offset+s.length)))},c=0;c<i.length;c++)s(c);return Object.assign({},t,{text:r.join(""),inlineStyleRanges:a,entityRanges:i})}return t}(function(t){for(var e=(0,l.Z)(t.text),n=t.entityRanges.sort(f),r=t.inlineStyleRanges.sort(f),o="",i=function(t){var i=e[t];if(void 0!==d[i]){var a=d[i],s=(0,l.Z)(o).length;o+=a;var c=function(t){return p(t,s,i.length,a.length,0,0)};n=n.map(c),r=r.map(c)}else o+=i},a=0;a<e.length;a++)i(a);return Object.assign({},t,{text:o,inlineStyleRanges:r,entityRanges:n})}(t),r.entityMap,h),n),P=function(t){return o()(null!=t,"Expected block HTML value to be non-null"),"string"==typeof t?t:a().isValidElement(t)?(e=t,a().isValidElement(e)&&a().Children.count(e.props.children)>0?c().renderToStaticMarkup(t):g(t)):Object.prototype.hasOwnProperty.call(t,"element")&&a().isValidElement(t.element)?Object.assign({},t,g(t.element)):(o()(Object.prototype.hasOwnProperty.call(t,"start")&&Object.prototype.hasOwnProperty.call(t,"end"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),t);var e}(e(t));return z="string"==typeof P?P:P.start+R+P.end,0===R.length&&Object.prototype.hasOwnProperty.call(P,"empty")&&(z=a().isValidElement(P.empty)?c().renderToStaticMarkup(P.empty):P.empty),y+m+z})).join("");return s.reduce((function(t,n){return t+A(e(n),n.depth).nestEnd}),y)}};const B=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return 1===e.length&&Object.prototype.hasOwnProperty.call(e[0],"_map")&&null!=e[0].getBlockMap?P({}).apply(void 0,e):P.apply(void 0,e)};var F=n(20429),U=function(t){var e=document.implementation.createHTMLDocument("");return e.documentElement.innerHTML=t,e};function K(t){var e;return"undefined"!=typeof DOMParser&&null!==(e=(new DOMParser).parseFromString(t,"text/html"))&&null!==e.body||(e=U(t)),e.body}var H=" ",q=new RegExp("\r","g"),Y=new RegExp("\n","g"),W=new RegExp(" ","g"),Q=new RegExp("\r","g"),Z=["p","h1","h2","h3","h4","h5","h6","li","blockquote","pre"],V={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},G=function(t,e){return t&&!0===t.__isMiddleware?t(e):t},J=function(t,e,n){},X=function(t,e,n){return n},$=function(t,e){},tt=function(t){return[]},et=function(t){if(null!=t)return t;throw new Error("Got unexpected null or undefined")};function nt(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:(0,F.Map)();return!0===n?{text:"\r",inlines:[(0,F.OrderedSet)()],entities:new Array(1),blocks:[{type:t,data:r,depth:Math.max(0,Math.min(4,e))}],isNewline:!0}:{text:"\n",inlines:[(0,F.OrderedSet)()],entities:new Array(1),blocks:[]}}function rt(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,F.Map)();return{text:"\r",inlines:[(0,F.OrderedSet)()],entities:new Array(1),blocks:[{type:t,data:n,depth:Math.max(0,Math.min(4,e))}]}}function ot(t,e){switch(t){case"h1":return"header-one";case"h2":return"header-two";case"h3":return"header-three";case"h4":return"header-four";case"h5":return"header-five";case"h6":return"header-six";case"li":return"ol"===e?"ordered-list-item":"unordered-list-item";case"blockquote":return"blockquote";case"pre":return"code-block";case"div":case"p":return"unstyled";default:return null}}function it(t,e,n){return ot(t,n)}function at(t,e,n){var r=V[t];if(r)n=n.add(r).toOrderedSet();else if(e instanceof HTMLElement){var o=e;n=n.withMutations((function(t){"bold"===o.style.fontWeight&&t.add("BOLD"),"italic"===o.style.fontStyle&&t.add("ITALIC"),"underline"===o.style.textDecoration&&t.add("UNDERLINE"),"line-through"===o.style.textDecoration&&t.add("STRIKETHROUGH")})).toOrderedSet()}return n}function st(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,F.OrderedSet)();return at(t,e,n)}function ct(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e.text.slice(0,1),o=t.text.slice(-1),i="\r"===o&&"\r"===r,a="\r"!==t.text&&"\r"!==e.text,s="\r"===t.text&&!t.isNewline&&e.isNewline;if(i&&(a||s)&&(t.text=t.text.slice(0,-1),t.inlines.pop(),t.entities.pop(),t.blocks.pop()),"\r"===t.text.slice(-1)&&!0===n){if(e.text===H||"\n"===e.text)return t;r!==H&&"\n"!==r||(e.text=e.text.slice(1),e.inlines.shift(),e.entities.shift())}var c=0===t.text.length&&e.isNewline;return{text:t.text+e.text,inlines:t.inlines.concat(e.inlines),entities:t.entities.concat(e.entities),blocks:t.blocks.concat(e.blocks),isNewline:c}}function ut(t,e,n,r,o,i,a,s,c,u,l,p,d,h,y,g){var m=t.nodeName.toLowerCase(),v=!1,b="unstyled";if("#text"===m){var _=t.textContent;if(""===_.trim()&&null===r)return{text:"",inlines:[],entities:[],blocks:[]};if(""===_.trim()&&"code-block"!==r)return function(t){var e=new Array(1);return t&&(e[0]=t),{text:H,inlines:[(0,F.OrderedSet)()],entities:e,blocks:[]}}(g);"code-block"!==r&&(_=_.replace(Y,H));var w=Array(_.length).fill(g),S=0;return c(_,l,p,d,h).sort(f).forEach((function(t){var e=t.entity,n=t.offset,r=t.length,o=t.result,i=n+S;null==o&&(o=_.substr(i,r));var a=_.split("");a.splice.bind(a,i,r).apply(a,o.split("")),_=a.join(""),w.splice.bind(w,i,r).apply(w,Array(o.length).fill(e)),S+=o.length-r})),{text:_,inlines:Array(_.length).fill(e),entities:w,blocks:[]}}if("br"===m){var M=r;return null===M?nt("unstyled",i,!0):nt(M||"unstyled",i,y.flat)}var E={text:"",inlines:[],entities:[],blocks:[]};e=a(m,t,e=at(m,t,e)),"ul"!==m&&"ol"!==m||(n&&(i+=1),n=m,r=null);var x,k,C=u(m,t,n,r);if(!1===C)return{text:"",inlines:[],entities:[],blocks:[]};if("string"==typeof(C=C||{})?(x=C,k=(0,F.Map)()):(x="string"==typeof C?C:C.type,k=C.data?(0,F.Map)(C.data):(0,F.Map)()),r||-1===o.indexOf(m)&&!x)if(!n||"ordered-list-item"!==r&&"unordered-list-item"!==r||"li"!==m)r&&"atomic"!==r&&"atomic"===x&&(r=x,v=!0,E=nt(x,i,!0,k));else{var j=ot(m,n);E=rt(j,i),r=j,v=!0,b="ul"===n?"unordered-list-item":"ordered-list-item"}else E=rt(x||ot(m,n),i,k),r=x||ot(m,n),v=!0;var D=t.firstChild;null!=D||!g||"atomic"!==x&&"atomic"!==r||(D=document.createTextNode("a")),null!=D&&(m=D.nodeName.toLowerCase());for(var O=null;D;){O=s(m,D,l,p,d,h),E=ct(E,ut(D,e,n,r,o,i,a,s,c,u,l,p,d,h,y,O||g),y.flat);var I=D.nextSibling;if(I&&o.indexOf(m)>=0&&r){var L=u(m,D,n,r),N=void 0,A=void 0;!1!==L&&("string"==typeof(L=L||{})?(N=L,A=(0,F.Map)()):(N=L.type||ot(m,n),A=L.data?(0,F.Map)(L.data):(0,F.Map)()),E=ct(E,nt(N,i,y.flat,A),y.flat))}I&&(m=I.nodeName.toLowerCase()),D=I}return v&&(E=ct(E,rt(b,i,(0,F.Map)()),y.flat)),E}function lt(t,e,n,r,o,i,a,s,c,u,l){var p=l(t=t.trim().replace(q,"").replace(W,H));if(!p)return null;var f=function(t){return Z.some((function(e){return-1!==t.indexOf("<".concat(e))}))}(t)?Z.concat(["div"]):["div"],d=ut(p,(0,F.OrderedSet)(),"ul",null,f,-1,e,n,r,o,i,a,s,c,u);return 0===d.text.indexOf("\r")&&(d={text:d.text.slice(1),inlines:d.inlines.slice(1),entities:d.entities.slice(1),blocks:d.blocks}),"\r"===d.text.slice(-1)&&(d.text=d.text.slice(0,-1),d.inlines=d.inlines.slice(0,-1),d.entities=d.entities.slice(0,-1),d.blocks.pop()),0===d.blocks.length&&d.blocks.push({type:"unstyled",data:(0,F.Map)(),depth:0}),d.text.split("\r").length===d.blocks.length+1&&d.blocks.unshift({type:"unstyled",data:(0,F.Map)(),depth:0}),d}function pt(t,e,n,r,o,i,a,s,c,l,p,f){var d=lt(t,e,n,r,o,i,a,s,c,l,p);if(null==d)return[];var h=0;return d.text.split("\r").map((function(t,e){t=t.replace(Q,"");var n=h+t.length,r=et(d).inlines.slice(h,n),o=et(d).entities.slice(h,n),i=(0,F.List)(r.map((function(t,e){var n={style:t,entity:null};return o[e]&&(n.entity=o[e]),u.CharacterMetadata.create(n)})));return h=n+1,new u.ContentBlock({key:f(),type:et(d).blocks[e].type,data:et(d).blocks[e].data,depth:et(d).blocks[e].depth,text:t,characterList:i})}))}var ft=function(t){var e=t.htmlToStyle,n=void 0===e?X:e,r=t.htmlToEntity,o=void 0===r?$:r,i=t.textToEntity,a=void 0===i?tt:i,s=t.htmlToBlock,c=void 0===s?J:s;return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{flat:!1},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:K,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:u.genKey,s=u.ContentState.createFromText(""),l=function(){var t;return s.createEntity?(s=(t=s).createEntity.apply(t,arguments)).getLastCreatedEntityKey():u.Entity.create.apply(u.Entity,arguments)},p=function(){var t;return s.getEntity?(t=s).getEntity.apply(t,arguments):u.Entity.get.apply(u.Entity,arguments)},f=function(){var t;s.mergeEntityData?s=(t=s).mergeEntityData.apply(t,arguments):u.Entity.mergeData.apply(u.Entity,arguments)},d=function(){var t;s.replaceEntityData?s=(t=s).replaceEntityData.apply(t,arguments):u.Entity.replaceData.apply(u.Entity,arguments)},h=pt(t,G(n,st),G(o,$),G(a,tt),G(c,it),l,p,f,d,e,r,i),y=u.BlockMapBuilder.createFromArray(h),g=h[0].getKey();return s.merge({blockMap:y,selectionBefore:u.SelectionState.createEmpty(g),selectionAfter:u.SelectionState.createEmpty(g)})}};const dt=function(){return arguments.length>=1&&"string"==typeof(arguments.length<=0?void 0:arguments[0])?ft({}).apply(void 0,arguments):ft.apply(void 0,arguments)}},20429:function(t){t.exports=function(){"use strict";var t=Array.prototype.slice;function e(t,e){e&&(t.prototype=Object.create(e.prototype)),t.prototype.constructor=t}function n(t){return a(t)?t:K(t)}function r(t){return s(t)?t:H(t)}function o(t){return c(t)?t:q(t)}function i(t){return a(t)&&!u(t)?t:Y(t)}function a(t){return!(!t||!t[p])}function s(t){return!(!t||!t[f])}function c(t){return!(!t||!t[d])}function u(t){return s(t)||c(t)}function l(t){return!(!t||!t[h])}e(r,n),e(o,n),e(i,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=c,n.isAssociative=u,n.isOrdered=l,n.Keyed=r,n.Indexed=o,n.Set=i;var p="@@__IMMUTABLE_ITERABLE__@@",f="@@__IMMUTABLE_KEYED__@@",d="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",y=32,g=31,m={},v={value:!1},b={value:!1};function _(t){return t.value=!1,t}function w(t){t&&(t.value=!0)}function S(){}function M(t,e){e=e||0;for(var n=Math.max(0,t.length-e),r=new Array(n),o=0;o<n;o++)r[o]=t[o+e];return r}function E(t){return void 0===t.size&&(t.size=t.__iterate(k)),t.size}function x(t,e){if("number"!=typeof e){var n=e>>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?E(t)+e:e}function k(){return!0}function C(t,e,n){return(0===t||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function j(t,e){return O(t,e,0)}function D(t,e){return O(t,e,e)}function O(t,e,n){return void 0===t?n:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}var I="function"==typeof Symbol&&Symbol.iterator,L="@@iterator",N=I||L;function A(t){this.next=t}function T(t,e,n,r){var o=0===t?e:1===t?n:[e,n];return r?r.value=o:r={value:o,done:!1},r}function z(){return{value:void 0,done:!0}}function R(t){return!!F(t)}function P(t){return t&&"function"==typeof t.next}function B(t){var e=F(t);return e&&e.call(t)}function F(t){var e=t&&(I&&t[I]||t["@@iterator"]);if("function"==typeof e)return e}function U(t){return t&&"number"==typeof t.length}function K(t){return null==t?et():a(t)?t.toSeq():function(t){var e=ot(t)||"object"==typeof t&&new J(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}(t)}function H(t){return null==t?et().toKeyedSeq():a(t)?s(t)?t.toSeq():t.fromEntrySeq():nt(t)}function q(t){return null==t?et():a(t)?s(t)?t.entrySeq():t.toIndexedSeq():rt(t)}function Y(t){return(null==t?et():a(t)?s(t)?t.entrySeq():t:rt(t)).toSetSeq()}A.prototype.toString=function(){return"[Iterator]"},A.KEYS=0,A.VALUES=1,A.ENTRIES=2,A.prototype.inspect=A.prototype.toSource=function(){return this.toString()},A.prototype[N]=function(){return this},e(K,n),K.of=function(){return K(arguments)},K.prototype.toSeq=function(){return this},K.prototype.toString=function(){return this.__toString("Seq {","}")},K.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},K.prototype.__iterate=function(t,e){return it(this,t,e,!0)},K.prototype.__iterator=function(t,e){return at(this,t,e,!0)},e(H,K),H.prototype.toKeyedSeq=function(){return this},e(q,K),q.of=function(){return q(arguments)},q.prototype.toIndexedSeq=function(){return this},q.prototype.toString=function(){return this.__toString("Seq [","]")},q.prototype.__iterate=function(t,e){return it(this,t,e,!1)},q.prototype.__iterator=function(t,e){return at(this,t,e,!1)},e(Y,K),Y.of=function(){return Y(arguments)},Y.prototype.toSetSeq=function(){return this},K.isSeq=tt,K.Keyed=H,K.Set=Y,K.Indexed=q;var W,Q,Z,V="@@__IMMUTABLE_SEQ__@@";function G(t){this._array=t,this.size=t.length}function J(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function X(t){this._iterable=t,this.size=t.length||t.size}function $(t){this._iterator=t,this._iteratorCache=[]}function tt(t){return!(!t||!t[V])}function et(){return W||(W=new G([]))}function nt(t){var e=Array.isArray(t)?new G(t).fromEntrySeq():P(t)?new $(t).fromEntrySeq():R(t)?new X(t).fromEntrySeq():"object"==typeof t?new J(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function rt(t){var e=ot(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function ot(t){return U(t)?new G(t):P(t)?new $(t):R(t)?new X(t):void 0}function it(t,e,n,r){var o=t._cache;if(o){for(var i=o.length-1,a=0;a<=i;a++){var s=o[n?i-a:a];if(!1===e(s[1],r?s[0]:a,t))return a+1}return a}return t.__iterateUncached(e,n)}function at(t,e,n,r){var o=t._cache;if(o){var i=o.length-1,a=0;return new A((function(){var t=o[n?i-a:a];return a++>i?{value:void 0,done:!0}:T(e,r?t[0]:a-1,t[1])}))}return t.__iteratorUncached(e,n)}function st(t,e){return e?ct(e,t,"",{"":t}):ut(t)}function ct(t,e,n,r){return Array.isArray(e)?t.call(r,n,q(e).map((function(n,r){return ct(t,n,r,e)}))):lt(e)?t.call(r,n,H(e).map((function(n,r){return ct(t,n,r,e)}))):e}function ut(t){return Array.isArray(t)?q(t).map(ut).toList():lt(t)?H(t).map(ut).toMap():t}function lt(t){return t&&(t.constructor===Object||void 0===t.constructor)}function pt(t,e){if(t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if((t=t.valueOf())===(e=e.valueOf())||t!=t&&e!=e)return!0;if(!t||!e)return!1}return!("function"!=typeof t.equals||"function"!=typeof e.equals||!t.equals(e))}function ft(t,e){if(t===e)return!0;if(!a(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||s(t)!==s(e)||c(t)!==c(e)||l(t)!==l(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!u(t);if(l(t)){var r=t.entries();return e.every((function(t,e){var o=r.next().value;return o&&pt(o[1],t)&&(n||pt(o[0],e))}))&&r.next().done}var o=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{o=!0;var i=t;t=e,e=i}var p=!0,f=e.__iterate((function(e,r){if(n?!t.has(e):o?!pt(e,t.get(r,m)):!pt(t.get(r,m),e))return p=!1,!1}));return p&&t.size===f}function dt(t,e){if(!(this instanceof dt))return new dt(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(Q)return Q;Q=this}}function ht(t,e){if(!t)throw new Error(e)}function yt(t,e,n){if(!(this instanceof yt))return new yt(t,e,n);if(ht(0!==n,"Cannot step a Range by 0"),t=t||0,void 0===e&&(e=1/0),n=void 0===n?1:Math.abs(n),e<t&&(n=-n),this._start=t,this._end=e,this._step=n,this.size=Math.max(0,Math.ceil((e-t)/n-1)+1),0===this.size){if(Z)return Z;Z=this}}function gt(){throw TypeError("Abstract")}function mt(){}function vt(){}function bt(){}K.prototype[V]=!0,e(G,q),G.prototype.get=function(t,e){return this.has(t)?this._array[x(this,t)]:e},G.prototype.__iterate=function(t,e){for(var n=this._array,r=n.length-1,o=0;o<=r;o++)if(!1===t(n[e?r-o:o],o,this))return o+1;return o},G.prototype.__iterator=function(t,e){var n=this._array,r=n.length-1,o=0;return new A((function(){return o>r?{value:void 0,done:!0}:T(t,o,n[e?r-o++:o++])}))},e(J,H),J.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},J.prototype.has=function(t){return this._object.hasOwnProperty(t)},J.prototype.__iterate=function(t,e){for(var n=this._object,r=this._keys,o=r.length-1,i=0;i<=o;i++){var a=r[e?o-i:i];if(!1===t(n[a],a,this))return i+1}return i},J.prototype.__iterator=function(t,e){var n=this._object,r=this._keys,o=r.length-1,i=0;return new A((function(){var a=r[e?o-i:i];return i++>o?{value:void 0,done:!0}:T(t,a,n[a])}))},J.prototype[h]=!0,e(X,q),X.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=B(this._iterable),r=0;if(P(n))for(var o;!(o=n.next()).done&&!1!==t(o.value,r++,this););return r},X.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=B(this._iterable);if(!P(n))return new A(z);var r=0;return new A((function(){var e=n.next();return e.done?e:T(t,r++,e.value)}))},e($,q),$.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var n,r=this._iterator,o=this._iteratorCache,i=0;i<o.length;)if(!1===t(o[i],i++,this))return i;for(;!(n=r.next()).done;){var a=n.value;if(o[i]=a,!1===t(a,i++,this))break}return i},$.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterator,r=this._iteratorCache,o=0;return new A((function(){if(o>=r.length){var e=n.next();if(e.done)return e;r[o]=e.value}return T(t,o,r[o++])}))},e(dt,q),dt.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},dt.prototype.get=function(t,e){return this.has(t)?this._value:e},dt.prototype.includes=function(t){return pt(this._value,t)},dt.prototype.slice=function(t,e){var n=this.size;return C(t,e,n)?this:new dt(this._value,D(e,n)-j(t,n))},dt.prototype.reverse=function(){return this},dt.prototype.indexOf=function(t){return pt(this._value,t)?0:-1},dt.prototype.lastIndexOf=function(t){return pt(this._value,t)?this.size:-1},dt.prototype.__iterate=function(t,e){for(var n=0;n<this.size;n++)if(!1===t(this._value,n,this))return n+1;return n},dt.prototype.__iterator=function(t,e){var n=this,r=0;return new A((function(){return r<n.size?T(t,r++,n._value):{value:void 0,done:!0}}))},dt.prototype.equals=function(t){return t instanceof dt?pt(this._value,t._value):ft(t)},e(yt,q),yt.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},yt.prototype.get=function(t,e){return this.has(t)?this._start+x(this,t)*this._step:e},yt.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},yt.prototype.slice=function(t,e){return C(t,e,this.size)?this:(t=j(t,this.size),(e=D(e,this.size))<=t?new yt(0,0):new yt(this.get(t,this._end),this.get(e,this._end),this._step))},yt.prototype.indexOf=function(t){var e=t-this._start;if(e%this._step==0){var n=e/this._step;if(n>=0&&n<this.size)return n}return-1},yt.prototype.lastIndexOf=function(t){return this.indexOf(t)},yt.prototype.__iterate=function(t,e){for(var n=this.size-1,r=this._step,o=e?this._start+n*r:this._start,i=0;i<=n;i++){if(!1===t(o,i,this))return i+1;o+=e?-r:r}return i},yt.prototype.__iterator=function(t,e){var n=this.size-1,r=this._step,o=e?this._start+n*r:this._start,i=0;return new A((function(){var a=o;return o+=e?-r:r,i>n?{value:void 0,done:!0}:T(t,i++,a)}))},yt.prototype.equals=function(t){return t instanceof yt?this._start===t._start&&this._end===t._end&&this._step===t._step:ft(this,t)},e(gt,n),e(mt,gt),e(vt,gt),e(bt,gt),gt.Keyed=mt,gt.Indexed=vt,gt.Set=bt;var _t="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){var n=65535&(t|=0),r=65535&(e|=0);return n*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0};function wt(t){return t>>>1&1073741824|3221225471&t}function St(t){if(!1===t||null==t)return 0;if("function"==typeof t.valueOf&&(!1===(t=t.valueOf())||null==t))return 0;if(!0===t)return 1;var e=typeof t;if("number"===e){var n=0|t;for(n!==t&&(n^=4294967295*t);t>4294967295;)n^=t/=4294967295;return wt(n)}if("string"===e)return t.length>Ot?function(t){var e=Nt[t];return void 0===e&&(e=Mt(t),Lt===It&&(Lt=0,Nt={}),Lt++,Nt[t]=e),e}(t):Mt(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===e)return function(t){var e;if(Ct&&void 0!==(e=kt.get(t)))return e;if(void 0!==(e=t[Dt]))return e;if(!xt){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[Dt]))return e;if(void 0!==(e=function(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}(t)))return e}if(e=++jt,1073741824&jt&&(jt=0),Ct)kt.set(t,e);else{if(void 0!==Et&&!1===Et(t))throw new Error("Non-extensible objects are not allowed as keys.");if(xt)Object.defineProperty(t,Dt,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(void 0!==t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[Dt]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[Dt]=e}}return e}(t);if("function"==typeof t.toString)return Mt(t.toString());throw new Error("Value type "+e+" cannot be hashed.")}function Mt(t){for(var e=0,n=0;n<t.length;n++)e=31*e+t.charCodeAt(n)|0;return wt(e)}var Et=Object.isExtensible,xt=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}();var kt,Ct="function"==typeof WeakMap;Ct&&(kt=new WeakMap);var jt=0,Dt="__immutablehash__";"function"==typeof Symbol&&(Dt=Symbol(Dt));var Ot=16,It=255,Lt=0,Nt={};function At(t){ht(t!==1/0,"Cannot perform this action with an infinite size.")}function Tt(t){return null==t?Vt():zt(t)&&!l(t)?t:Vt().withMutations((function(e){var n=r(t);At(n.size),n.forEach((function(t,n){return e.set(n,t)}))}))}function zt(t){return!(!t||!t[Pt])}e(Tt,mt),Tt.prototype.toString=function(){return this.__toString("Map {","}")},Tt.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},Tt.prototype.set=function(t,e){return Gt(this,t,e)},Tt.prototype.setIn=function(t,e){return this.updateIn(t,m,(function(){return e}))},Tt.prototype.remove=function(t){return Gt(this,t,m)},Tt.prototype.deleteIn=function(t){return this.updateIn(t,(function(){return m}))},Tt.prototype.update=function(t,e,n){return 1===arguments.length?t(this):this.updateIn([t],e,n)},Tt.prototype.updateIn=function(t,e,n){n||(n=e,e=void 0);var r=oe(this,en(t),e,n);return r===m?void 0:r},Tt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Vt()},Tt.prototype.merge=function(){return te(this,void 0,arguments)},Tt.prototype.mergeWith=function(e){return te(this,e,t.call(arguments,1))},Tt.prototype.mergeIn=function(e){var n=t.call(arguments,1);return this.updateIn(e,Vt(),(function(t){return"function"==typeof t.merge?t.merge.apply(t,n):n[n.length-1]}))},Tt.prototype.mergeDeep=function(){return te(this,ee,arguments)},Tt.prototype.mergeDeepWith=function(e){var n=t.call(arguments,1);return te(this,ne(e),n)},Tt.prototype.mergeDeepIn=function(e){var n=t.call(arguments,1);return this.updateIn(e,Vt(),(function(t){return"function"==typeof t.mergeDeep?t.mergeDeep.apply(t,n):n[n.length-1]}))},Tt.prototype.sort=function(t){return Ce(qe(this,t))},Tt.prototype.sortBy=function(t,e){return Ce(qe(this,e,t))},Tt.prototype.withMutations=function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},Tt.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new S)},Tt.prototype.asImmutable=function(){return this.__ensureOwner()},Tt.prototype.wasAltered=function(){return this.__altered},Tt.prototype.__iterator=function(t,e){return new Yt(this,t,e)},Tt.prototype.__iterate=function(t,e){var n=this,r=0;return this._root&&this._root.iterate((function(e){return r++,t(e[1],e[0],n)}),e),r},Tt.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Zt(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},Tt.isMap=zt;var Rt,Pt="@@__IMMUTABLE_MAP__@@",Bt=Tt.prototype;function Ft(t,e){this.ownerID=t,this.entries=e}function Ut(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n}function Kt(t,e,n){this.ownerID=t,this.count=e,this.nodes=n}function Ht(t,e,n){this.ownerID=t,this.keyHash=e,this.entries=n}function qt(t,e,n){this.ownerID=t,this.keyHash=e,this.entry=n}function Yt(t,e,n){this._type=e,this._reverse=n,this._stack=t._root&&Qt(t._root)}function Wt(t,e){return T(t,e[0],e[1])}function Qt(t,e){return{node:t,index:0,__prev:e}}function Zt(t,e,n,r){var o=Object.create(Bt);return o.size=t,o._root=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Vt(){return Rt||(Rt=Zt(0))}function Gt(t,e,n){var r,o;if(t._root){var i=_(v),a=_(b);if(r=Jt(t._root,t.__ownerID,0,void 0,e,n,i,a),!a.value)return t;o=t.size+(i.value?n===m?-1:1:0)}else{if(n===m)return t;o=1,r=new Ft(t.__ownerID,[[e,n]])}return t.__ownerID?(t.size=o,t._root=r,t.__hash=void 0,t.__altered=!0,t):r?Zt(o,r):Vt()}function Jt(t,e,n,r,o,i,a,s){return t?t.update(e,n,r,o,i,a,s):i===m?t:(w(s),w(a),new qt(e,r,[o,i]))}function Xt(t){return t.constructor===qt||t.constructor===Ht}function $t(t,e,n,r,o){if(t.keyHash===r)return new Ht(e,r,[t.entry,o]);var i,a=(0===n?t.keyHash:t.keyHash>>>n)&g,s=(0===n?r:r>>>n)&g;return new Ut(e,1<<a|1<<s,a===s?[$t(t,e,n+5,r,o)]:(i=new qt(e,r,o),a<s?[t,i]:[i,t]))}function te(t,e,n){for(var o=[],i=0;i<n.length;i++){var s=n[i],c=r(s);a(s)||(c=c.map((function(t){return st(t)}))),o.push(c)}return re(t,e,o)}function ee(t,e,n){return t&&t.mergeDeep&&a(e)?t.mergeDeep(e):pt(t,e)?t:e}function ne(t){return function(e,n,r){if(e&&e.mergeDeepWith&&a(n))return e.mergeDeepWith(t,n);var o=t(e,n,r);return pt(e,o)?e:o}}function re(t,e,n){return 0===(n=n.filter((function(t){return 0!==t.size}))).length?t:0!==t.size||t.__ownerID||1!==n.length?t.withMutations((function(t){for(var r=e?function(n,r){t.update(r,m,(function(t){return t===m?n:e(t,n,r)}))}:function(e,n){t.set(n,e)},o=0;o<n.length;o++)n[o].forEach(r)})):t.constructor(n[0])}function oe(t,e,n,r){var o=t===m,i=e.next();if(i.done){var a=o?n:t,s=r(a);return s===a?t:s}ht(o||t&&t.set,"invalid keyPath");var c=i.value,u=o?m:t.get(c,m),l=oe(u,e,n,r);return l===u?t:l===m?t.remove(c):(o?Vt():t).set(c,l)}function ie(t){return t=(t=(858993459&(t-=t>>1&1431655765))+(t>>2&858993459))+(t>>4)&252645135,127&(t+=t>>8)+(t>>16)}function ae(t,e,n,r){var o=r?t:M(t);return o[e]=n,o}Bt[Pt]=!0,Bt.delete=Bt.remove,Bt.removeIn=Bt.deleteIn,Ft.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(pt(n,o[i][0]))return o[i][1];return r},Ft.prototype.update=function(t,e,n,r,o,i,a){for(var s=o===m,c=this.entries,u=0,l=c.length;u<l&&!pt(r,c[u][0]);u++);var p=u<l;if(p?c[u][1]===o:s)return this;if(w(a),(s||!p)&&w(i),!s||1!==c.length){if(!p&&!s&&c.length>=se)return function(t,e,n,r){t||(t=new S);for(var o=new qt(t,St(n),[n,r]),i=0;i<e.length;i++){var a=e[i];o=o.update(t,0,void 0,a[0],a[1])}return o}(t,c,r,o);var f=t&&t===this.ownerID,d=f?c:M(c);return p?s?u===l-1?d.pop():d[u]=d.pop():d[u]=[r,o]:d.push([r,o]),f?(this.entries=d,this):new Ft(t,d)}},Ut.prototype.get=function(t,e,n,r){void 0===e&&(e=St(n));var o=1<<((0===t?e:e>>>t)&g),i=this.bitmap;return 0==(i&o)?r:this.nodes[ie(i&o-1)].get(t+5,e,n,r)},Ut.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=St(r));var s=(0===e?n:n>>>e)&g,c=1<<s,u=this.bitmap,l=0!=(u&c);if(!l&&o===m)return this;var p=ie(u&c-1),f=this.nodes,d=l?f[p]:void 0,h=Jt(d,t,e+5,n,r,o,i,a);if(h===d)return this;if(!l&&h&&f.length>=ce)return function(t,e,n,r,o){for(var i=0,a=new Array(y),s=0;0!==n;s++,n>>>=1)a[s]=1&n?e[i++]:void 0;return a[r]=o,new Kt(t,i+1,a)}(t,f,u,s,h);if(l&&!h&&2===f.length&&Xt(f[1^p]))return f[1^p];if(l&&h&&1===f.length&&Xt(h))return h;var v=t&&t===this.ownerID,b=l?h?u:u^c:u|c,_=l?h?ae(f,p,h,v):function(t,e,n){var r=t.length-1;if(n&&e===r)return t.pop(),t;for(var o=new Array(r),i=0,a=0;a<r;a++)a===e&&(i=1),o[a]=t[a+i];return o}(f,p,v):function(t,e,n,r){var o=t.length+1;if(r&&e+1===o)return t[e]=n,t;for(var i=new Array(o),a=0,s=0;s<o;s++)s===e?(i[s]=n,a=-1):i[s]=t[s+a];return i}(f,p,h,v);return v?(this.bitmap=b,this.nodes=_,this):new Ut(t,b,_)},Kt.prototype.get=function(t,e,n,r){void 0===e&&(e=St(n));var o=(0===t?e:e>>>t)&g,i=this.nodes[o];return i?i.get(t+5,e,n,r):r},Kt.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=St(r));var s=(0===e?n:n>>>e)&g,c=o===m,u=this.nodes,l=u[s];if(c&&!l)return this;var p=Jt(l,t,e+5,n,r,o,i,a);if(p===l)return this;var f=this.count;if(l){if(!p&&--f<ue)return function(t,e,n,r){for(var o=0,i=0,a=new Array(n),s=0,c=1,u=e.length;s<u;s++,c<<=1){var l=e[s];void 0!==l&&s!==r&&(o|=c,a[i++]=l)}return new Ut(t,o,a)}(t,u,f,s)}else f++;var d=t&&t===this.ownerID,h=ae(u,s,p,d);return d?(this.count=f,this.nodes=h,this):new Kt(t,f,h)},Ht.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(pt(n,o[i][0]))return o[i][1];return r},Ht.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=St(r));var s=o===m;if(n!==this.keyHash)return s?this:(w(a),w(i),$t(this,t,e,n,[r,o]));for(var c=this.entries,u=0,l=c.length;u<l&&!pt(r,c[u][0]);u++);var p=u<l;if(p?c[u][1]===o:s)return this;if(w(a),(s||!p)&&w(i),s&&2===l)return new qt(t,this.keyHash,c[1^u]);var f=t&&t===this.ownerID,d=f?c:M(c);return p?s?u===l-1?d.pop():d[u]=d.pop():d[u]=[r,o]:d.push([r,o]),f?(this.entries=d,this):new Ht(t,this.keyHash,d)},qt.prototype.get=function(t,e,n,r){return pt(n,this.entry[0])?this.entry[1]:r},qt.prototype.update=function(t,e,n,r,o,i,a){var s=o===m,c=pt(r,this.entry[0]);return(c?o===this.entry[1]:s)?this:(w(a),s?void w(i):c?t&&t===this.ownerID?(this.entry[1]=o,this):new qt(t,this.keyHash,[r,o]):(w(i),$t(this,t,e,St(r),[r,o])))},Ft.prototype.iterate=Ht.prototype.iterate=function(t,e){for(var n=this.entries,r=0,o=n.length-1;r<=o;r++)if(!1===t(n[e?o-r:r]))return!1},Ut.prototype.iterate=Kt.prototype.iterate=function(t,e){for(var n=this.nodes,r=0,o=n.length-1;r<=o;r++){var i=n[e?o-r:r];if(i&&!1===i.iterate(t,e))return!1}},qt.prototype.iterate=function(t,e){return t(this.entry)},e(Yt,A),Yt.prototype.next=function(){for(var t=this._type,e=this._stack;e;){var n,r=e.node,o=e.index++;if(r.entry){if(0===o)return Wt(t,r.entry)}else if(r.entries){if(o<=(n=r.entries.length-1))return Wt(t,r.entries[this._reverse?n-o:o])}else if(o<=(n=r.nodes.length-1)){var i=r.nodes[this._reverse?n-o:o];if(i){if(i.entry)return Wt(t,i.entry);e=this._stack=Qt(i,e)}continue}e=this._stack=this._stack.__prev}return{value:void 0,done:!0}};var se=8,ce=16,ue=8;function le(t){var e=_e();if(null==t)return e;if(pe(t))return t;var n=o(t),r=n.size;return 0===r?e:(At(r),r>0&&r<y?be(0,r,5,null,new he(n.toArray())):e.withMutations((function(t){t.setSize(r),n.forEach((function(e,n){return t.set(n,e)}))})))}function pe(t){return!(!t||!t[fe])}e(le,vt),le.of=function(){return this(arguments)},le.prototype.toString=function(){return this.__toString("List [","]")},le.prototype.get=function(t,e){if((t=x(this,t))>=0&&t<this.size){var n=Me(this,t+=this._origin);return n&&n.array[t&g]}return e},le.prototype.set=function(t,e){return function(t,e,n){if((e=x(t,e))!=e)return t;if(e>=t.size||e<0)return t.withMutations((function(t){e<0?Ee(t,e).set(0,n):Ee(t,0,e+1).set(e,n)}));e+=t._origin;var r=t._tail,o=t._root,i=_(b);return e>=ke(t._capacity)?r=we(r,t.__ownerID,0,e,n,i):o=we(o,t.__ownerID,t._level,e,n,i),i.value?t.__ownerID?(t._root=o,t._tail=r,t.__hash=void 0,t.__altered=!0,t):be(t._origin,t._capacity,t._level,o,r):t}(this,t,e)},le.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},le.prototype.insert=function(t,e){return this.splice(t,0,e)},le.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=5,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):_e()},le.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations((function(n){Ee(n,0,e+t.length);for(var r=0;r<t.length;r++)n.set(e+r,t[r])}))},le.prototype.pop=function(){return Ee(this,0,-1)},le.prototype.unshift=function(){var t=arguments;return this.withMutations((function(e){Ee(e,-t.length);for(var n=0;n<t.length;n++)e.set(n,t[n])}))},le.prototype.shift=function(){return Ee(this,1)},le.prototype.merge=function(){return xe(this,void 0,arguments)},le.prototype.mergeWith=function(e){return xe(this,e,t.call(arguments,1))},le.prototype.mergeDeep=function(){return xe(this,ee,arguments)},le.prototype.mergeDeepWith=function(e){var n=t.call(arguments,1);return xe(this,ne(e),n)},le.prototype.setSize=function(t){return Ee(this,0,t)},le.prototype.slice=function(t,e){var n=this.size;return C(t,e,n)?this:Ee(this,j(t,n),D(e,n))},le.prototype.__iterator=function(t,e){var n=0,r=ve(this,e);return new A((function(){var e=r();return e===me?{value:void 0,done:!0}:T(t,n++,e)}))},le.prototype.__iterate=function(t,e){for(var n,r=0,o=ve(this,e);(n=o())!==me&&!1!==t(n,r++,this););return r},le.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?be(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):(this.__ownerID=t,this)},le.isList=pe;var fe="@@__IMMUTABLE_LIST__@@",de=le.prototype;function he(t,e){this.array=t,this.ownerID=e}de[fe]=!0,de.delete=de.remove,de.setIn=Bt.setIn,de.deleteIn=de.removeIn=Bt.removeIn,de.update=Bt.update,de.updateIn=Bt.updateIn,de.mergeIn=Bt.mergeIn,de.mergeDeepIn=Bt.mergeDeepIn,de.withMutations=Bt.withMutations,de.asMutable=Bt.asMutable,de.asImmutable=Bt.asImmutable,de.wasAltered=Bt.wasAltered,he.prototype.removeBefore=function(t,e,n){if(n===e?1<<e:0===this.array.length)return this;var r=n>>>e&g;if(r>=this.array.length)return new he([],t);var o,i=0===r;if(e>0){var a=this.array[r];if((o=a&&a.removeBefore(t,e-5,n))===a&&i)return this}if(i&&!o)return this;var s=Se(this,t);if(!i)for(var c=0;c<r;c++)s.array[c]=void 0;return o&&(s.array[r]=o),s},he.prototype.removeAfter=function(t,e,n){if(n===(e?1<<e:0)||0===this.array.length)return this;var r,o=n-1>>>e&g;if(o>=this.array.length)return this;if(e>0){var i=this.array[o];if((r=i&&i.removeAfter(t,e-5,n))===i&&o===this.array.length-1)return this}var a=Se(this,t);return a.array.splice(o+1),r&&(a.array[o]=r),a};var ye,ge,me={};function ve(t,e){var n=t._origin,r=t._capacity,o=ke(r),i=t._tail;return a(t._root,t._level,0);function a(t,s,c){return 0===s?function(t,a){var s=a===o?i&&i.array:t&&t.array,c=a>n?0:n-a,u=r-a;return u>y&&(u=y),function(){if(c===u)return me;var t=e?--u:c++;return s&&s[t]}}(t,c):function(t,o,i){var s,c=t&&t.array,u=i>n?0:n-i>>o,l=1+(r-i>>o);return l>y&&(l=y),function(){for(;;){if(s){var t=s();if(t!==me)return t;s=null}if(u===l)return me;var n=e?--l:u++;s=a(c&&c[n],o-5,i+(n<<o))}}}(t,s,c)}}function be(t,e,n,r,o,i,a){var s=Object.create(de);return s.size=e-t,s._origin=t,s._capacity=e,s._level=n,s._root=r,s._tail=o,s.__ownerID=i,s.__hash=a,s.__altered=!1,s}function _e(){return ye||(ye=be(0,0,5))}function we(t,e,n,r,o,i){var a,s=r>>>n&g,c=t&&s<t.array.length;if(!c&&void 0===o)return t;if(n>0){var u=t&&t.array[s],l=we(u,e,n-5,r,o,i);return l===u?t:((a=Se(t,e)).array[s]=l,a)}return c&&t.array[s]===o?t:(w(i),a=Se(t,e),void 0===o&&s===a.array.length-1?a.array.pop():a.array[s]=o,a)}function Se(t,e){return e&&t&&e===t.ownerID?t:new he(t?t.array.slice():[],e)}function Me(t,e){if(e>=ke(t._capacity))return t._tail;if(e<1<<t._level+5){for(var n=t._root,r=t._level;n&&r>0;)n=n.array[e>>>r&g],r-=5;return n}}function Ee(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0);var r=t.__ownerID||new S,o=t._origin,i=t._capacity,a=o+e,s=void 0===n?i:n<0?i+n:o+n;if(a===o&&s===i)return t;if(a>=s)return t.clear();for(var c=t._level,u=t._root,l=0;a+l<0;)u=new he(u&&u.array.length?[void 0,u]:[],r),l+=1<<(c+=5);l&&(a+=l,o+=l,s+=l,i+=l);for(var p=ke(i),f=ke(s);f>=1<<c+5;)u=new he(u&&u.array.length?[u]:[],r),c+=5;var d=t._tail,h=f<p?Me(t,s-1):f>p?new he([],r):d;if(d&&f>p&&a<i&&d.array.length){for(var y=u=Se(u,r),m=c;m>5;m-=5){var v=p>>>m&g;y=y.array[v]=Se(y.array[v],r)}y.array[p>>>5&g]=d}if(s<i&&(h=h&&h.removeAfter(r,0,s)),a>=f)a-=f,s-=f,c=5,u=null,h=h&&h.removeBefore(r,0,a);else if(a>o||f<p){for(l=0;u;){var b=a>>>c&g;if(b!==f>>>c&g)break;b&&(l+=(1<<c)*b),c-=5,u=u.array[b]}u&&a>o&&(u=u.removeBefore(r,c,a-l)),u&&f<p&&(u=u.removeAfter(r,c,f-l)),l&&(a-=l,s-=l)}return t.__ownerID?(t.size=s-a,t._origin=a,t._capacity=s,t._level=c,t._root=u,t._tail=h,t.__hash=void 0,t.__altered=!0,t):be(a,s,c,u,h)}function xe(t,e,n){for(var r=[],i=0,s=0;s<n.length;s++){var c=n[s],u=o(c);u.size>i&&(i=u.size),a(c)||(u=u.map((function(t){return st(t)}))),r.push(u)}return i>t.size&&(t=t.setSize(i)),re(t,e,r)}function ke(t){return t<y?0:t-1>>>5<<5}function Ce(t){return null==t?Oe():je(t)?t:Oe().withMutations((function(e){var n=r(t);At(n.size),n.forEach((function(t,n){return e.set(n,t)}))}))}function je(t){return zt(t)&&l(t)}function De(t,e,n,r){var o=Object.create(Ce.prototype);return o.size=t?t.size:0,o._map=t,o._list=e,o.__ownerID=n,o.__hash=r,o}function Oe(){return ge||(ge=De(Vt(),_e()))}function Ie(t,e,n){var r,o,i=t._map,a=t._list,s=i.get(e),c=void 0!==s;if(n===m){if(!c)return t;a.size>=y&&a.size>=2*i.size?(r=(o=a.filter((function(t,e){return void 0!==t&&s!==e}))).toKeyedSeq().map((function(t){return t[0]})).flip().toMap(),t.__ownerID&&(r.__ownerID=o.__ownerID=t.__ownerID)):(r=i.remove(e),o=s===a.size-1?a.pop():a.set(s,void 0))}else if(c){if(n===a.get(s)[1])return t;r=i,o=a.set(s,[e,n])}else r=i.set(e,a.size),o=a.set(a.size,[e,n]);return t.__ownerID?(t.size=r.size,t._map=r,t._list=o,t.__hash=void 0,t):De(r,o)}function Le(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function Ne(t){this._iter=t,this.size=t.size}function Ae(t){this._iter=t,this.size=t.size}function Te(t){this._iter=t,this.size=t.size}function ze(t){var e=Xe(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=$e,e.__iterateUncached=function(e,n){var r=this;return t.__iterate((function(t,n){return!1!==e(n,t,r)}),n)},e.__iteratorUncached=function(e,n){if(2===e){var r=t.__iterator(e,n);return new A((function(){var t=r.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t}))}return t.__iterator(1===e?0:1,n)},e}function Re(t,e,n){var r=Xe(t);return r.size=t.size,r.has=function(e){return t.has(e)},r.get=function(r,o){var i=t.get(r,m);return i===m?o:e.call(n,i,r,t)},r.__iterateUncached=function(r,o){var i=this;return t.__iterate((function(t,o,a){return!1!==r(e.call(n,t,o,a),o,i)}),o)},r.__iteratorUncached=function(r,o){var i=t.__iterator(2,o);return new A((function(){var o=i.next();if(o.done)return o;var a=o.value,s=a[0];return T(r,s,e.call(n,a[1],s,t),o)}))},r}function Pe(t,e){var n=Xe(t);return n._iter=t,n.size=t.size,n.reverse=function(){return t},t.flip&&(n.flip=function(){var e=ze(t);return e.reverse=function(){return t.flip()},e}),n.get=function(n,r){return t.get(e?n:-1-n,r)},n.has=function(n){return t.has(e?n:-1-n)},n.includes=function(e){return t.includes(e)},n.cacheResult=$e,n.__iterate=function(e,n){var r=this;return t.__iterate((function(t,n){return e(t,n,r)}),!n)},n.__iterator=function(e,n){return t.__iterator(e,!n)},n}function Be(t,e,n,r){var o=Xe(t);return r&&(o.has=function(r){var o=t.get(r,m);return o!==m&&!!e.call(n,o,r,t)},o.get=function(r,o){var i=t.get(r,m);return i!==m&&e.call(n,i,r,t)?i:o}),o.__iterateUncached=function(o,i){var a=this,s=0;return t.__iterate((function(t,i,c){if(e.call(n,t,i,c))return s++,o(t,r?i:s-1,a)}),i),s},o.__iteratorUncached=function(o,i){var a=t.__iterator(2,i),s=0;return new A((function(){for(;;){var i=a.next();if(i.done)return i;var c=i.value,u=c[0],l=c[1];if(e.call(n,l,u,t))return T(o,r?u:s++,l,i)}}))},o}function Fe(t,e,n,r){var o=t.size;if(void 0!==e&&(e|=0),void 0!==n&&(n|=0),C(e,n,o))return t;var i=j(e,o),a=D(n,o);if(i!=i||a!=a)return Fe(t.toSeq().cacheResult(),e,n,r);var s,c=a-i;c==c&&(s=c<0?0:c);var u=Xe(t);return u.size=0===s?s:t.size&&s||void 0,!r&&tt(t)&&s>=0&&(u.get=function(e,n){return(e=x(this,e))>=0&&e<s?t.get(e+i,n):n}),u.__iterateUncached=function(e,n){var o=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(e,n);var a=0,c=!0,u=0;return t.__iterate((function(t,n){if(!c||!(c=a++<i))return u++,!1!==e(t,r?n:u-1,o)&&u!==s})),u},u.__iteratorUncached=function(e,n){if(0!==s&&n)return this.cacheResult().__iterator(e,n);var o=0!==s&&t.__iterator(e,n),a=0,c=0;return new A((function(){for(;a++<i;)o.next();if(++c>s)return{value:void 0,done:!0};var t=o.next();return r||1===e?t:T(e,c-1,0===e?void 0:t.value[1],t)}))},u}function Ue(t,e,n,r){var o=Xe(t);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,c=0;return t.__iterate((function(t,i,u){if(!s||!(s=e.call(n,t,i,u)))return c++,o(t,r?i:c-1,a)})),c},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=t.__iterator(2,i),c=!0,u=0;return new A((function(){var t,i,l;do{if((t=s.next()).done)return r||1===o?t:T(o,u++,0===o?void 0:t.value[1],t);var p=t.value;i=p[0],l=p[1],c&&(c=e.call(n,l,i,a))}while(c);return 2===o?t:T(o,i,l,t)}))},o}function Ke(t,e){var n=s(t),o=[t].concat(e).map((function(t){return a(t)?n&&(t=r(t)):t=n?nt(t):rt(Array.isArray(t)?t:[t]),t})).filter((function(t){return 0!==t.size}));if(0===o.length)return t;if(1===o.length){var i=o[0];if(i===t||n&&s(i)||c(t)&&c(i))return i}var u=new G(o);return n?u=u.toKeyedSeq():c(t)||(u=u.toSetSeq()),(u=u.flatten(!0)).size=o.reduce((function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}}),0),u}function He(t,e,n){var r=Xe(t);return r.__iterateUncached=function(r,o){var i=0,s=!1;return function t(c,u){var l=this;c.__iterate((function(o,c){return(!e||u<e)&&a(o)?t(o,u+1):!1===r(o,n?c:i++,l)&&(s=!0),!s}),o)}(t,0),i},r.__iteratorUncached=function(r,o){var i=t.__iterator(r,o),s=[],c=0;return new A((function(){for(;i;){var t=i.next();if(!1===t.done){var u=t.value;if(2===r&&(u=u[1]),e&&!(s.length<e)||!a(u))return n?t:T(r,c++,u,t);s.push(i),i=u.__iterator(r,o)}else i=s.pop()}return{value:void 0,done:!0}}))},r}function qe(t,e,n){e||(e=tn);var r=s(t),o=0,i=t.toSeq().map((function(e,r){return[r,e,o++,n?n(e,r,t):e]})).toArray();return i.sort((function(t,n){return e(t[3],n[3])||t[2]-n[2]})).forEach(r?function(t,e){i[e].length=2}:function(t,e){i[e]=t[1]}),r?H(i):c(t)?q(i):Y(i)}function Ye(t,e,n){if(e||(e=tn),n){var r=t.toSeq().map((function(e,r){return[e,n(e,r,t)]})).reduce((function(t,n){return We(e,t[1],n[1])?n:t}));return r&&r[0]}return t.reduce((function(t,n){return We(e,t,n)?n:t}))}function We(t,e,n){var r=t(n,e);return 0===r&&n!==e&&(null==n||n!=n)||r>0}function Qe(t,e,r){var o=Xe(t);return o.size=new G(r).map((function(t){return t.size})).min(),o.__iterate=function(t,e){for(var n,r=this.__iterator(1,e),o=0;!(n=r.next()).done&&!1!==t(n.value,o++,this););return o},o.__iteratorUncached=function(t,o){var i=r.map((function(t){return t=n(t),B(o?t.reverse():t)})),a=0,s=!1;return new A((function(){var n;return s||(n=i.map((function(t){return t.next()})),s=n.some((function(t){return t.done}))),s?{value:void 0,done:!0}:T(t,a++,e.apply(null,n.map((function(t){return t.value}))))}))},o}function Ze(t,e){return tt(t)?e:t.constructor(e)}function Ve(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function Ge(t){return At(t.size),E(t)}function Je(t){return s(t)?r:c(t)?o:i}function Xe(t){return Object.create((s(t)?H:c(t)?q:Y).prototype)}function $e(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):K.prototype.cacheResult.call(this)}function tn(t,e){return t>e?1:t<e?-1:0}function en(t){var e=B(t);if(!e){if(!U(t))throw new TypeError("Expected iterable or array-like: "+t);e=B(n(t))}return e}function nn(t,e){var n,r=function(i){if(i instanceof r)return i;if(!(this instanceof r))return new r(i);if(!n){n=!0;var a=Object.keys(t);(function(t,e){try{e.forEach(sn.bind(void 0,t))}catch(t){}})(o,a),o.size=a.length,o._name=e,o._keys=a,o._defaultValues=t}this._map=Tt(i)},o=r.prototype=Object.create(rn);return o.constructor=r,r}e(Ce,Tt),Ce.of=function(){return this(arguments)},Ce.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Ce.prototype.get=function(t,e){var n=this._map.get(t);return void 0!==n?this._list.get(n)[1]:e},Ce.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Oe()},Ce.prototype.set=function(t,e){return Ie(this,t,e)},Ce.prototype.remove=function(t){return Ie(this,t,m)},Ce.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Ce.prototype.__iterate=function(t,e){var n=this;return this._list.__iterate((function(e){return e&&t(e[1],e[0],n)}),e)},Ce.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},Ce.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),n=this._list.__ensureOwner(t);return t?De(e,n,t,this.__hash):(this.__ownerID=t,this._map=e,this._list=n,this)},Ce.isOrderedMap=je,Ce.prototype[h]=!0,Ce.prototype.delete=Ce.prototype.remove,e(Le,H),Le.prototype.get=function(t,e){return this._iter.get(t,e)},Le.prototype.has=function(t){return this._iter.has(t)},Le.prototype.valueSeq=function(){return this._iter.valueSeq()},Le.prototype.reverse=function(){var t=this,e=Pe(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},Le.prototype.map=function(t,e){var n=this,r=Re(this,t,e);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(t,e)}),r},Le.prototype.__iterate=function(t,e){var n,r=this;return this._iter.__iterate(this._useKeys?function(e,n){return t(e,n,r)}:(n=e?Ge(this):0,function(o){return t(o,e?--n:n++,r)}),e)},Le.prototype.__iterator=function(t,e){if(this._useKeys)return this._iter.__iterator(t,e);var n=this._iter.__iterator(1,e),r=e?Ge(this):0;return new A((function(){var o=n.next();return o.done?o:T(t,e?--r:r++,o.value,o)}))},Le.prototype[h]=!0,e(Ne,q),Ne.prototype.includes=function(t){return this._iter.includes(t)},Ne.prototype.__iterate=function(t,e){var n=this,r=0;return this._iter.__iterate((function(e){return t(e,r++,n)}),e)},Ne.prototype.__iterator=function(t,e){var n=this._iter.__iterator(1,e),r=0;return new A((function(){var e=n.next();return e.done?e:T(t,r++,e.value,e)}))},e(Ae,Y),Ae.prototype.has=function(t){return this._iter.includes(t)},Ae.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate((function(e){return t(e,e,n)}),e)},Ae.prototype.__iterator=function(t,e){var n=this._iter.__iterator(1,e);return new A((function(){var e=n.next();return e.done?e:T(t,e.value,e.value,e)}))},e(Te,H),Te.prototype.entrySeq=function(){return this._iter.toSeq()},Te.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate((function(e){if(e){Ve(e);var r=a(e);return t(r?e.get(1):e[1],r?e.get(0):e[0],n)}}),e)},Te.prototype.__iterator=function(t,e){var n=this._iter.__iterator(1,e);return new A((function(){for(;;){var e=n.next();if(e.done)return e;var r=e.value;if(r){Ve(r);var o=a(r);return T(t,o?r.get(0):r[0],o?r.get(1):r[1],e)}}}))},Ne.prototype.cacheResult=Le.prototype.cacheResult=Ae.prototype.cacheResult=Te.prototype.cacheResult=$e,e(nn,mt),nn.prototype.toString=function(){return this.__toString(an(this)+" {","}")},nn.prototype.has=function(t){return this._defaultValues.hasOwnProperty(t)},nn.prototype.get=function(t,e){if(!this.has(t))return e;var n=this._defaultValues[t];return this._map?this._map.get(t,n):n},nn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var t=this.constructor;return t._empty||(t._empty=on(this,Vt()))},nn.prototype.set=function(t,e){if(!this.has(t))throw new Error('Cannot set unknown key "'+t+'" on '+an(this));var n=this._map&&this._map.set(t,e);return this.__ownerID||n===this._map?this:on(this,n)},nn.prototype.remove=function(t){if(!this.has(t))return this;var e=this._map&&this._map.remove(t);return this.__ownerID||e===this._map?this:on(this,e)},nn.prototype.wasAltered=function(){return this._map.wasAltered()},nn.prototype.__iterator=function(t,e){var n=this;return r(this._defaultValues).map((function(t,e){return n.get(e)})).__iterator(t,e)},nn.prototype.__iterate=function(t,e){var n=this;return r(this._defaultValues).map((function(t,e){return n.get(e)})).__iterate(t,e)},nn.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map&&this._map.__ensureOwner(t);return t?on(this,e,t):(this.__ownerID=t,this._map=e,this)};var rn=nn.prototype;function on(t,e,n){var r=Object.create(Object.getPrototypeOf(t));return r._map=e,r.__ownerID=n,r}function an(t){return t._name||t.constructor.name||"Record"}function sn(t,e){Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){ht(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}function cn(t){return null==t?yn():un(t)&&!l(t)?t:yn().withMutations((function(e){var n=i(t);At(n.size),n.forEach((function(t){return e.add(t)}))}))}function un(t){return!(!t||!t[pn])}rn.delete=rn.remove,rn.deleteIn=rn.removeIn=Bt.removeIn,rn.merge=Bt.merge,rn.mergeWith=Bt.mergeWith,rn.mergeIn=Bt.mergeIn,rn.mergeDeep=Bt.mergeDeep,rn.mergeDeepWith=Bt.mergeDeepWith,rn.mergeDeepIn=Bt.mergeDeepIn,rn.setIn=Bt.setIn,rn.update=Bt.update,rn.updateIn=Bt.updateIn,rn.withMutations=Bt.withMutations,rn.asMutable=Bt.asMutable,rn.asImmutable=Bt.asImmutable,e(cn,bt),cn.of=function(){return this(arguments)},cn.fromKeys=function(t){return this(r(t).keySeq())},cn.prototype.toString=function(){return this.__toString("Set {","}")},cn.prototype.has=function(t){return this._map.has(t)},cn.prototype.add=function(t){return dn(this,this._map.set(t,!0))},cn.prototype.remove=function(t){return dn(this,this._map.remove(t))},cn.prototype.clear=function(){return dn(this,this._map.clear())},cn.prototype.union=function(){var e=t.call(arguments,0);return 0===(e=e.filter((function(t){return 0!==t.size}))).length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations((function(t){for(var n=0;n<e.length;n++)i(e[n]).forEach((function(e){return t.add(e)}))})):this.constructor(e[0])},cn.prototype.intersect=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map((function(t){return i(t)}));var n=this;return this.withMutations((function(t){n.forEach((function(n){e.every((function(t){return t.includes(n)}))||t.remove(n)}))}))},cn.prototype.subtract=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map((function(t){return i(t)}));var n=this;return this.withMutations((function(t){n.forEach((function(n){e.some((function(t){return t.includes(n)}))&&t.remove(n)}))}))},cn.prototype.merge=function(){return this.union.apply(this,arguments)},cn.prototype.mergeWith=function(e){var n=t.call(arguments,1);return this.union.apply(this,n)},cn.prototype.sort=function(t){return gn(qe(this,t))},cn.prototype.sortBy=function(t,e){return gn(qe(this,e,t))},cn.prototype.wasAltered=function(){return this._map.wasAltered()},cn.prototype.__iterate=function(t,e){var n=this;return this._map.__iterate((function(e,r){return t(r,r,n)}),e)},cn.prototype.__iterator=function(t,e){return this._map.map((function(t,e){return e})).__iterator(t,e)},cn.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t);return t?this.__make(e,t):(this.__ownerID=t,this._map=e,this)},cn.isSet=un;var ln,pn="@@__IMMUTABLE_SET__@@",fn=cn.prototype;function dn(t,e){return t.__ownerID?(t.size=e.size,t._map=e,t):e===t._map?t:0===e.size?t.__empty():t.__make(e)}function hn(t,e){var n=Object.create(fn);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function yn(){return ln||(ln=hn(Vt()))}function gn(t){return null==t?wn():mn(t)?t:wn().withMutations((function(e){var n=i(t);At(n.size),n.forEach((function(t){return e.add(t)}))}))}function mn(t){return un(t)&&l(t)}fn[pn]=!0,fn.delete=fn.remove,fn.mergeDeep=fn.merge,fn.mergeDeepWith=fn.mergeWith,fn.withMutations=Bt.withMutations,fn.asMutable=Bt.asMutable,fn.asImmutable=Bt.asImmutable,fn.__empty=yn,fn.__make=hn,e(gn,cn),gn.of=function(){return this(arguments)},gn.fromKeys=function(t){return this(r(t).keySeq())},gn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},gn.isOrderedSet=mn;var vn,bn=gn.prototype;function _n(t,e){var n=Object.create(bn);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function wn(){return vn||(vn=_n(Oe()))}function Sn(t){return null==t?jn():Mn(t)?t:jn().unshiftAll(t)}function Mn(t){return!(!t||!t[xn])}bn[h]=!0,bn.__empty=wn,bn.__make=_n,e(Sn,vt),Sn.of=function(){return this(arguments)},Sn.prototype.toString=function(){return this.__toString("Stack [","]")},Sn.prototype.get=function(t,e){var n=this._head;for(t=x(this,t);n&&t--;)n=n.next;return n?n.value:e},Sn.prototype.peek=function(){return this._head&&this._head.value},Sn.prototype.push=function(){if(0===arguments.length)return this;for(var t=this.size+arguments.length,e=this._head,n=arguments.length-1;n>=0;n--)e={value:arguments[n],next:e};return this.__ownerID?(this.size=t,this._head=e,this.__hash=void 0,this.__altered=!0,this):Cn(t,e)},Sn.prototype.pushAll=function(t){if(0===(t=o(t)).size)return this;At(t.size);var e=this.size,n=this._head;return t.reverse().forEach((function(t){e++,n={value:t,next:n}})),this.__ownerID?(this.size=e,this._head=n,this.__hash=void 0,this.__altered=!0,this):Cn(e,n)},Sn.prototype.pop=function(){return this.slice(1)},Sn.prototype.unshift=function(){return this.push.apply(this,arguments)},Sn.prototype.unshiftAll=function(t){return this.pushAll(t)},Sn.prototype.shift=function(){return this.pop.apply(this,arguments)},Sn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):jn()},Sn.prototype.slice=function(t,e){if(C(t,e,this.size))return this;var n=j(t,this.size);if(D(e,this.size)!==this.size)return vt.prototype.slice.call(this,t,e);for(var r=this.size-n,o=this._head;n--;)o=o.next;return this.__ownerID?(this.size=r,this._head=o,this.__hash=void 0,this.__altered=!0,this):Cn(r,o)},Sn.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Cn(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},Sn.prototype.__iterate=function(t,e){if(e)return this.reverse().__iterate(t);for(var n=0,r=this._head;r&&!1!==t(r.value,n++,this);)r=r.next;return n},Sn.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var n=0,r=this._head;return new A((function(){if(r){var e=r.value;return r=r.next,T(t,n++,e)}return{value:void 0,done:!0}}))},Sn.isStack=Mn;var En,xn="@@__IMMUTABLE_STACK__@@",kn=Sn.prototype;function Cn(t,e,n,r){var o=Object.create(kn);return o.size=t,o._head=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function jn(){return En||(En=Cn(0))}function Dn(t,e){var n=function(n){t.prototype[n]=e[n]};return Object.keys(e).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n),t}kn[xn]=!0,kn.withMutations=Bt.withMutations,kn.asMutable=Bt.asMutable,kn.asImmutable=Bt.asImmutable,kn.wasAltered=Bt.wasAltered,n.Iterator=A,Dn(n,{toArray:function(){At(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate((function(e,n){t[n]=e})),t},toIndexedSeq:function(){return new Ne(this)},toJS:function(){return this.toSeq().map((function(t){return t&&"function"==typeof t.toJS?t.toJS():t})).__toJS()},toJSON:function(){return this.toSeq().map((function(t){return t&&"function"==typeof t.toJSON?t.toJSON():t})).__toJS()},toKeyedSeq:function(){return new Le(this,!0)},toMap:function(){return Tt(this.toKeyedSeq())},toObject:function(){At(this.size);var t={};return this.__iterate((function(e,n){t[n]=e})),t},toOrderedMap:function(){return Ce(this.toKeyedSeq())},toOrderedSet:function(){return gn(s(this)?this.valueSeq():this)},toSet:function(){return cn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Ae(this)},toSeq:function(){return c(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Sn(s(this)?this.valueSeq():this)},toList:function(){return le(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){return Ze(this,Ke(this,t.call(arguments,0)))},includes:function(t){return this.some((function(e){return pt(e,t)}))},entries:function(){return this.__iterator(2)},every:function(t,e){At(this.size);var n=!0;return this.__iterate((function(r,o,i){if(!t.call(e,r,o,i))return n=!1,!1})),n},filter:function(t,e){return Ze(this,Be(this,t,e,!0))},find:function(t,e,n){var r=this.findEntry(t,e);return r?r[1]:n},findEntry:function(t,e){var n;return this.__iterate((function(r,o,i){if(t.call(e,r,o,i))return n=[o,r],!1})),n},findLastEntry:function(t,e){return this.toSeq().reverse().findEntry(t,e)},forEach:function(t,e){return At(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){At(this.size),t=void 0!==t?""+t:",";var e="",n=!0;return this.__iterate((function(r){n?n=!1:e+=t,e+=null!=r?r.toString():""})),e},keys:function(){return this.__iterator(0)},map:function(t,e){return Ze(this,Re(this,t,e))},reduce:function(t,e,n){var r,o;return At(this.size),arguments.length<2?o=!0:r=e,this.__iterate((function(e,i,a){o?(o=!1,r=e):r=t.call(n,r,e,i,a)})),r},reduceRight:function(t,e,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return Ze(this,Pe(this,!0))},slice:function(t,e){return Ze(this,Fe(this,t,e,!0))},some:function(t,e){return!this.every(An(t),e)},sort:function(t){return Ze(this,qe(this,t))},values:function(){return this.__iterator(1)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(t,e){return E(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return function(t,e,n){var r=Tt().asMutable();return t.__iterate((function(o,i){r.update(e.call(n,o,i,t),0,(function(t){return t+1}))})),r.asImmutable()}(this,t,e)},equals:function(t){return ft(this,t)},entrySeq:function(){var t=this;if(t._cache)return new G(t._cache);var e=t.toSeq().map(Nn).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(An(t),e)},findLast:function(t,e,n){return this.toKeyedSeq().reverse().find(t,e,n)},first:function(){return this.find(k)},flatMap:function(t,e){return Ze(this,function(t,e,n){var r=Je(t);return t.toSeq().map((function(o,i){return r(e.call(n,o,i,t))})).flatten(!0)}(this,t,e))},flatten:function(t){return Ze(this,He(this,t,!0))},fromEntrySeq:function(){return new Te(this)},get:function(t,e){return this.find((function(e,n){return pt(n,t)}),void 0,e)},getIn:function(t,e){for(var n,r=this,o=en(t);!(n=o.next()).done;){var i=n.value;if((r=r&&r.get?r.get(i,m):m)===m)return e}return r},groupBy:function(t,e){return function(t,e,n){var r=s(t),o=(l(t)?Ce():Tt()).asMutable();t.__iterate((function(i,a){o.update(e.call(n,i,a,t),(function(t){return(t=t||[]).push(r?[a,i]:i),t}))}));var i=Je(t);return o.map((function(e){return Ze(t,i(e))}))}(this,t,e)},has:function(t){return this.get(t,m)!==m},hasIn:function(t){return this.getIn(t,m)!==m},isSubset:function(t){return t="function"==typeof t.includes?t:n(t),this.every((function(e){return t.includes(e)}))},isSuperset:function(t){return(t="function"==typeof t.isSubset?t:n(t)).isSubset(this)},keySeq:function(){return this.toSeq().map(Ln).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(t){return Ye(this,t)},maxBy:function(t,e){return Ye(this,e,t)},min:function(t){return Ye(this,t?Tn(t):Pn)},minBy:function(t,e){return Ye(this,e?Tn(e):Pn,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return Ze(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return Ze(this,Ue(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(An(t),e)},sortBy:function(t,e){return Ze(this,qe(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return Ze(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return Ze(this,function(t,e,n){var r=Xe(t);return r.__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var a=0;return t.__iterate((function(t,o,s){return e.call(n,t,o,s)&&++a&&r(t,o,i)})),a},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var a=t.__iterator(2,o),s=!0;return new A((function(){if(!s)return{value:void 0,done:!0};var t=a.next();if(t.done)return t;var o=t.value,c=o[0],u=o[1];return e.call(n,u,c,i)?2===r?t:T(r,c,u,t):(s=!1,{value:void 0,done:!0})}))},r}(this,t,e))},takeUntil:function(t,e){return this.takeWhile(An(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(t){if(t.size===1/0)return 0;var e=l(t),n=s(t),r=e?1:0;return function(t,e){return e=_t(e,3432918353),e=_t(e<<15|e>>>-15,461845907),e=_t(e<<13|e>>>-13,5),e=_t((e=(e+3864292196|0)^t)^e>>>16,2246822507),wt((e=_t(e^e>>>13,3266489909))^e>>>16)}(t.__iterate(n?e?function(t,e){r=31*r+Bn(St(t),St(e))|0}:function(t,e){r=r+Bn(St(t),St(e))|0}:e?function(t){r=31*r+St(t)|0}:function(t){r=r+St(t)|0}),r)}(this))}});var On=n.prototype;On[p]=!0,On[N]=On.values,On.__toJS=On.toArray,On.__toStringMapper=zn,On.inspect=On.toSource=function(){return this.toString()},On.chain=On.flatMap,On.contains=On.includes,function(){try{Object.defineProperty(On,"length",{get:function(){if(!n.noLengthWarning){var t;try{throw new Error}catch(e){t=e.stack}if(-1===t.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+t),this.size}}})}catch(t){}}(),Dn(r,{flip:function(){return Ze(this,ze(this))},findKey:function(t,e){var n=this.findEntry(t,e);return n&&n[0]},findLastKey:function(t,e){return this.toSeq().reverse().findKey(t,e)},keyOf:function(t){return this.findKey((function(e){return pt(e,t)}))},lastKeyOf:function(t){return this.findLastKey((function(e){return pt(e,t)}))},mapEntries:function(t,e){var n=this,r=0;return Ze(this,this.toSeq().map((function(o,i){return t.call(e,[i,o],r++,n)})).fromEntrySeq())},mapKeys:function(t,e){var n=this;return Ze(this,this.toSeq().flip().map((function(r,o){return t.call(e,r,o,n)})).flip())}});var In=r.prototype;function Ln(t,e){return e}function Nn(t,e){return[e,t]}function An(t){return function(){return!t.apply(this,arguments)}}function Tn(t){return function(){return-t.apply(this,arguments)}}function zn(t){return"string"==typeof t?JSON.stringify(t):t}function Rn(){return M(arguments)}function Pn(t,e){return t<e?1:t>e?-1:0}function Bn(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}return In[f]=!0,In[N]=On.entries,In.__toJS=On.toObject,In.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+zn(t)},Dn(o,{toKeyedSeq:function(){return new Le(this,!1)},filter:function(t,e){return Ze(this,Be(this,t,e,!1))},findIndex:function(t,e){var n=this.findEntry(t,e);return n?n[0]:-1},indexOf:function(t){var e=this.toKeyedSeq().keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.toKeyedSeq().reverse().keyOf(t);return void 0===e?-1:e},reverse:function(){return Ze(this,Pe(this,!1))},slice:function(t,e){return Ze(this,Fe(this,t,e,!1))},splice:function(t,e){var n=arguments.length;if(e=Math.max(0|e,0),0===n||2===n&&!e)return this;t=j(t,t<0?this.count():this.size);var r=this.slice(0,t);return Ze(this,1===n?r:r.concat(M(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var n=this.toKeyedSeq().findLastKey(t,e);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(t){return Ze(this,He(this,t,!1))},get:function(t,e){return(t=x(this,t))<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find((function(e,n){return n===t}),void 0,e)},has:function(t){return(t=x(this,t))>=0&&(void 0!==this.size?this.size===1/0||t<this.size:-1!==this.indexOf(t))},interpose:function(t){return Ze(this,function(t,e){var n=Xe(t);return n.size=t.size&&2*t.size-1,n.__iterateUncached=function(n,r){var o=this,i=0;return t.__iterate((function(t,r){return(!i||!1!==n(e,i++,o))&&!1!==n(t,i++,o)}),r),i},n.__iteratorUncached=function(n,r){var o,i=t.__iterator(1,r),a=0;return new A((function(){return(!o||a%2)&&(o=i.next()).done?o:a%2?T(n,a++,e):T(n,a++,o.value,o)}))},n}(this,t))},interleave:function(){var t=[this].concat(M(arguments)),e=Qe(this.toSeq(),q.of,t),n=e.flatten(!0);return e.size&&(n.size=e.size*t.length),Ze(this,n)},last:function(){return this.get(-1)},skipWhile:function(t,e){return Ze(this,Ue(this,t,e,!1))},zip:function(){return Ze(this,Qe(this,Rn,[this].concat(M(arguments))))},zipWith:function(t){var e=M(arguments);return e[0]=this,Ze(this,Qe(this,t,e))}}),o.prototype[d]=!0,o.prototype[h]=!0,Dn(i,{get:function(t,e){return this.has(t)?t:e},includes:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}}),i.prototype.has=On.includes,Dn(H,r.prototype),Dn(q,o.prototype),Dn(Y,i.prototype),Dn(mt,r.prototype),Dn(vt,o.prototype),Dn(bt,i.prototype),{Iterable:n,Seq:K,Collection:gt,Map:Tt,OrderedMap:Ce,List:le,Stack:Sn,Set:cn,OrderedSet:gn,Record:nn,Range:yt,Repeat:dt,is:pt,fromJS:st}}()},82568:(t,e,n)=>{"use strict";function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){o(t,e,n[e])}))}return t}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var i=n(38046),a=n(28),s=n(39806),c=n(72368),u=n(84055),l=n(46238),p=n(84894),f=n(27936),d=n(18489),h=n(58710),y=f("draft_tree_data_support"),g=y?c:s,m=d.List,v=d.Repeat,b={insertAtomicBlock:function(t,e,n){var o=t.getCurrentContent(),s=t.getSelection(),c=u.removeRange(o,s,"backward"),f=c.getSelectionAfter(),d=u.splitBlock(c,f),h=d.getSelectionAfter(),b=u.setBlockType(d,h,"atomic"),_=a.create({entity:e}),w={key:p(),type:"atomic",text:n,characterList:m(v(_,n.length))},S={key:p(),type:"unstyled"};y&&(w=r({},w,{nextSibling:S.key}),S=r({},S,{prevSibling:w.key}));var M=[new g(w),new g(S)],E=i.createFromArray(M),x=u.replaceWithFragment(b,h,E),k=x.merge({selectionBefore:s,selectionAfter:x.getSelectionAfter().set("hasFocus",!0)});return l.push(t,k,"insert-fragment")},moveAtomicBlock:function(t,e,n,r){var o,i=t.getCurrentContent(),a=t.getSelection();if("before"===r||"after"===r){var s=i.getBlockForKey("before"===r?n.getStartKey():n.getEndKey());o=h(i,e,s,r)}else{var c=u.removeRange(i,n,"backward"),p=c.getSelectionAfter(),f=c.getBlockForKey(p.getFocusKey());if(0===p.getStartOffset())o=h(c,e,f,"before");else if(p.getEndOffset()===f.getLength())o=h(c,e,f,"after");else{var d=u.splitBlock(c,p),y=d.getSelectionAfter(),g=d.getBlockForKey(y.getFocusKey());o=h(d,e,g,"before")}}var m=o.merge({selectionBefore:a,selectionAfter:o.getSelectionAfter().set("hasFocus",!0)});return l.push(t,m,"move-block")}};t.exports=b},38046:(t,e,n)=>{"use strict";var r=n(18489).OrderedMap,o={createFromArray:function(t){return r(t.map((function(t){return[t.getKey(),t]})))}};t.exports=o},39893:(t,e,n)=>{"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(90754),i=n(14723),a=n(18489),s=a.List,c=a.Repeat,u=a.Record,l=function(){return!0},p=u({start:null,end:null}),f=u({start:null,end:null,decoratorKey:null,leaves:null}),d={generate:function(t,e,n){var r=e.getLength();if(!r)return s.of(new f({start:0,end:0,decoratorKey:null,leaves:s.of(new p({start:0,end:0}))}));var i=[],a=n?n.getDecorations(e,t):s(c(null,r)),u=e.getCharacterList();return o(a,h,l,(function(t,e){var n,r,c,d;i.push(new f({start:t,end:e,decoratorKey:a.get(t),leaves:(n=u.slice(t,e).toList(),r=t,c=[],d=n.map((function(t){return t.getStyle()})).toList(),o(d,h,l,(function(t,e){c.push(new p({start:t+r,end:e+r}))})),s(c))}))})),s(i)},fromJS:function(t){var e=t.leaves,n=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,["leaves"]);return new f(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),o.forEach((function(e){r(t,e,n[e])}))}return t}({},n,{leaves:null!=e?s(Array.isArray(e)?e:i(e)).map((function(t){return p(t)})):null}))}};function h(t,e){return t===e}t.exports=d},28:(t,e,n)=>{"use strict";var r=n(18489),o=r.Map,i=r.OrderedSet,a=r.Record,s=i(),c={style:s,entity:null},u=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=r.prototype;return a.getStyle=function(){return this.get("style")},a.getEntity=function(){return this.get("entity")},a.hasStyle=function(t){return this.getStyle().includes(t)},r.applyStyle=function(t,e){var n=t.set("style",t.getStyle().add(e));return r.create(n)},r.removeStyle=function(t,e){var n=t.set("style",t.getStyle().remove(e));return r.create(n)},r.applyEntity=function(t,e){var n=t.getEntity()===e?t:t.set("entity",e);return r.create(n)},r.create=function(t){if(!t)return l;var e=o({style:s,entity:null}).merge(t),n=p.get(e);if(n)return n;var i=new r(e);return p=p.set(e,i),i},r.fromJS=function(t){var e=t.style,n=t.entity;return new r({style:Array.isArray(e)?i(e):e,entity:Array.isArray(n)?i(n):n})},r}(a(c)),l=new u,p=o([[o(c),l]]);u.EMPTY=l,t.exports=u},68542:(t,e,n)=>{"use strict";var r=n(18489).List,o=function(){function t(t){var e,n;n=void 0,(e="_decorators")in this?Object.defineProperty(this,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):this[e]=n,this._decorators=t.slice()}var e=t.prototype;return e.getDecorations=function(t,e){var n=Array(t.getText().length).fill(null);return this._decorators.forEach((function(r,o){var i=0;(0,r.strategy)(t,(function(t,e){(function(t,e,n){for(var r=e;r<n;r++)if(null!=t[r])return!1;return!0})(n,t,e)&&(function(t,e,n,r){for(var o=e;o<n;o++)t[o]=r}(n,t,e,o+"."+i),i++)}),e)})),r(n)},e.getComponentForKey=function(t){var e=parseInt(t.split(".")[0],10);return this._decorators[e].component},e.getPropsForKey=function(t){var e=parseInt(t.split(".")[0],10);return this._decorators[e].props},t}();t.exports=o},39806:(t,e,n)=>{"use strict";var r=n(28),o=n(90754),i=n(18489),a=i.List,s=i.Map,c=i.OrderedSet,u=i.Record,l=i.Repeat,p=c(),f=function(t){var e,n;function i(e){return t.call(this,function(t){if(!t)return t;var e=t.characterList,n=t.text;return n&&!e&&(t.characterList=a(l(r.EMPTY,n.length))),t}(e))||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var s=i.prototype;return s.getKey=function(){return this.get("key")},s.getType=function(){return this.get("type")},s.getText=function(){return this.get("text")},s.getCharacterList=function(){return this.get("characterList")},s.getLength=function(){return this.getText().length},s.getDepth=function(){return this.get("depth")},s.getData=function(){return this.get("data")},s.getInlineStyleAt=function(t){var e=this.getCharacterList().get(t);return e?e.getStyle():p},s.getEntityAt=function(t){var e=this.getCharacterList().get(t);return e?e.getEntity():null},s.findStyleRanges=function(t,e){o(this.getCharacterList(),d,t,e)},s.findEntityRanges=function(t,e){o(this.getCharacterList(),h,t,e)},i}(u({key:"",type:"unstyled",text:"",characterList:a(),depth:0,data:s()}));function d(t,e){return t.getStyle()===e.getStyle()}function h(t,e){return t.getEntity()===e.getEntity()}t.exports=f},72368:(t,e,n)=>{"use strict";var r=n(28),o=n(90754),i=n(18489),a=i.List,s=i.Map,c=i.OrderedSet,u=i.Record,l=i.Repeat,p=c(),f={parent:null,characterList:a(),data:s(),depth:0,key:"",text:"",type:"unstyled",children:a(),prevSibling:null,nextSibling:null},d=function(t,e){return t.getStyle()===e.getStyle()},h=function(t,e){return t.getEntity()===e.getEntity()},y=function(t){if(!t)return t;var e=t.characterList,n=t.text;return n&&!e&&(t.characterList=a(l(r.EMPTY,n.length))),t},g=function(t){var e,n;function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f;return t.call(this,y(e))||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var i=r.prototype;return i.getKey=function(){return this.get("key")},i.getType=function(){return this.get("type")},i.getText=function(){return this.get("text")},i.getCharacterList=function(){return this.get("characterList")},i.getLength=function(){return this.getText().length},i.getDepth=function(){return this.get("depth")},i.getData=function(){return this.get("data")},i.getInlineStyleAt=function(t){var e=this.getCharacterList().get(t);return e?e.getStyle():p},i.getEntityAt=function(t){var e=this.getCharacterList().get(t);return e?e.getEntity():null},i.getChildKeys=function(){return this.get("children")},i.getParentKey=function(){return this.get("parent")},i.getPrevSiblingKey=function(){return this.get("prevSibling")},i.getNextSiblingKey=function(){return this.get("nextSibling")},i.findStyleRanges=function(t,e){o(this.getCharacterList(),d,t,e)},i.findEntityRanges=function(t,e){o(this.getCharacterList(),h,t,e)},r}(u(f));t.exports=g},10789:(t,e,n)=>{"use strict";function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){o(t,e,n[e])}))}return t}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var i=n(38046),a=n(28),s=n(39806),c=n(72368),u=n(3031),l=n(69806),p=n(84894),f=n(14723),d=n(27936),h=n(18489),y=n(24844),g=h.List,m=h.Record,v=h.Repeat,b=h.Map,_=h.OrderedMap,w=m({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),S=d("draft_tree_data_support")?c:s,M=function(t){var e,n;function o(){return t.apply(this,arguments)||this}n=t,(e=o).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var s=o.prototype;return s.getEntityMap=function(){return u},s.getBlockMap=function(){return this.get("blockMap")},s.getSelectionBefore=function(){return this.get("selectionBefore")},s.getSelectionAfter=function(){return this.get("selectionAfter")},s.getBlockForKey=function(t){return this.getBlockMap().get(t)},s.getKeyBefore=function(t){return this.getBlockMap().reverse().keySeq().skipUntil((function(e){return e===t})).skip(1).first()},s.getKeyAfter=function(t){return this.getBlockMap().keySeq().skipUntil((function(e){return e===t})).skip(1).first()},s.getBlockAfter=function(t){return this.getBlockMap().skipUntil((function(e,n){return n===t})).skip(1).first()},s.getBlockBefore=function(t){return this.getBlockMap().reverse().skipUntil((function(e,n){return n===t})).skip(1).first()},s.getBlocksAsArray=function(){return this.getBlockMap().toArray()},s.getFirstBlock=function(){return this.getBlockMap().first()},s.getLastBlock=function(){return this.getBlockMap().last()},s.getPlainText=function(t){return this.getBlockMap().map((function(t){return t?t.getText():""})).join(t||"\n")},s.getLastCreatedEntityKey=function(){return u.__getLastCreatedEntityKey()},s.hasText=function(){var t=this.getBlockMap();return t.size>1||escape(t.first().getText()).replace(/%u200B/g,"").length>0},s.createEntity=function(t,e,n){return u.__create(t,e,n),this},s.mergeEntityData=function(t,e){return u.__mergeData(t,e),this},s.replaceEntityData=function(t,e){return u.__replaceData(t,e),this},s.addEntity=function(t){return u.__add(t),this},s.getEntity=function(t){return u.__get(t)},s.getAllEntities=function(){return u.__getAll()},s.loadWithEntities=function(t){return u.__loadWithEntities(t)},o.createFromBlockArray=function(t,e){var n=Array.isArray(t)?t:t.contentBlocks,r=i.createFromArray(n),a=r.isEmpty()?new l:l.createEmpty(r.first().getKey());return new o({blockMap:r,entityMap:e||u,selectionBefore:a,selectionAfter:a})},o.createFromText=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,n=t.split(e),r=n.map((function(t){return t=y(t),new S({key:p(),text:t,type:"unstyled",characterList:g(v(a.EMPTY,t.length))})}));return o.createFromBlockArray(r)},o.fromJS=function(t){return new o(r({},t,{blockMap:_(t.blockMap).map(o.createContentBlockFromJS),selectionBefore:new l(t.selectionBefore),selectionAfter:new l(t.selectionAfter)}))},o.createContentBlockFromJS=function(t){var e=t.characterList;return new S(r({},t,{data:b(t.data),characterList:null!=e?g((Array.isArray(e)?e:f(e)).map((function(t){return a.fromJS(t)}))):void 0}))},o}(w);t.exports=M},76520:(t,e,n)=>{"use strict";var r=n(28),o=n(18489).Map,i={add:function(t,e,n){return a(t,e,n,!0)},remove:function(t,e,n){return a(t,e,n,!1)}};function a(t,e,n,i){var a=t.getBlockMap(),s=e.getStartKey(),c=e.getStartOffset(),u=e.getEndKey(),l=e.getEndOffset(),p=a.skipUntil((function(t,e){return e===s})).takeUntil((function(t,e){return e===u})).concat(o([[u,a.get(u)]])).map((function(t,e){var o,a;s===u?(o=c,a=l):(o=e===s?c:0,a=e===u?l:t.getLength());for(var p,f=t.getCharacterList();o<a;)p=f.get(o),f=f.set(o,i?r.applyStyle(p,n):r.removeStyle(p,n)),o++;return t.set("characterList",f)}));return t.merge({blockMap:a.merge(p),selectionBefore:e,selectionAfter:e})}t.exports=i},74241:(t,e,n)=>{"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(91355),i=n(59321),a=n(52868),s=n(18489),c=n(73012),u=n(98392),l=s.Map,p={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},f=o.isBrowser("IE <= 11"),d=function(){function t(t){var e=this;r(this,"observer",void 0),r(this,"container",void 0),r(this,"mutations",void 0),r(this,"onCharData",void 0),this.container=t,this.mutations=l();var n=a(t);n.MutationObserver&&!f?this.observer=new n.MutationObserver((function(t){return e.registerMutations(t)})):this.onCharData=function(t){t.target instanceof Node||c(!1),e.registerMutation({type:"characterData",target:t.target})}}var e=t.prototype;return e.start=function(){this.observer?this.observer.observe(this.container,p):this.container.addEventListener("DOMCharacterDataModified",this.onCharData)},e.stopAndFlushMutations=function(){var t=this.observer;t?(this.registerMutations(t.takeRecords()),t.disconnect()):this.container.removeEventListener("DOMCharacterDataModified",this.onCharData);var e=this.mutations;return this.mutations=l(),e},e.registerMutations=function(t){for(var e=0;e<t.length;e++)this.registerMutation(t[e])},e.getMutationTextContent=function(t){var e=t.type,n=t.target,r=t.removedNodes;if("characterData"===e){if(""!==n.textContent)return f?n.textContent.replace("\n",""):n.textContent}else if("childList"===e){if(r&&r.length)return"";if(""!==n.textContent)return n.textContent}return null},e.registerMutation=function(t){var e=this.getMutationTextContent(t);if(null!=e){var n=u(i(t.target));this.mutations=this.mutations.set(n,e)}},t}();t.exports=d},74682:(t,e,n)=>{"use strict";var r=n(1024),o=n(2775),i=(0,n(18489).Map)({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},section:{element:"section"},article:{element:"article"},"unordered-list-item":{element:"li",wrapper:r.createElement("ul",{className:o("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:r.createElement("ol",{className:o("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:r.createElement("pre",{className:o("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}});t.exports=i},45608:t=>{"use strict";t.exports={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}}},6880:(t,e,n)=>{"use strict";var r=n(82568),o=n(38046),i=n(28),a=n(68542),s=n(39806),c=n(10789),u=n(74682),l=n(45608),p=n(75949),f=n(84030),d=n(3031),h=n(84055),y=n(91825),g=n(46238),m=n(76944),v=n(28484),b=n(93626),_=n(69806),w=n(40313),S=n(80618),M=n(84894),E=n(91741),x=n(602),k={Editor:p,EditorBlock:f,EditorState:g,CompositeDecorator:a,Entity:d,EntityInstance:y,BlockMapBuilder:o,CharacterMetadata:i,ContentBlock:s,ContentState:c,RawDraftContentState:v,SelectionState:_,AtomicBlockUtils:r,KeyBindingUtil:m,Modifier:h,RichUtils:b,DefaultDraftBlockRenderMap:u,DefaultDraftInlineStyle:l,convertFromHTML:n(97614),convertFromRaw:S,convertToRaw:w,genKey:M,getDefaultKeyBinding:E,getVisibleSelectionRect:x};t.exports=k},75949:(t,e,n)=>{"use strict";var r=n(54516);function o(){return o=r||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o.apply(this,arguments)}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){s(t,e,n[e])}))}return t}function a(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function c(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var u=n(74682),l=n(45608),p=n(3431),f=n(10989),d=n(83567),h=n(49199),y=n(823),g=n(20398),m=n(62599),v=n(46238),b=n(1024),_=n(31675),w=n(99986),S=n(91355),M=n(2775),E=n(84894),x=n(91741),k=n(51702),C=n(27936),j=n(73012),D=n(8187),O=n(98392),I=S.isBrowser("IE"),L=!I,N={edit:h,composite:p,drag:d,cut:null,render:null},A=!1,T=function(t){function e(){return t.apply(this,arguments)||this}c(e,t);var n=e.prototype;return n.render=function(){return null},n.componentDidMount=function(){this._update()},n.componentDidUpdate=function(){this._update()},n._update=function(){var t=this.props.editor;t._latestEditorState=this.props.editorState,t._blockSelectEvents=!0},e}(b.Component),z=function(t){function e(e){var n;return s(a(n=t.call(this,e)||this),"_blockSelectEvents",void 0),s(a(n),"_clipboard",void 0),s(a(n),"_handler",void 0),s(a(n),"_dragCount",void 0),s(a(n),"_internalDrag",void 0),s(a(n),"_editorKey",void 0),s(a(n),"_placeholderAccessibilityID",void 0),s(a(n),"_latestEditorState",void 0),s(a(n),"_latestCommittedEditorState",void 0),s(a(n),"_pendingStateFromBeforeInput",void 0),s(a(n),"_onBeforeInput",void 0),s(a(n),"_onBlur",void 0),s(a(n),"_onCharacterData",void 0),s(a(n),"_onCompositionEnd",void 0),s(a(n),"_onCompositionStart",void 0),s(a(n),"_onCopy",void 0),s(a(n),"_onCut",void 0),s(a(n),"_onDragEnd",void 0),s(a(n),"_onDragOver",void 0),s(a(n),"_onDragStart",void 0),s(a(n),"_onDrop",void 0),s(a(n),"_onInput",void 0),s(a(n),"_onFocus",void 0),s(a(n),"_onKeyDown",void 0),s(a(n),"_onKeyPress",void 0),s(a(n),"_onKeyUp",void 0),s(a(n),"_onMouseDown",void 0),s(a(n),"_onMouseUp",void 0),s(a(n),"_onPaste",void 0),s(a(n),"_onSelect",void 0),s(a(n),"editor",void 0),s(a(n),"editorContainer",void 0),s(a(n),"focus",void 0),s(a(n),"blur",void 0),s(a(n),"setMode",void 0),s(a(n),"exitCurrentMode",void 0),s(a(n),"restoreEditorDOM",void 0),s(a(n),"setClipboard",void 0),s(a(n),"getClipboard",void 0),s(a(n),"getEditorKey",void 0),s(a(n),"update",void 0),s(a(n),"onDragEnter",void 0),s(a(n),"onDragLeave",void 0),s(a(n),"_handleEditorContainerRef",(function(t){n.editorContainer=t,n.editor=null!==t?t.firstChild:null})),s(a(n),"focus",(function(t){var e=n.props.editorState,r=e.getSelection().getHasFocus(),o=n.editor;if(o){var i=w.getScrollParent(o),a=t||k(i),s=a.x,c=a.y;D(o)||j(!1),o.focus(),i===window?window.scrollTo(s,c):_.setTop(i,c),r||n.update(v.forceSelection(e,e.getSelection()))}})),s(a(n),"blur",(function(){var t=n.editor;t&&(D(t)||j(!1),t.blur())})),s(a(n),"setMode",(function(t){var e=n.props,r=e.onPaste,o=e.onCut,a=e.onCopy,s=i({},N.edit);r&&(s.onPaste=r),o&&(s.onCut=o),a&&(s.onCopy=a);var c=i({},N,{edit:s});n._handler=c[t]})),s(a(n),"exitCurrentMode",(function(){n.setMode("edit")})),s(a(n),"restoreEditorDOM",(function(t){n.setState({contentsKey:n.state.contentsKey+1},(function(){n.focus(t)}))})),s(a(n),"setClipboard",(function(t){n._clipboard=t})),s(a(n),"getClipboard",(function(){return n._clipboard})),s(a(n),"update",(function(t){n._latestEditorState=t,n.props.onChange(t)})),s(a(n),"onDragEnter",(function(){n._dragCount++})),s(a(n),"onDragLeave",(function(){n._dragCount--,0===n._dragCount&&n.exitCurrentMode()})),n._blockSelectEvents=!1,n._clipboard=null,n._handler=null,n._dragCount=0,n._editorKey=e.editorKey||E(),n._placeholderAccessibilityID="placeholder-"+n._editorKey,n._latestEditorState=e.editorState,n._latestCommittedEditorState=e.editorState,n._onBeforeInput=n._buildHandler("onBeforeInput"),n._onBlur=n._buildHandler("onBlur"),n._onCharacterData=n._buildHandler("onCharacterData"),n._onCompositionEnd=n._buildHandler("onCompositionEnd"),n._onCompositionStart=n._buildHandler("onCompositionStart"),n._onCopy=n._buildHandler("onCopy"),n._onCut=n._buildHandler("onCut"),n._onDragEnd=n._buildHandler("onDragEnd"),n._onDragOver=n._buildHandler("onDragOver"),n._onDragStart=n._buildHandler("onDragStart"),n._onDrop=n._buildHandler("onDrop"),n._onInput=n._buildHandler("onInput"),n._onFocus=n._buildHandler("onFocus"),n._onKeyDown=n._buildHandler("onKeyDown"),n._onKeyPress=n._buildHandler("onKeyPress"),n._onKeyUp=n._buildHandler("onKeyUp"),n._onMouseDown=n._buildHandler("onMouseDown"),n._onMouseUp=n._buildHandler("onMouseUp"),n._onPaste=n._buildHandler("onPaste"),n._onSelect=n._buildHandler("onSelect"),n.getEditorKey=function(){return n._editorKey},n.state={contentsKey:0},n}c(e,t);var r=e.prototype;return r._buildHandler=function(t){var e=this;return function(n){if(!e.props.readOnly){var r=e._handler&&e._handler[t];r&&(y?y((function(){return r(e,n)})):r(e,n))}}},r._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()},r._renderPlaceholder=function(){if(this._showPlaceholder()){var t={text:O(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return b.createElement(g,t)}return null},r._renderARIADescribedBy=function(){var t=this.props.ariaDescribedBy||"",e=this._showPlaceholder()?this._placeholderAccessibilityID:"";return t.replace("{{editor_id_placeholder}}",e)||void 0},r.render=function(){var t=this.props,e=t.blockRenderMap,n=t.blockRendererFn,r=t.blockStyleFn,a=t.customStyleFn,s=t.customStyleMap,c=t.editorState,u=t.preventScroll,p=t.readOnly,d=t.textAlignment,h=t.textDirectionality,y=M({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===d,"DraftEditor/alignRight":"right"===d,"DraftEditor/alignCenter":"center"===d}),g=this.props.role||"textbox",m="combobox"===g?!!this.props.ariaExpanded:null,v={blockRenderMap:e,blockRendererFn:n,blockStyleFn:r,customStyleMap:i({},l,s),customStyleFn:a,editorKey:this._editorKey,editorState:c,preventScroll:u,textDirectionality:h};return b.createElement("div",{className:y},this._renderPlaceholder(),b.createElement("div",{className:M("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},b.createElement("div",{"aria-activedescendant":p?null:this.props.ariaActiveDescendantID,"aria-autocomplete":p?null:this.props.ariaAutoComplete,"aria-controls":p?null:this.props.ariaControls,"aria-describedby":this._renderARIADescribedBy(),"aria-expanded":p?null:m,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,"aria-owns":p?null:this.props.ariaOwneeID,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:M({notranslate:!p,"public/DraftEditor/content":!0}),contentEditable:!p,"data-testid":this.props.webDriverTestID,onBeforeInput:this._onBeforeInput,onBlur:this._onBlur,onCompositionEnd:this._onCompositionEnd,onCompositionStart:this._onCompositionStart,onCopy:this._onCopy,onCut:this._onCut,onDragEnd:this._onDragEnd,onDragEnter:this.onDragEnter,onDragLeave:this.onDragLeave,onDragOver:this._onDragOver,onDragStart:this._onDragStart,onDrop:this._onDrop,onFocus:this._onFocus,onInput:this._onInput,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseUp:this._onMouseUp,onPaste:this._onPaste,onSelect:this._onSelect,ref:this.props.editorRef,role:p?null:g,spellCheck:L&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},b.createElement(T,{editor:this,editorState:c}),b.createElement(f,o({},v,{key:"contents"+this.state.contentsKey})))))},r.componentDidMount=function(){this._blockSelectEvents=!1,!A&&C("draft_ods_enabled")&&(A=!0,m.initODS()),this.setMode("edit"),I&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):n.g.execCommand("AutoUrlDetect",!1,!1))},r.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},e}(b.Component);s(z,"defaultProps",{ariaDescribedBy:"{{editor_id_placeholder}}",blockRenderMap:u,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:x,readOnly:!1,spellCheck:!1,stripPastedStyles:!1}),t.exports=z},84030:(t,e,n)=>{"use strict";var r=n(54516);function o(){return o=r||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o.apply(this,arguments)}function i(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var s=n(15267),c=n(33638),u=n(1024),l=n(31675),p=n(99986),f=n(35796),d=n(11021),h=n(2775),y=n(87008),g=n(51702),m=n(90333),v=n(73012),b=n(8187),_=n(98392),w=function(t,e){return t.getAnchorKey()===e||t.getFocusKey()===e},S=function(t){var e,n;function r(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return a(i(e=t.call.apply(t,[this].concat(r))||this),"_node",void 0),e}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var S=r.prototype;return S.shouldComponentUpdate=function(t){return this.props.block!==t.block||this.props.tree!==t.tree||this.props.direction!==t.direction||w(t.selection,t.block.getKey())&&t.forceSelection},S.componentDidMount=function(){if(!this.props.preventScroll){var t=this.props.selection,e=t.getEndKey();if(t.getHasFocus()&&e===this.props.block.getKey()){var n=this._node;if(null!=n){var r,o=p.getScrollParent(n),i=g(o);if(o===window){var a=y(n);(r=a.y+a.height-m().height)>0&&window.scrollTo(i.x,i.y+r+10)}else b(n)||v(!1),(r=n.offsetHeight+n.offsetTop-(o.offsetTop+o.offsetHeight+i.y))>0&&l.setTop(o,l.getTop(o)+r+10)}}}},S._renderChildren=function(){var t=this,e=this.props.block,n=e.getKey(),r=e.getText(),i=this.props.tree.size-1,a=w(this.props.selection,n);return this.props.tree.map((function(l,p){var h=l.get("leaves");if(0===h.size)return null;var y=h.size-1,g=h.map((function(o,l){var f=c.encode(n,p,l),d=o.get("start"),h=o.get("end");return u.createElement(s,{key:f,offsetKey:f,block:e,start:d,selection:a?t.props.selection:null,forceSelection:t.props.forceSelection,text:r.slice(d,h),styleSet:e.getInlineStyleAt(d),customStyleMap:t.props.customStyleMap,customStyleFn:t.props.customStyleFn,isLast:p===i&&l===y})})).toArray(),m=l.get("decoratorKey");if(null==m)return g;if(!t.props.decorator)return g;var v=_(t.props.decorator),b=v.getComponentForKey(m);if(!b)return g;var w=v.getPropsForKey(m),S=c.encode(n,p,0),M=h.first().get("start"),E=h.last().get("end"),x=r.slice(M,E),k=e.getEntityAt(l.get("start")),C=d.getHTMLDirIfDifferent(f.getDirection(x),t.props.direction),j={contentState:t.props.contentState,decoratedText:x,dir:C,start:M,end:E,blockKey:n,entityKey:k,offsetKey:S};return u.createElement(b,o({},w,j,{key:S}),g)})).toArray()},S.render=function(){var t=this,e=this.props,n=e.direction,r=e.offsetKey,o=h({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return u.createElement("div",{"data-offset-key":r,className:o,ref:function(e){return t._node=e}},this._renderChildren())},r}(u.Component);t.exports=S},99902:(t,e,n)=>{"use strict";var r=n(54516);function o(){return o=r||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o.apply(this,arguments)}function i(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){s(t,e,n[e])}))}return t}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var c=n(36215),u=n(33638),l=n(1024),p=n(31675),f=n(99986),d=n(87008),h=n(51702),y=n(90333),g=n(18489),m=n(73012),v=n(8187),b=(g.List,function(t,e){return t.getAnchorKey()===e||t.getFocusKey()===e}),_=function(t,e){var n=e.get(t.getType())||e.get("unstyled"),r=n.wrapper;return{Element:n.element||e.get("unstyled").element,wrapperTemplate:r}},w=function(t,e){var n=e(t);return n?{CustomComponent:n.component,customProps:n.props,customEditable:n.editable}:{}},S=function(t,e,n,r,o,i){var s={"data-block":!0,"data-editor":e,"data-offset-key":n,key:t.getKey(),ref:i},c=r(t);return c&&(s.className=c),void 0!==o.customEditable&&(s=a({},s,{contentEditable:o.customEditable,suppressContentEditableWarning:!0})),s},M=function(t){var e,n;function r(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return s(i(e=t.call.apply(t,[this].concat(r))||this),"wrapperRef",l.createRef()),e}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var g=r.prototype;return g.shouldComponentUpdate=function(t){var e=this.props,n=e.block,r=e.direction,o=e.tree,i=!n.getChildKeys().isEmpty(),a=n!==t.block||o!==t.tree||r!==t.direction||b(t.selection,t.block.getKey())&&t.forceSelection;return i||a},g.componentDidMount=function(){var t=this.props.selection,e=t.getEndKey();if(t.getHasFocus()&&e===this.props.block.getKey()){var n=this.wrapperRef.current;if(n){var r,o=f.getScrollParent(n),i=h(o);if(o===window){var a=d(n);(r=a.y+a.height-y().height)>0&&window.scrollTo(i.x,i.y+r+10)}else{v(n)||m(!1);var s=n;(r=s.offsetHeight+s.offsetTop-(o.offsetHeight+i.y))>0&&p.setTop(o,p.getTop(o)+r+10)}}}},g.render=function(){var t=this,e=this.props,n=e.block,i=e.blockRenderMap,s=e.blockRendererFn,p=e.blockStyleFn,f=e.contentState,d=e.decorator,h=e.editorKey,y=e.editorState,g=e.customStyleFn,m=e.customStyleMap,v=e.direction,M=e.forceSelection,E=e.selection,x=e.tree,k=null;n.children.size&&(k=n.children.reduce((function(e,n){var o=u.encode(n,0,0),c=f.getBlockForKey(n),d=w(c,s),g=d.CustomComponent||r,m=_(c,i),v=m.Element,b=m.wrapperTemplate,M=S(c,h,o,p,d,null),E=a({},t.props,{tree:y.getBlockTree(n),blockProps:d.customProps,offsetKey:o,block:c});return e.push(l.createElement(v,M,l.createElement(g,E))),!b||function(t,e){var n=t.getNextSiblingKey();return!!n&&e.getBlockForKey(n).getType()===t.getType()}(c,f)||function(t,e,n){var r=[],o=!0,i=!1,a=void 0;try{for(var s,c=n.reverse()[Symbol.iterator]();!(o=(s=c.next()).done);o=!0){var p=s.value;if(p.type!==e)break;r.push(p)}}catch(t){i=!0,a=t}finally{try{o||null==c.return||c.return()}finally{if(i)throw a}}n.splice(n.indexOf(r[0]),r.length+1);var f=r.reverse(),d=f[0].key;n.push(l.cloneElement(t,{key:"".concat(d,"-wrap"),"data-offset-key":u.encode(d,0,0)},f))}(b,v,e),e}),[]));var C=n.getKey(),j=u.encode(C,0,0),D=w(n,s),O=D.CustomComponent,I=null!=O?l.createElement(O,o({},this.props,{tree:y.getBlockTree(C),blockProps:D.customProps,offsetKey:j,block:n})):l.createElement(c,{block:n,children:k,contentState:f,customStyleFn:g,customStyleMap:m,decorator:d,direction:v,forceSelection:M,hasSelection:b(E,C),selection:E,tree:x});if(n.getParentKey())return I;var L=_(n,i).Element,N=S(n,h,j,p,D,this.wrapperRef);return l.createElement(L,N,I)},r}(l.Component);t.exports=M},3431:(t,e,n)=>{"use strict";var r=n(74241),o=n(84055),i=n(33638),a=n(46238),s=n(7482),c=n(91355),u=n(31611),l=n(23357),p=n(62263),f=n(34483),d=n(98392),h=c.isBrowser("IE"),y=!1,g=!1,m=null,v={onCompositionStart:function(t){g=!0,function(t){m||(m=new r(l(t))).start()}(t)},onCompositionEnd:function(t){y=!1,g=!1,setTimeout((function(){y||v.resolveComposition(t)}),20)},onSelect:u,onKeyDown:function(t,e){if(!g)return v.resolveComposition(t),void t._onKeyDown(e);e.which!==s.RIGHT&&e.which!==s.LEFT||e.preventDefault()},onKeyPress:function(t,e){e.which===s.RETURN&&e.preventDefault()},resolveComposition:function(t){if(!g){var e=d(m).stopAndFlushMutations();m=null,y=!0;var n=a.set(t._latestEditorState,{inCompositionMode:!1});if(t.exitCurrentMode(),e.size){var r=n.getCurrentContent();e.forEach((function(t,e){var s=i.decode(e),c=s.blockKey,u=s.decoratorKey,l=s.leafKey,p=n.getBlockTree(c).getIn([u,"leaves",l]),d=p.start,h=p.end,y=n.getSelection().merge({anchorKey:c,focusKey:c,anchorOffset:d,focusOffset:h,isBackward:!1}),g=f(r,y),m=r.getBlockForKey(c).getInlineStyleAt(d);r=o.replaceText(r,y,t,m,g),n=a.set(n,{currentContent:r})}));var s=p(n,l(t)).selectionState;t.restoreEditorDOM();var c=h?a.forceSelection(n,s):a.acceptSelection(n,s);t.update(a.push(c,r,"insert-characters"))}else t.update(n)}}};t.exports=v},60944:(t,e,n)=>{"use strict";var r=n(54516);function o(){return o=r||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o.apply(this,arguments)}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){a(t,e,n[e])}))}return t}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var s=n(84030),c=n(33638),u=n(1024),l=n(2775),p=n(52433),f=n(98392),d=function(t,e,n,r){return l({"public/DraftStyleDefault/unorderedListItem":"unordered-list-item"===t,"public/DraftStyleDefault/orderedListItem":"ordered-list-item"===t,"public/DraftStyleDefault/reset":n,"public/DraftStyleDefault/depth0":0===e,"public/DraftStyleDefault/depth1":1===e,"public/DraftStyleDefault/depth2":2===e,"public/DraftStyleDefault/depth3":3===e,"public/DraftStyleDefault/depth4":e>=4,"public/DraftStyleDefault/listLTR":"LTR"===r,"public/DraftStyleDefault/listRTL":"RTL"===r})},h=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=r.prototype;return a.shouldComponentUpdate=function(t){var e=this.props.editorState,n=t.editorState;if(e.getDirectionMap()!==n.getDirectionMap())return!0;if(e.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var r=n.getNativelyRenderedContent(),o=e.isInCompositionMode(),i=n.isInCompositionMode();if(e===n||null!==r&&n.getCurrentContent()===r||o&&i)return!1;var a=e.getCurrentContent(),s=n.getCurrentContent(),c=e.getDecorator(),u=n.getDecorator();return o!==i||a!==s||c!==u||n.mustForceSelection()},a.render=function(){for(var t=this.props,e=t.blockRenderMap,n=t.blockRendererFn,r=t.blockStyleFn,a=t.customStyleMap,l=t.customStyleFn,h=t.editorState,y=t.editorKey,g=t.preventScroll,m=t.textDirectionality,v=h.getCurrentContent(),b=h.getSelection(),_=h.mustForceSelection(),w=h.getDecorator(),S=f(h.getDirectionMap()),M=v.getBlocksAsArray(),E=[],x=null,k=null,C=0;C<M.length;C++){var j=M[C],D=j.getKey(),O=j.getType(),I=n(j),L=void 0,N=void 0,A=void 0;I&&(L=I.component,N=I.props,A=I.editable);var T=m||S.get(D),z=c.encode(D,0,0),R={contentState:v,block:j,blockProps:N,blockStyleFn:r,customStyleMap:a,customStyleFn:l,decorator:w,direction:T,forceSelection:_,offsetKey:z,preventScroll:g,selection:b,tree:h.getBlockTree(D)},P=e.get(O)||e.get("unstyled"),B=P.wrapper,F=P.element||e.get("unstyled").element,U=j.getDepth(),K="";r&&(K=r(j)),"li"===F&&(K=p(K,d(O,U,k!==B||null===x||U>x,T)));var H=L||s,q={className:K,"data-block":!0,"data-editor":y,"data-offset-key":z,key:D};void 0!==A&&(q=i({},q,{contentEditable:A,suppressContentEditableWarning:!0}));var Y=u.createElement(F,q,u.createElement(H,o({},R,{key:D})));E.push({block:Y,wrapperTemplate:B,key:D,offsetKey:z}),x=B?j.getDepth():null,k=B}for(var W=[],Q=0;Q<E.length;){var Z=E[Q];if(Z.wrapperTemplate){var V=[];do{V.push(E[Q].block),Q++}while(Q<E.length&&E[Q].wrapperTemplate===Z.wrapperTemplate);var G=u.cloneElement(Z.wrapperTemplate,{key:Z.key+"-wrap","data-offset-key":Z.offsetKey},V);W.push(G)}else W.push(Z.block),Q++}return u.createElement("div",{"data-contents":"true"},W)},r}(u.Component);t.exports=h},10989:(t,e,n)=>{"use strict";var r=n(27936)("draft_tree_data_support");t.exports=n(r?71435:60944)},71435:(t,e,n)=>{"use strict";var r=n(54516);function o(){return o=r||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o.apply(this,arguments)}var i=n(99902),a=n(33638),s=n(1024),c=n(98392),u=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var u=r.prototype;return u.shouldComponentUpdate=function(t){var e=this.props.editorState,n=t.editorState;if(e.getDirectionMap()!==n.getDirectionMap())return!0;if(e.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var r=n.getNativelyRenderedContent(),o=e.isInCompositionMode(),i=n.isInCompositionMode();if(e===n||null!==r&&n.getCurrentContent()===r||o&&i)return!1;var a=e.getCurrentContent(),s=n.getCurrentContent(),c=e.getDecorator(),u=n.getDecorator();return o!==i||a!==s||c!==u||n.mustForceSelection()},u.render=function(){for(var t=this.props,e=t.blockRenderMap,n=t.blockRendererFn,r=t.blockStyleFn,u=t.customStyleMap,l=t.customStyleFn,p=t.editorState,f=t.editorKey,d=t.textDirectionality,h=p.getCurrentContent(),y=p.getSelection(),g=p.mustForceSelection(),m=p.getDecorator(),v=c(p.getDirectionMap()),b=[],_=h.getBlocksAsArray()[0];_;){var w=_.getKey(),S={blockRenderMap:e,blockRendererFn:n,blockStyleFn:r,contentState:h,customStyleFn:l,customStyleMap:u,decorator:m,editorKey:f,editorState:p,forceSelection:g,selection:y,block:_,direction:d||v.get(w),tree:p.getBlockTree(w)},M=(e.get(_.getType())||e.get("unstyled")).wrapper;b.push({block:s.createElement(i,o({key:w},S)),wrapperTemplate:M,key:w,offsetKey:a.encode(w,0,0)});var E=_.getNextSiblingKey();_=E?h.getBlockForKey(E):null}for(var x=[],k=0;k<b.length;){var C=b[k];if(C.wrapperTemplate){var j=[];do{j.push(b[k].block),k++}while(k<b.length&&b[k].wrapperTemplate===C.wrapperTemplate);var D=s.cloneElement(C.wrapperTemplate,{key:C.key+"-wrap","data-offset-key":C.offsetKey},j);x.push(D)}else x.push(C.block),k++}return s.createElement("div",{"data-contents":"true"},x)},r}(s.Component);t.exports=u},75937:(t,e,n)=>{"use strict";var r=n(54516);function o(){return o=r||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o.apply(this,arguments)}var i=n(33638),a=n(1024),s=n(35796),c=n(11021),u=function(t){var e,n;function r(){return t.apply(this,arguments)||this}return n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,r.prototype.render=function(){var t=this.props,e=t.block,n=t.children,r=t.contentState,u=t.decorator,l=t.decoratorKey,p=t.direction,f=t.leafSet,d=t.text,h=e.getKey(),y=f.get("leaves"),g=u.getComponentForKey(l),m=u.getPropsForKey(l),v=i.encode(h,parseInt(l,10),0),b=d.slice(y.first().get("start"),y.last().get("end")),_=c.getHTMLDirIfDifferent(s.getDirection(b),p);return a.createElement(g,o({},m,{contentState:r,decoratedText:b,dir:_,key:v,entityKey:e.getEntityAt(f.get("start")),offsetKey:v}),n)},r}(a.Component);t.exports=u},83567:(t,e,n)=>{"use strict";var r=n(97880),o=n(84055),i=n(46238),a=n(59321),s=n(45653),c=n(26288),u=n(39433),l=n(52868),p=n(5218),f=n(98392),d={onDragEnd:function(t){t.exitCurrentMode(),h(t)},onDrop:function(t,e){var n=new r(e.nativeEvent.dataTransfer),l=t._latestEditorState,d=function(t,e){var n=null,r=null,o=s(t.currentTarget);if("function"==typeof o.caretRangeFromPoint){var i=o.caretRangeFromPoint(t.x,t.y);n=i.startContainer,r=i.startOffset}else{if(!t.rangeParent)return null;n=t.rangeParent,r=t.rangeOffset}n=f(n),r=f(r);var c=f(a(n));return u(e,c,r,c,r)}(e.nativeEvent,l);if(e.preventDefault(),t._dragCount=0,t.exitCurrentMode(),null!=d){var g=n.getFiles();if(g.length>0){if(t.props.handleDroppedFiles&&p(t.props.handleDroppedFiles(d,g)))return;c(g,(function(e){e&&t.update(y(l,d,e))}))}else{var m=t._internalDrag?"internal":"external";t.props.handleDrop&&p(t.props.handleDrop(d,n,m))||(t._internalDrag?t.update(function(t,e){var n=o.moveText(t.getCurrentContent(),t.getSelection(),e);return i.push(t,n,"insert-fragment")}(l,d)):t.update(y(l,d,n.getText()))),h(t)}}}};function h(t){t._internalDrag=!1;var e=t.editorContainer;if(e){var n=new MouseEvent("mouseup",{view:l(e),bubbles:!0,cancelable:!0});e.dispatchEvent(n)}}function y(t,e,n){var r=o.insertText(t.getCurrentContent(),e,n,t.getCurrentInlineStyle());return i.push(t,r,"insert-fragment")}t.exports=d},49199:(t,e,n)=>{"use strict";var r=n(91355),o=n(8658),i=n(5976),a=n(70410),s=n(3248),c=n(46811),u=n(98451),l=n(15160),p=n(45313),f=n(73078),d=n(63194),h=n(88924),y=n(31611),g=r.isBrowser("Chrome"),m=r.isBrowser("Firefox"),v=g||m?y:function(t){},b={onBeforeInput:o,onBlur:i,onCompositionStart:a,onCopy:s,onCut:c,onDragOver:u,onDragStart:l,onFocus:p,onInput:f,onKeyDown:d,onPaste:h,onSelect:y,onMouseUp:v,onKeyUp:v};t.exports=b},823:(t,e,n)=>{"use strict";var r=n(30314).unstable_flushControlled;t.exports=r},15267:(t,e,n)=>{"use strict";var r=n(54516);function o(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var a=n(46544),s=n(1024),c=n(73012),u=n(78659),l=n(46064).setDraftEditorSelection,p=function(t){var e,n;function p(){for(var e,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return i(o(e=t.call.apply(t,[this].concat(r))||this),"leaf",void 0),e}n=t,(e=p).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var f=p.prototype;return f._setSelection=function(){var t=this.props.selection;if(null!=t&&t.getHasFocus()){var e=this.props,n=e.block,r=e.start,o=e.text,i=n.getKey(),a=r+o.length;if(t.hasEdgeWithin(i,r,a)){var s=this.leaf;s||c(!1);var p,f=s.firstChild;f||c(!1),f.nodeType===Node.TEXT_NODE?p=f:u(f)?p=s:(p=f.firstChild)||c(!1),l(t,p,i,r,a)}}},f.shouldComponentUpdate=function(t){var e=this.leaf;return e||c(!1),e.textContent!==t.text||t.styleSet!==this.props.styleSet||t.forceSelection},f.componentDidUpdate=function(){this._setSelection()},f.componentDidMount=function(){this._setSelection()},f.render=function(){var t=this,e=this.props.block,n=this.props.text;n.endsWith("\n")&&this.props.isLast&&(n+="\n");var o=this.props,i=o.customStyleMap,c=o.customStyleFn,u=o.offsetKey,l=o.styleSet,p=l.reduce((function(t,e){var n={},o=i[e];return void 0!==o&&t.textDecoration!==o.textDecoration&&(n.textDecoration=[t.textDecoration,o.textDecoration].join(" ").trim()),r(t,o,n)}),{});if(c){var f=c(l,e);p=r(p,f)}return s.createElement("span",{"data-offset-key":u,ref:function(e){return t.leaf=e},style:p},s.createElement(a,null,n))},p}(s.Component);t.exports=p},36215:(t,e,n)=>{"use strict";var r=n(75937),o=n(15267),i=n(33638),a=n(18489),s=n(1024),c=n(2775),u=(a.List,function(t){var e,n;function a(){return t.apply(this,arguments)||this}return n=t,(e=a).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,a.prototype.render=function(){var t=this.props,e=t.block,n=t.contentState,a=t.customStyleFn,u=t.customStyleMap,l=t.decorator,p=t.direction,f=t.forceSelection,d=t.hasSelection,h=t.selection,y=t.tree,g=e.getKey(),m=e.getText(),v=y.size-1,b=this.props.children||y.map((function(t,c){var y=t.get("decoratorKey"),b=t.get("leaves"),_=b.size-1,w=b.map((function(t,n){var r=i.encode(g,c,n),l=t.get("start"),p=t.get("end");return s.createElement(o,{key:r,offsetKey:r,block:e,start:l,selection:d?h:null,forceSelection:f,text:m.slice(l,p),styleSet:e.getInlineStyleAt(l),customStyleMap:u,customStyleFn:a,isLast:y===v&&n===_})})).toArray();return y&&l?s.createElement(r,{block:e,children:w,contentState:n,decorator:l,decoratorKey:y,direction:p,leafSet:t,text:m,key:c}):w})).toArray();return s.createElement("div",{"data-offset-key":i.encode(g,0,0),className:c({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===p,"public/DraftStyleDefault/rtl":"RTL"===p})},b)},a}(s.Component));t.exports=u},20398:(t,e,n)=>{"use strict";var r=n(1024),o=n(2775),i=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=i.prototype;return a.shouldComponentUpdate=function(t){return this.props.text!==t.text||this.props.editorState.getSelection().getHasFocus()!==t.editorState.getSelection().getHasFocus()},a.render=function(){var t=this.props.editorState.getSelection().getHasFocus(),e=o({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":t});return r.createElement("div",{className:e},r.createElement("div",{className:o("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},i}(r.Component);t.exports=i},46544:(t,e,n)=>{"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var i=n(1024),a=n(91355),s=n(73012),c=n(23833),u=a.isBrowser("IE <= 11"),l=function(t){var e,n;function a(e){var n;return o(r(n=t.call(this,e)||this),"_forceFlag",void 0),o(r(n),"_node",void 0),n._forceFlag=!1,n}n=t,(e=a).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var l=a.prototype;return l.shouldComponentUpdate=function(t){var e=this._node,n=""===t.children;c(e)||s(!1);var r=e;return n?!function(t){return u?"\n"===t.textContent:"BR"===t.tagName}(r):r.textContent!==t.children},l.componentDidMount=function(){this._forceFlag=!this._forceFlag},l.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},l.render=function(){var t,e=this;return""===this.props.children?this._forceFlag?(t=function(t){return e._node=t},u?i.createElement("span",{key:"A","data-text":"true",ref:t},"\n"):i.createElement("br",{key:"A","data-text":"true",ref:t})):function(t){return u?i.createElement("span",{key:"B","data-text":"true",ref:t},"\n"):i.createElement("br",{key:"B","data-text":"true",ref:t})}((function(t){return e._node=t})):i.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(t){return e._node=t}},this.props.children)},a}(i.Component);t.exports=l},62599:t=>{"use strict";t.exports={initODS:function(){},handleExtensionCausedError:function(){}}},3031:(t,e,n)=>{"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(91825),i=n(18489),a=n(73012),s=n(44231),c=(0,i.Map)(),u=s();function l(t,e){console.warn("WARNING: "+t+' will be deprecated soon!\nPlease use "'+e+'" instead.')}var p={getLastCreatedEntityKey:function(){return l("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),p.__getLastCreatedEntityKey()},create:function(t,e,n){return l("DraftEntity.create","contentState.createEntity"),p.__create(t,e,n)},add:function(t){return l("DraftEntity.add","contentState.addEntity"),p.__add(t)},get:function(t){return l("DraftEntity.get","contentState.getEntity"),p.__get(t)},__getAll:function(){return c},__loadWithEntities:function(t){c=t,u=s()},mergeData:function(t,e){return l("DraftEntity.mergeData","contentState.mergeEntityData"),p.__mergeData(t,e)},replaceData:function(t,e){return l("DraftEntity.replaceData","contentState.replaceEntityData"),p.__replaceData(t,e)},__getLastCreatedEntityKey:function(){return u},__create:function(t,e,n){return p.__add(new o({type:t,mutability:e,data:n||{}}))},__add:function(t){return u=s(),c=c.set(u,t),u},__get:function(t){var e=c.get(t);return e||a(!1),e},__mergeData:function(t,e){var n=p.__get(t),o=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),o.forEach((function(e){r(t,e,n[e])}))}return t}({},n.getData(),e),i=n.set("data",o);return c=c.set(t,i),i},__replaceData:function(t,e){var n=p.__get(t).set("data",e);return c=c.set(t,n),n}};t.exports=p},91825:(t,e,n)=>{"use strict";var r=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var o=r.prototype;return o.getType=function(){return this.get("type")},o.getMutability=function(){return this.get("mutability")},o.getData=function(){return this.get("data")},r}((0,n(18489).Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object}));t.exports=r},19142:t=>{"use strict";t.exports={getRemovalRange:function(t,e,n,r,o){var i=n.split(" ");i=i.map((function(t,e){if("forward"===o){if(e>0)return" "+t}else if(e<i.length-1)return t+" ";return t}));for(var a,s=r,c=null,u=null,l=0;l<i.length;l++){if(t<(a=s+i[l].length)&&s<e)null!==c||(c=s),u=a;else if(null!==c)break;s=a}var p=r+n.length,f=c===r,d=u===p;return(!f&&d||f&&!d)&&("forward"===o?u!==p&&u++:c!==r&&c--),{start:c,end:u}}}},31532:t=>{"use strict";t.exports={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}}},84055:(t,e,n)=>{"use strict";var r=n(28),o=n(76520),i=n(48932),a=n(3022),s=n(58364),c=n(18489),u=n(14719),l=n(79585),p=n(73012),f=n(37248),d=n(77506),h=n(12269),y=n(70774),g=c.OrderedSet,m={replaceText:function(t,e,n,o,i){var a=d(t,e),s=h(a,e),c=r.create({style:o||g(),entity:i||null});return l(s,s.getSelectionAfter(),n,c)},insertText:function(t,e,n,r,o){return e.isCollapsed()||p(!1),m.replaceText(t,e,n,r,o)},moveText:function(t,e,n){var r=s(t,e),o=m.removeRange(t,e,"backward");return m.replaceWithFragment(o,n,r)},replaceWithFragment:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA",o=d(t,e),i=h(o,e);return u(i,i.getSelectionAfter(),n,r)},removeRange:function(t,e,n){var r,o,i,s;e.getIsBackward()&&(e=e.merge({anchorKey:e.getFocusKey(),anchorOffset:e.getFocusOffset(),focusKey:e.getAnchorKey(),focusOffset:e.getAnchorOffset(),isBackward:!1})),r=e.getAnchorKey(),o=e.getFocusKey(),i=t.getBlockForKey(r),s=t.getBlockForKey(o);var c=e.getStartOffset(),u=e.getEndOffset(),l=i.getEntityAt(c),p=s.getEntityAt(u-1);if(r===o&&l&&l===p){var f=a(t.getEntityMap(),i,s,e,n);return h(t,f)}var y=d(t,e);return h(y,e)},splitBlock:function(t,e){var n=d(t,e),r=h(n,e);return y(r,r.getSelectionAfter())},applyInlineStyle:function(t,e,n){return o.add(t,e,n)},removeInlineStyle:function(t,e,n){return o.remove(t,e,n)},setBlockType:function(t,e,n){return f(t,e,(function(t){return t.merge({type:n,depth:0})}))},setBlockData:function(t,e,n){return f(t,e,(function(t){return t.merge({data:n})}))},mergeBlockData:function(t,e,n){return f(t,e,(function(t){return t.merge({data:t.getData().merge(n)})}))},applyEntity:function(t,e,n){var r=d(t,e);return i(r,e,n)}};t.exports=m},33638:t=>{"use strict";var e="-",n={encode:function(t,n,r){return t+e+n+e+r},decode:function(t){var n=t.split(e).reverse(),r=n[0],o=n[1];return{blockKey:n.slice(2).reverse().join(e),decoratorKey:parseInt(o,10),leafKey:parseInt(r,10)}}};t.exports=n},17605:(t,e,n)=>{"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(39806),i=n(72368),a=n(97614),s=n(84894),c=n(27917),u=n(27936),l=n(18489),p=n(24844),f=l.List,d=l.Repeat,h=u("draft_tree_data_support"),y=h?i:o,g={processHTML:function(t,e){return a(t,c,e)},processText:function(t,e,n){return t.reduce((function(t,o,i){o=p(o);var a=s(),c={key:a,type:n,text:o,characterList:f(d(e,o.length))};if(h&&0!==i){var u=i-1;c=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),o.forEach((function(e){r(t,e,n[e])}))}return t}({},c,{prevSibling:(t[u]=t[u].merge({nextSibling:a})).getKey()})}return t.push(new y(c)),t}),[])}};t.exports=g},81360:(t,e,n)=>{"use strict";var r="\\s|(?![_])"+n(59878).getPunctuation(),o=new RegExp("^(?:"+r+")*(?:['‘’]|(?!"+r+").)*(?:(?!"+r+").)"),i=new RegExp("(?:(?!"+r+").)(?:['‘’]|(?!"+r+").)*(?:"+r+")*$");function a(t,e){var n=e?i.exec(t):o.exec(t);return n?n[0]:t}var s={getBackward:function(t){return a(t,!0)},getForward:function(t){return a(t,!1)}};t.exports=s},56588:t=>{"use strict";var e={stringify:function(t){return"_"+String(t)},unstringify:function(t){return t.slice(1)}};t.exports=e},74645:(t,e,n)=>{"use strict";function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){o(t,e,n[e])}))}return t}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var i=n(84894),a=n(73012),s=function(t){if(!t||!t.type)return!1;var e=t.type;return"unordered-list-item"===e||"ordered-list-item"===e},c={fromRawTreeStateToRawState:function(t){var e=t.blocks,n=[];return Array.isArray(e)||a(!1),Array.isArray(e)&&e.length?(function(t,e){for(var o=[].concat(t).reverse();o.length;){var i=o.pop();l=void 0,l=r({},u=i),s(u)&&(l.depth=l.depth||0,function(t){Array.isArray(t.children)&&(t.children=t.children.map((function(e){return e.type===t.type?r({},e,{depth:(t.depth||0)+1}):e})))}(u),null!=u.children&&u.children.length>0)||(delete l.children,n.push(l));var c=i.children;Array.isArray(c)||a(!1),o=o.concat([].concat(c.reverse()))}var u,l}(e),t.blocks=n,r({},t,{blocks:n})):t},fromRawStateToRawTreeState:function(t){var e=[],n=[];return t.blocks.forEach((function(t){var o=s(t),a=t.depth||0,c=r({},t,{children:[]});if(o){var u=n[0];if(null==u&&0===a)e.push(c);else if(null==u||u.depth<a-1){var l={key:i(),text:"",depth:a-1,type:t.type,children:[],entityRanges:[],inlineStyleRanges:[]};n.unshift(l),1===a?e.push(l):null!=u&&u.children.push(l),l.children.push(c)}else if(u.depth===a-1)u.children.push(c);else{for(;null!=u&&u.depth>=a;)n.shift(),u=n[0];a>0?u.children.push(c):e.push(c)}}else e.push(c)})),r({},t,{blocks:e})}};t.exports=c},54775:(t,e,n)=>{"use strict";n(85806),t.exports={isValidBlock:function(t,e){var n=t.getKey(),r=t.getParentKey();if(null!=r&&!e.get(r).getChildKeys().includes(n))return!1;if(!t.getChildKeys().map((function(t){return e.get(t)})).every((function(t){return t.getParentKey()===n})))return!1;var o=t.getPrevSiblingKey();if(null!=o&&e.get(o).getNextSiblingKey()!==n)return!1;var i=t.getNextSiblingKey();return(null==i||e.get(i).getPrevSiblingKey()===n)&&!(null!==i&&null!==o&&o===i||""!=t.text&&t.getChildKeys().size>0)},isConnectedTree:function(t){var e=t.toArray().filter((function(t){return null==t.getParentKey()&&null==t.getPrevSiblingKey()}));if(1!==e.length)return!1;for(var n=0,r=e.shift().getKey(),o=[];null!=r;){var i=t.get(r),a=i.getChildKeys(),s=i.getNextSiblingKey();if(a.size>0){null!=s&&o.unshift(s);var c=a.map((function(e){return t.get(e)})).find((function(t){return null==t.getPrevSiblingKey()}));if(null==c)return!1;r=c.getKey()}else r=null!=i.getNextSiblingKey()?i.getNextSiblingKey():o.shift();n++}return n===t.size},isValidTree:function(t){var e=this;return!!t.toArray().every((function(n){return e.isValidBlock(n,t)}))&&this.isConnectedTree(t)}}},22976:(t,e,n)=>{"use strict";var r,o=n(90209),i=n(18489),a=n(98392),s=i.OrderedMap,c={getDirectionMap:function(t,e){r?r.reset():r=new o;var n=t.getBlockMap(),c=n.valueSeq().map((function(t){return a(r).getDirection(t.getText())})),u=s(n.keySeq().zip(c));return null!=e&&i.is(e,u)?e:u}};t.exports=c},46238:(t,e,n)=>{"use strict";function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){o(t,e,n[e])}))}return t}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var i=n(39893),a=n(10789),s=n(22976),c=n(69806),u=n(18489),l=u.OrderedSet,p=u.Record,f=u.Stack,d=u.OrderedMap,h=u.List,y=p({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:f(),selection:null,treeMap:null,undoStack:f()}),g=function(){e.createEmpty=function(t){return this.createWithText("",t)},e.createWithText=function(t,n){return e.createWithContent(a.createFromText(t),n)},e.createWithContent=function(t,n){if(0===t.getBlockMap().count())return e.createEmpty(n);var r=t.getBlockMap().first().getKey();return e.create({currentContent:t,undoStack:f(),redoStack:f(),decorator:n||null,selection:c.createEmpty(r)})},e.create=function(t){var n=t.currentContent,o=r({},t,{treeMap:v(n,t.decorator),directionMap:s.getDirectionMap(n)});return new e(new y(o))},e.fromJS=function(t){return new e(new y(r({},t,{directionMap:null!=t.directionMap?d(t.directionMap):t.directionMap,inlineStyleOverride:null!=t.inlineStyleOverride?l(t.inlineStyleOverride):t.inlineStyleOverride,nativelyRenderedContent:null!=t.nativelyRenderedContent?a.fromJS(t.nativelyRenderedContent):t.nativelyRenderedContent,redoStack:null!=t.redoStack?f(t.redoStack.map((function(t){return a.fromJS(t)}))):t.redoStack,selection:null!=t.selection?new c(t.selection):t.selection,treeMap:null!=t.treeMap?d(t.treeMap).map((function(t){return h(t).map((function(t){return i.fromJS(t)}))})):t.treeMap,undoStack:null!=t.undoStack?f(t.undoStack.map((function(t){return a.fromJS(t)}))):t.undoStack,currentContent:a.fromJS(t.currentContent)})))},e.set=function(t,n){return new e(t.getImmutable().withMutations((function(e){var r=e.get("decorator"),o=r;null===n.decorator?o=null:n.decorator&&(o=n.decorator);var a=n.currentContent||t.getCurrentContent();if(o!==r){var s,c=e.get("treeMap");return s=o&&r?function(t,e,n,r,o){return n.merge(e.toSeq().filter((function(e){return r.getDecorations(e,t)!==o.getDecorations(e,t)})).map((function(e){return i.generate(t,e,r)})))}(a,a.getBlockMap(),c,o,r):v(a,o),void e.merge({decorator:o,treeMap:s,nativelyRenderedContent:null})}a!==t.getCurrentContent()&&e.set("treeMap",function(t,e,n,r){var o=t.getCurrentContent().set("entityMap",n),a=o.getBlockMap();return t.getImmutable().get("treeMap").merge(e.toSeq().filter((function(t,e){return t!==a.get(e)})).map((function(t){return i.generate(o,t,r)})))}(t,a.getBlockMap(),a.getEntityMap(),o)),e.merge(n)})))};var t=e.prototype;function e(t){o(this,"_immutable",void 0),this._immutable=t}return t.toJS=function(){return this.getImmutable().toJS()},t.getAllowUndo=function(){return this.getImmutable().get("allowUndo")},t.getCurrentContent=function(){return this.getImmutable().get("currentContent")},t.getUndoStack=function(){return this.getImmutable().get("undoStack")},t.getRedoStack=function(){return this.getImmutable().get("redoStack")},t.getSelection=function(){return this.getImmutable().get("selection")},t.getDecorator=function(){return this.getImmutable().get("decorator")},t.isInCompositionMode=function(){return this.getImmutable().get("inCompositionMode")},t.mustForceSelection=function(){return this.getImmutable().get("forceSelection")},t.getNativelyRenderedContent=function(){return this.getImmutable().get("nativelyRenderedContent")},t.getLastChangeType=function(){return this.getImmutable().get("lastChangeType")},t.getInlineStyleOverride=function(){return this.getImmutable().get("inlineStyleOverride")},e.setInlineStyleOverride=function(t,n){return e.set(t,{inlineStyleOverride:n})},t.getCurrentInlineStyle=function(){var t=this.getInlineStyleOverride();if(null!=t)return t;var e=this.getCurrentContent(),n=this.getSelection();return n.isCollapsed()?function(t,e){var n=e.getStartKey(),r=e.getStartOffset(),o=t.getBlockForKey(n);return r>0?o.getInlineStyleAt(r-1):o.getLength()?o.getInlineStyleAt(0):_(t,n)}(e,n):function(t,e){var n=e.getStartKey(),r=e.getStartOffset(),o=t.getBlockForKey(n);return r<o.getLength()?o.getInlineStyleAt(r):r>0?o.getInlineStyleAt(r-1):_(t,n)}(e,n)},t.getBlockTree=function(t){return this.getImmutable().getIn(["treeMap",t])},t.isSelectionAtStartOfContent=function(){var t=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(t,0,0)},t.isSelectionAtEndOfContent=function(){var t=this.getCurrentContent().getBlockMap().last(),e=t.getLength();return this.getSelection().hasEdgeWithin(t.getKey(),e,e)},t.getDirectionMap=function(){return this.getImmutable().get("directionMap")},e.acceptSelection=function(t,e){return m(t,e,!1)},e.forceSelection=function(t,e){return e.getHasFocus()||(e=e.set("hasFocus",!0)),m(t,e,!0)},e.moveSelectionToEnd=function(t){var n=t.getCurrentContent().getLastBlock(),r=n.getKey(),o=n.getLength();return e.acceptSelection(t,new c({anchorKey:r,anchorOffset:o,focusKey:r,focusOffset:o,isBackward:!1}))},e.moveFocusToEnd=function(t){var n=e.moveSelectionToEnd(t);return e.forceSelection(n,n.getSelection())},e.push=function(t,n,r){var o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(t.getCurrentContent()===n)return t;var i=s.getDirectionMap(n,t.getDirectionMap());if(!t.getAllowUndo())return e.set(t,{currentContent:n,directionMap:i,lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:o,inlineStyleOverride:null});var a=t.getSelection(),c=t.getCurrentContent(),u=t.getUndoStack(),l=n;a!==c.getSelectionAfter()||b(t,r)?(u=u.push(c),l=l.set("selectionBefore",a)):"insert-characters"!==r&&"backspace-character"!==r&&"delete-character"!==r||(l=l.set("selectionBefore",c.getSelectionBefore()));var p=t.getInlineStyleOverride(),d=["adjust-depth","change-block-type","split-block"];-1===d.indexOf(r)&&(p=null);var h={currentContent:l,directionMap:i,undoStack:u,redoStack:f(),lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:o,inlineStyleOverride:p};return e.set(t,h)},e.undo=function(t){if(!t.getAllowUndo())return t;var n=t.getUndoStack(),r=n.peek();if(!r)return t;var o=t.getCurrentContent(),i=s.getDirectionMap(r,t.getDirectionMap());return e.set(t,{currentContent:r,directionMap:i,undoStack:n.shift(),redoStack:t.getRedoStack().push(o),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:o.getSelectionBefore()})},e.redo=function(t){if(!t.getAllowUndo())return t;var n=t.getRedoStack(),r=n.peek();if(!r)return t;var o=t.getCurrentContent(),i=s.getDirectionMap(r,t.getDirectionMap());return e.set(t,{currentContent:r,directionMap:i,undoStack:t.getUndoStack().push(o),redoStack:n.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:r.getSelectionAfter()})},t.getImmutable=function(){return this._immutable},e}();function m(t,e,n){return g.set(t,{selection:e,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function v(t,e){return t.getBlockMap().map((function(n){return i.generate(t,n,e)})).toOrderedMap()}function b(t,e){return e!==t.getLastChangeType()||"insert-characters"!==e&&"backspace-character"!==e&&"delete-character"!==e}function _(t,e){var n=t.getBlockMap().reverse().skipUntil((function(t,n){return n===e})).skip(1).skipUntil((function(t,e){return t.getLength()})).first();return n?n.getInlineStyleAt(n.getLength()-1):l()}t.exports=g},76944:(t,e,n)=>{"use strict";var r=n(91355),o=n(18528),i=r.isPlatform("Mac OS X"),a={isCtrlKeyCommand:function(t){return!!t.ctrlKey&&!t.altKey},isOptionKeyCommand:function(t){return i&&t.altKey},usesMacOSHeuristics:function(){return i},hasCommandModifier:function(t){return i?!!t.metaKey&&!t.altKey:a.isCtrlKeyCommand(t)},isSoftNewlineEvent:o};t.exports=a},28484:()=>{},93626:(t,e,n)=>{"use strict";var r=n(84055),o=n(46238),i=n(17027),a=n(98392),s={currentBlockContainsLink:function(t){var e=t.getSelection(),n=t.getCurrentContent(),r=n.getEntityMap();return n.getBlockForKey(e.getAnchorKey()).getCharacterList().slice(e.getStartOffset(),e.getEndOffset()).some((function(t){var e=t.getEntity();return!!e&&"LINK"===r.__get(e).getType()}))},getCurrentBlockType:function(t){var e=t.getSelection();return t.getCurrentContent().getBlockForKey(e.getStartKey()).getType()},getDataObjectForLinkURL:function(t){return{url:t.toString()}},handleKeyCommand:function(t,e,n){switch(e){case"bold":return s.toggleInlineStyle(t,"BOLD");case"italic":return s.toggleInlineStyle(t,"ITALIC");case"underline":return s.toggleInlineStyle(t,"UNDERLINE");case"code":return s.toggleCode(t);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return s.onBackspace(t);case"delete":case"delete-word":case"delete-to-end-of-block":return s.onDelete(t);default:return null}},insertSoftNewline:function(t){var e=r.insertText(t.getCurrentContent(),t.getSelection(),"\n",t.getCurrentInlineStyle(),null),n=o.push(t,e,"insert-characters");return o.forceSelection(n,e.getSelectionAfter())},onBackspace:function(t){var e=t.getSelection();if(!e.isCollapsed()||e.getAnchorOffset()||e.getFocusOffset())return null;var n=t.getCurrentContent(),r=e.getStartKey(),i=n.getBlockBefore(r);if(i&&"atomic"===i.getType()){var a=n.getBlockMap().delete(i.getKey()),c=n.merge({blockMap:a,selectionAfter:e});if(c!==n)return o.push(t,c,"remove-range")}var u=s.tryToRemoveBlockStyle(t);return u?o.push(t,u,"change-block-type"):null},onDelete:function(t){var e=t.getSelection();if(!e.isCollapsed())return null;var n=t.getCurrentContent(),i=e.getStartKey(),a=n.getBlockForKey(i).getLength();if(e.getStartOffset()<a)return null;var s=n.getBlockAfter(i);if(!s||"atomic"!==s.getType())return null;var c=e.merge({focusKey:s.getKey(),focusOffset:s.getLength()}),u=r.removeRange(n,c,"forward");return u!==n?o.push(t,u,"remove-range"):null},onTab:function(t,e,n){var r=e.getSelection(),a=r.getAnchorKey();if(a!==r.getFocusKey())return e;var s=e.getCurrentContent(),c=s.getBlockForKey(a),u=c.getType();if("unordered-list-item"!==u&&"ordered-list-item"!==u)return e;t.preventDefault();var l=c.getDepth();if(!t.shiftKey&&l===n)return e;var p=i(s,r,t.shiftKey?-1:1,n);return o.push(e,p,"adjust-depth")},toggleBlockType:function(t,e){var n=t.getSelection(),i=n.getStartKey(),s=n.getEndKey(),c=t.getCurrentContent(),u=n;if(i!==s&&0===n.getEndOffset()){var l=a(c.getBlockBefore(s));s=l.getKey(),u=u.merge({anchorKey:i,anchorOffset:n.getStartOffset(),focusKey:s,focusOffset:l.getLength(),isBackward:!1})}if(c.getBlockMap().skipWhile((function(t,e){return e!==i})).reverse().skipWhile((function(t,e){return e!==s})).some((function(t){return"atomic"===t.getType()})))return t;var p=c.getBlockForKey(i).getType()===e?"unstyled":e;return o.push(t,r.setBlockType(c,u,p),"change-block-type")},toggleCode:function(t){var e=t.getSelection(),n=e.getAnchorKey(),r=e.getFocusKey();return e.isCollapsed()||n!==r?s.toggleBlockType(t,"code-block"):s.toggleInlineStyle(t,"CODE")},toggleInlineStyle:function(t,e){var n=t.getSelection(),i=t.getCurrentInlineStyle();if(n.isCollapsed())return o.setInlineStyleOverride(t,i.has(e)?i.remove(e):i.add(e));var a,s=t.getCurrentContent();return a=i.has(e)?r.removeInlineStyle(s,n,e):r.applyInlineStyle(s,n,e),o.push(t,a,"change-inline-style")},toggleLink:function(t,e,n){var i=r.applyEntity(t.getCurrentContent(),e,n);return o.push(t,i,"apply-entity")},tryToRemoveBlockStyle:function(t){var e=t.getSelection(),n=e.getAnchorOffset();if(e.isCollapsed()&&0===n){var o=e.getAnchorKey(),i=t.getCurrentContent(),a=i.getBlockForKey(o).getType(),s=i.getBlockBefore(o);if("code-block"===a&&s&&"code-block"===s.getType()&&0!==s.getLength())return null;if("unstyled"!==a)return r.setBlockType(i,e,"unstyled")}return null}};t.exports=s},70069:(t,e,n)=>{"use strict";var r=n(84055),o=n(46238),i=n(58364),a=n(98392),s=null,c={cut:function(t){var e=t.getCurrentContent(),n=t.getSelection(),c=null;if(n.isCollapsed()){var u=n.getAnchorKey(),l=e.getBlockForKey(u).getLength();if(l===n.getAnchorOffset()){var p=e.getKeyAfter(u);if(null==p)return t;c=n.set("focusKey",p).set("focusOffset",0)}else c=n.set("focusOffset",l)}else c=n;c=a(c),s=i(e,c);var f=r.removeRange(e,c,"forward");return f===e?t:o.push(t,f,"remove-range")},paste:function(t){if(!s)return t;var e=r.replaceWithFragment(t.getCurrentContent(),t.getSelection(),s);return o.push(t,e,"insert-fragment")}};t.exports=c},69806:(t,e,n)=>{"use strict";var r=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var o=r.prototype;return o.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},o.getAnchorKey=function(){return this.get("anchorKey")},o.getAnchorOffset=function(){return this.get("anchorOffset")},o.getFocusKey=function(){return this.get("focusKey")},o.getFocusOffset=function(){return this.get("focusOffset")},o.getIsBackward=function(){return this.get("isBackward")},o.getHasFocus=function(){return this.get("hasFocus")},o.hasEdgeWithin=function(t,e,n){var r=this.getAnchorKey(),o=this.getFocusKey();if(r===o&&r===t){var i=this.getStartOffset(),a=this.getEndOffset();return e<=i&&i<=n||e<=a&&a<=n}if(t!==r&&t!==o)return!1;var s=t===r?this.getAnchorOffset():this.getFocusOffset();return e<=s&&n>=s},o.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},o.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},o.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},o.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},o.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},r.createEmpty=function(t){return new r({anchorKey:t,anchorOffset:0,focusKey:t,focusOffset:0,isBackward:!1,hasFocus:!1})},r}((0,n(18489).Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1}));t.exports=r},17027:t=>{"use strict";t.exports=function(t,e,n,r){var o=e.getStartKey(),i=e.getEndKey(),a=t.getBlockMap(),s=a.toSeq().skipUntil((function(t,e){return e===o})).takeUntil((function(t,e){return e===i})).concat([[i,a.get(i)]]).map((function(t){var e=t.getDepth()+n;return e=Math.max(0,Math.min(e,r)),t.set("depth",e)}));return a=a.merge(s),t.merge({blockMap:a,selectionBefore:e,selectionAfter:e})}},65491:(t,e,n)=>{"use strict";var r=n(28);t.exports=function(t,e,n,o){for(var i=e,a=t.getCharacterList();i<n;)a=a.set(i,r.applyEntity(a.get(i),o)),i++;return t.set("characterList",a)}},48932:(t,e,n)=>{"use strict";var r=n(65491),o=n(18489);t.exports=function(t,e,n){var i=t.getBlockMap(),a=e.getStartKey(),s=e.getStartOffset(),c=e.getEndKey(),u=e.getEndOffset(),l=i.skipUntil((function(t,e){return e===a})).takeUntil((function(t,e){return e===c})).toOrderedMap().merge(o.OrderedMap([[c,i.get(c)]])).map((function(t,e){var o=e===a?s:0,i=e===c?u:t.getLength();return r(t,o,i,n)}));return t.merge({blockMap:i.merge(l),selectionBefore:e,selectionAfter:e})}},40313:(t,e,n)=>{"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(39806),i=n(72368),a=n(56588),s=n(84963),c=n(63384),u=n(73012),l=function(t,e){return{key:t.getKey(),text:t.getText(),type:t.getType(),depth:t.getDepth(),inlineStyleRanges:c(t),entityRanges:s(t,e),data:t.getData().toObject()}};t.exports=function(t){var e={entityMap:{},blocks:[]};return e=function(t,e){var n=e.entityMap,s=[],c={},p={},f=0;return t.getBlockMap().forEach((function(t){t.findEntityRanges((function(t){return null!==t.getEntity()}),(function(e){var r=t.getEntityAt(e),o=a.stringify(r);p[o]||(p[o]=r,n[o]="".concat(f),f++)})),function(t,e,n,a){if(t instanceof o)n.push(l(t,e));else{t instanceof i||u(!1);var s=t.getParentKey(),c=a[t.getKey()]=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),o.forEach((function(e){r(t,e,n[e])}))}return t}({},l(t,e),{children:[]});s?a[s].children.push(c):n.push(c)}}(t,n,s,c)})),{blocks:s,entityMap:n}}(t,e),e=function(t,e){var n=e.blocks,r=e.entityMap,o={};return Object.keys(r).forEach((function(e,n){var r=t.getEntity(a.unstringify(e));o[n]={type:r.getType(),mutability:r.getMutability(),data:r.getData()}})),{blocks:n,entityMap:o}}(t,e),e}},97614:(t,e,n)=>{"use strict";var r;function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){i(t,e,n[e])}))}return t}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var a=n(28),s=n(39806),c=n(72368),u=n(74682),l=n(3031),p=n(2909),f=n(2775),d=n(84894),h=n(27917),y=n(27936),g=n(18489),m=g.List,v=g.Map,b=g.OrderedSet,_=n(19662),w=n(78659),S=n(8187),M=n(9115),E=y("draft_tree_data_support"),x=new RegExp("\r","g"),k=new RegExp("\n","g"),C=new RegExp("^\n","g"),j=new RegExp(" ","g"),D=new RegExp(" ?","g"),O=new RegExp("​?","g"),I=["bold","bolder","500","600","700","800","900"],L=["light","lighter","normal","100","200","300","400"],N=["className","href","rel","target","title"],A=["alt","className","height","src","width"],T=(i(r={},f("public/DraftStyleDefault/depth0"),0),i(r,f("public/DraftStyleDefault/depth1"),1),i(r,f("public/DraftStyleDefault/depth2"),2),i(r,f("public/DraftStyleDefault/depth3"),3),i(r,f("public/DraftStyleDefault/depth4"),4),r),z=v({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),R=function(t){var e={};return t.mapKeys((function(t,n){var r=[n.element];void 0!==n.aliasedElements&&r.push.apply(r,n.aliasedElements),r.forEach((function(n){void 0===e[n]?e[n]=t:"string"==typeof e[n]?e[n]=[e[n],t]:e[n].push(t)}))})),v(e)},P=function(t){return S(t)&&t.style.fontFamily.includes("monospace")?"CODE":null},B=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(T).some((function(n){t.classList.contains(n)&&(e=T[n])})),e},F=function(t){if(!_(t))return!1;var e=t;if(!e.href||"http:"!==e.protocol&&"https:"!==e.protocol&&"mailto:"!==e.protocol&&"tel:"!==e.protocol)return!1;try{return new p(e.href),!0}catch(t){return!1}},U=function(t){if(!M(t))return!1;var e=t;return!(!e.attributes.getNamedItem("src")||!e.attributes.getNamedItem("src").value)},K=function(t,e){if(!S(t))return e;var n=t,r=n.style.fontWeight,o=n.style.fontStyle,i=n.style.textDecoration;return e.withMutations((function(t){I.indexOf(r)>=0?t.add("BOLD"):L.indexOf(r)>=0&&t.remove("BOLD"),"italic"===o?t.add("ITALIC"):"normal"===o&&t.remove("ITALIC"),"underline"===i&&t.add("UNDERLINE"),"line-through"===i&&t.add("STRIKETHROUGH"),"none"===i&&(t.remove("UNDERLINE"),t.remove("STRIKETHROUGH"))}))},H=function(t){return"ul"===t||"ol"===t},q=function(){function t(t,e){i(this,"characterList",m()),i(this,"currentBlockType","unstyled"),i(this,"currentDepth",0),i(this,"currentEntity",null),i(this,"currentText",""),i(this,"wrapper",null),i(this,"blockConfigs",[]),i(this,"contentBlocks",[]),i(this,"entityMap",l),i(this,"blockTypeMap",void 0),i(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=t,this.disambiguate=e}var e=t.prototype;return e.clear=function(){this.characterList=m(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=l,this.wrapper=null,this.contentBlocks=[]},e.addDOMNode=function(t){var e;return this.contentBlocks=[],this.currentDepth=0,(e=this.blockConfigs).push.apply(e,this._toBlockConfigs([t],b())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},e.getContentBlocks=function(){return 0===this.contentBlocks.length&&(E?this._toContentBlocks(this.blockConfigs):this._toFlatContentBlocks(this.blockConfigs)),{contentBlocks:this.contentBlocks,entityMap:this.entityMap}},e._makeBlockConfig=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.key||d(),n=o({key:e,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:m(),prevSibling:null,nextSibling:null,childConfigs:[]},t);return this.characterList=m(),this.currentBlockType="unstyled",this.currentText="",n},e._toBlockConfigs=function(t,e){for(var n=[],r=0;r<t.length;r++){var o=t[r],i=o.nodeName.toLowerCase();if("body"===i||H(i)){this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var a=this.currentDepth,s=this.wrapper;H(i)&&(this.wrapper=i,H(s)&&this.currentDepth++),n.push.apply(n,this._toBlockConfigs(Array.from(o.childNodes),e)),this.currentDepth=a,this.wrapper=s}else{var c=this.blockTypeMap.get(i);if(void 0===c)if("#text"!==i)if("br"!==i)if(U(o))this._addImgNode(o,e);else if(F(o))this._addAnchorNode(o,n,e);else{var u=e;z.has(i)&&(u=u.add(z.get(i))),u=K(o,u);var l=P(o);null!=l&&(u=u.add(l)),n.push.apply(n,this._toBlockConfigs(Array.from(o.childNodes),u))}else this._addBreakNode(o,e);else this._addTextNode(o,e);else{this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var p=this.currentDepth,f=this.wrapper;if(this.wrapper="pre"===i?"pre":this.wrapper,"string"!=typeof c&&(c=this.disambiguate(i,this.wrapper)||c[0]||"unstyled"),!E&&S(o)&&("unordered-list-item"===c||"ordered-list-item"===c)){var h=o;this.currentDepth=B(h,this.currentDepth)}var y=d(),g=this._toBlockConfigs(Array.from(o.childNodes),e);this._trimCurrentText(),n.push(this._makeBlockConfig({key:y,childConfigs:g,type:c})),this.currentDepth=p,this.wrapper=f}}}return n},e._appendText=function(t,e){var n;this.currentText+=t;var r=a.create({style:e,entity:this.currentEntity});this.characterList=(n=this.characterList).push.apply(n,Array(t.length).fill(r))},e._trimCurrentText=function(){var t=this.currentText.length,e=t-this.currentText.trimLeft().length,n=this.currentText.trimRight().length,r=this.characterList.findEntry((function(t){return null!==t.getEntity()}));(e=void 0!==r?Math.min(e,r[0]):e)>(n=void 0!==(r=this.characterList.reverse().findEntry((function(t){return null!==t.getEntity()})))?Math.max(n,t-r[0]):n)?(this.currentText="",this.characterList=m()):(this.currentText=this.currentText.slice(e,n),this.characterList=this.characterList.slice(e,n))},e._addTextNode=function(t,e){var n=t.textContent;""===n.trim()&&"pre"!==this.wrapper&&(n=" "),"pre"!==this.wrapper&&(n=(n=n.replace(C,"")).replace(k," ")),this._appendText(n,e)},e._addBreakNode=function(t,e){w(t)&&this._appendText("\n",e)},e._addImgNode=function(t,e){if(M(t)){var n=t,r={};A.forEach((function(t){var e=n.getAttribute(t);e&&(r[t]=e)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",r),y("draftjs_fix_paste_for_img")?"presentation"!==n.getAttribute("role")&&this._appendText("📷",e):this._appendText("📷",e),this.currentEntity=null}},e._addAnchorNode=function(t,e,n){if(_(t)){var r=t,o={};N.forEach((function(t){var e=r.getAttribute(t);e&&(o[t]=e)})),o.url=new p(r.href).toString(),this.currentEntity=this.entityMap.__create("LINK","MUTABLE",o||{}),e.push.apply(e,this._toBlockConfigs(Array.from(t.childNodes),n)),this.currentEntity=null}},e._toContentBlocks=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=t.length-1,r=0;r<=n;r++){var i=t[r];i.parent=e,i.prevSibling=r>0?t[r-1].key:null,i.nextSibling=r<n?t[r+1].key:null,i.children=m(i.childConfigs.map((function(t){return t.key}))),this.contentBlocks.push(new c(o({},i))),this._toContentBlocks(i.childConfigs,i.key)}},e._hoistContainersInBlockConfigs=function(t){var e=this;return m(t).flatMap((function(t){return"unstyled"!==t.type||""!==t.text?[t]:e._hoistContainersInBlockConfigs(t.childConfigs)}))},e._toFlatContentBlocks=function(t){var e=this;this._hoistContainersInBlockConfigs(t).forEach((function(t){var n=e._extractTextFromBlockConfigs(t.childConfigs),r=n.text,i=n.characterList;e.contentBlocks.push(new s(o({},t,{text:t.text+r,characterList:t.characterList.concat(i)})))}))},e._extractTextFromBlockConfigs=function(t){for(var e=t.length-1,n="",r=m(),o=0;o<=e;o++){var i=t[o];n+=i.text,r=r.concat(i.characterList),""!==n&&"unstyled"!==i.type&&(n+="\n",r=r.push(r.last()));var a=this._extractTextFromBlockConfigs(i.childConfigs);n+=a.text,r=r.concat(a.characterList)}return{text:n,characterList:r}},t}();t.exports=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u,r=e(t=t.trim().replace(x,"").replace(j," ").replace(D,"").replace(O,""));if(!r)return null;var o=R(n),i=function(t,e){return"li"===t?"ol"===e?"ordered-list-item":"unordered-list-item":null};return new q(o,i).addDOMNode(r).getContentBlocks()}},80618:(t,e,n)=>{"use strict";function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){o(t,e,n[e])}))}return t}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var i=n(39806),a=n(72368),s=n(10789),c=n(3031),u=n(74645),l=(n(54775),n(69806)),p=n(68115),f=n(9769),d=n(47413),h=n(84894),y=n(27936),g=n(18489),m=n(73012),v=y("draft_tree_data_support"),b=g.List,_=g.Map,w=g.OrderedMap,S=function(t,e){var n=t.key,r=t.type,o=t.data;return{text:t.text,depth:t.depth||0,type:r||"unstyled",key:n||h(),data:_(o),characterList:M(t,e)}},M=function(t,e){var n=t.text,o=t.entityRanges,i=t.inlineStyleRanges,a=o||[];return p(d(n,i||[]),f(n,a.filter((function(t){return e.hasOwnProperty(t.key)})).map((function(t){return r({},t,{key:e[t.key]})}))))},E=function(t){return r({},t,{key:t.key||h()})},x=function(t,e,n){var o=e.map((function(t){return r({},t,{parentRef:n})}));return t.concat(o.reverse())};t.exports=function(t){Array.isArray(t.blocks)||m(!1);var e=function(t){var e=t.entityMap,n={};return Object.keys(e).forEach((function(t){var r=e[t],o=r.type,i=r.mutability,a=r.data;n[t]=c.__create(o,i,a||{})})),n}(t),n=function(t,e){var n=t.blocks.find((function(t){return Array.isArray(t.children)&&t.children.length>0})),o=v&&!n?u.fromRawStateToRawTreeState(t).blocks:t.blocks;if(!v)return function(t,e){return w(t.map((function(t){var n=new i(S(t,e));return[n.getKey(),n]})))}(n?u.fromRawTreeStateToRawState(t).blocks:o,e);var s=function(t,e){return t.map(E).reduce((function(n,o,i){Array.isArray(o.children)||m(!1);var s=o.children.map(E),c=new a(r({},S(o,e),{prevSibling:0===i?null:t[i-1].key,nextSibling:i===t.length-1?null:t[i+1].key,children:b(s.map((function(t){return t.key})))}));n=n.set(c.getKey(),c);for(var u=x([],s,c);u.length>0;){var l=u.pop(),p=l.parentRef,f=p.getChildKeys(),d=f.indexOf(l.key),h=Array.isArray(l.children);if(!h){h||m(!1);break}var y=l.children.map(E),g=new a(r({},S(l,e),{parent:p.getKey(),children:b(y.map((function(t){return t.key}))),prevSibling:0===d?null:f.get(d-1),nextSibling:d===f.size-1?null:f.get(d+1)}));n=n.set(g.getKey(),g),u=x(u,y,g)}return n}),w())}(o,e);return s}(t,e),o=n.isEmpty()?new l:l.createEmpty(n.first().getKey());return new s({blockMap:n,entityMap:e,selectionBefore:o,selectionAfter:o})}},68115:(t,e,n)=>{"use strict";var r=n(28),o=n(18489).List;t.exports=function(t,e){var n=t.map((function(t,n){var o=e[n];return r.create({style:t,entity:o})}));return o(n)}},9769:(t,e,n)=>{"use strict";var r=n(13820).substr;t.exports=function(t,e){var n=Array(t.length).fill(null);return e&&e.forEach((function(e){for(var o=r(t,0,e.offset).length,i=o+r(t,e.offset,e.length).length,a=o;a<i;a++)n[a]=e.key})),n}},47413:(t,e,n)=>{"use strict";var r=n(13820),o=n(18489).OrderedSet,i=r.substr,a=o();t.exports=function(t,e){var n=Array(t.length).fill(a);return e&&e.forEach((function(e){for(var r=i(t,0,e.offset).length,o=r+i(t,e.offset,e.length).length;r<o;)n[r]=n[r].add(e.style),r++})),n}},50884:t=>{"use strict";t.exports={notEmptyKey:function(t){return null!=t&&""!=t}}},8658:(t,e,n)=>{"use strict";var r=n(84055),o=n(46238),i=n(91355),a=n(34483),s=n(5218),c=n(99322),u=n(98392),l=n(55060),p=i.isBrowser("Firefox");function f(t,e,n,i,a){var s=r.replaceText(t.getCurrentContent(),t.getSelection(),e,n,i);return o.push(t,s,"insert-characters",a)}t.exports=function(t,e){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0);var n=t._latestEditorState,r=e.data;if(r)if(t.props.handleBeforeInput&&s(t.props.handleBeforeInput(r,n,e.timeStamp)))e.preventDefault();else{var i=n.getSelection(),d=i.getStartOffset(),h=i.getAnchorKey();if(!i.isCollapsed())return e.preventDefault(),void t.update(f(n,r,n.getCurrentInlineStyle(),a(n.getCurrentContent(),n.getSelection()),!0));var y,g=f(n,r,n.getCurrentInlineStyle(),a(n.getCurrentContent(),n.getSelection()),!1),m=!1;if(m||(m=c(t._latestCommittedEditorState)),!m){var v=n.getBlockTree(h),b=g.getBlockTree(h);m=v.size!==b.size||v.zip(b).some((function(t){var e=t[0],n=t[1],o=e.get("start"),i=o+(o>=d?r.length:0),a=e.get("end"),s=a+(a>=d?r.length:0),c=n.get("start"),u=n.get("end"),l=n.get("decoratorKey");return e.get("decoratorKey")!==l||e.get("leaves").size!==n.get("leaves").size||i!==c||s!==u||null!=l&&u-c!=a-o}))}if(m||(y=r,m=p&&("'"==y||"/"==y)),m||(m=u(g.getDirectionMap()).get(h)!==u(n.getDirectionMap()).get(h)),m)return e.preventDefault(),g=o.set(g,{forceSelection:!0}),void t.update(g);g=o.set(g,{nativelyRenderedContent:g.getCurrentContent()}),t._pendingStateFromBeforeInput=g,l((function(){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0)}))}}},5976:(t,e,n)=>{"use strict";var r=n(46238),o=n(61530),i=n(16838);t.exports=function(t,e){var n=e.currentTarget.ownerDocument;if(!Boolean(t.props.preserveSelectionOnBlur)&&i(n)===n.body){var a=n.defaultView.getSelection(),s=t.editor;1===a.rangeCount&&o(s,a.anchorNode)&&o(s,a.focusNode)&&a.removeAllRanges()}var c=t._latestEditorState,u=c.getSelection();if(u.getHasFocus()){var l=u.set("hasFocus",!1);t.props.onBlur&&t.props.onBlur(e),t.update(r.acceptSelection(c,l))}}},70410:(t,e,n)=>{"use strict";var r=n(46238);t.exports=function(t,e){t.setMode("composite"),t.update(r.set(t._latestEditorState,{inCompositionMode:!0})),t._onCompositionStart(e)}},3248:(t,e,n)=>{"use strict";var r=n(25057);t.exports=function(t,e){t._latestEditorState.getSelection().isCollapsed()?e.preventDefault():t.setClipboard(r(t._latestEditorState))}},46811:(t,e,n)=>{"use strict";var r=n(84055),o=n(46238),i=n(99986),a=n(25057),s=n(51702),c=n(89836);t.exports=function(t,e){var n,u=t._latestEditorState,l=u.getSelection(),p=e.target;if(l.isCollapsed())e.preventDefault();else{if(c(p)){var f=p;n=s(i.getScrollParent(f))}var d=a(u);t.setClipboard(d),t.setMode("cut"),setTimeout((function(){t.restoreEditorDOM(n),t.exitCurrentMode(),t.update(function(t){var e=r.removeRange(t.getCurrentContent(),t.getSelection(),"forward");return o.push(t,e,"remove-range")}(u))}),0)}}},98451:t=>{"use strict";t.exports=function(t,e){t.setMode("drag"),e.preventDefault()}},15160:t=>{"use strict";t.exports=function(t){t._internalDrag=!0,t.setMode("drag")}},45313:(t,e,n)=>{"use strict";var r=n(46238),o=n(91355);t.exports=function(t,e){var n=t._latestEditorState,i=n.getSelection();if(!i.getHasFocus()){var a=i.set("hasFocus",!0);t.props.onFocus&&t.props.onFocus(e),o.isBrowser("Chrome < 60.0.3081.0")?t.update(r.forceSelection(n,a)):t.update(r.acceptSelection(n,a))}}},73078:(t,e,n)=>{"use strict";var r=n(84055),o=n(33638),i=n(46238),a=n(91355),s=n(50884).notEmptyKey,c=n(59321),u=n(19226),l=n(98392),p=a.isEngine("Gecko");t.exports=function(t,e){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0);var n=t.editor.ownerDocument.defaultView.getSelection(),a=n.anchorNode,f=n.isCollapsed,d=(null==a?void 0:a.nodeType)!==Node.TEXT_NODE&&(null==a?void 0:a.nodeType)!==Node.ELEMENT_NODE;if(null!=a&&!d){if(a.nodeType===Node.TEXT_NODE&&(null!==a.previousSibling||null!==a.nextSibling)){var h=a.parentNode;if(null==h)return;a.nodeValue=h.textContent;for(var y=h.firstChild;null!=y;y=y.nextSibling)y!==a&&h.removeChild(y)}var g=a.textContent,m=t._latestEditorState,v=l(c(a)),b=o.decode(v),_=b.blockKey,w=b.decoratorKey,S=b.leafKey,M=m.getBlockTree(_).getIn([w,"leaves",S]),E=M.start,x=M.end,k=m.getCurrentContent(),C=k.getBlockForKey(_),j=C.getText().slice(E,x);if(g.endsWith("\n\n")&&(g=g.slice(0,-1)),g!==j){var D,O,I,L,N=m.getSelection(),A=N.merge({anchorOffset:E,focusOffset:x,isBackward:!1}),T=C.getEntityAt(E),z=s(T)?k.getEntity(T):null,R="MUTABLE"===(null!=z?z.getMutability():null),P=R?"spellcheck-change":"apply-entity",B=r.replaceText(k,A,g,C.getInlineStyleAt(E),R?C.getEntityAt(E):null);if(p)D=n.anchorOffset,O=n.focusOffset,L=(I=E+Math.min(D,O))+Math.abs(D-O),D=I,O=L;else{var F=g.length-j.length;I=N.getStartOffset(),L=N.getEndOffset(),D=f?L+F:I,O=L+F}var U=B.merge({selectionBefore:k.getSelectionAfter(),selectionAfter:N.merge({anchorOffset:D,focusOffset:O})});t.update(i.push(m,U,P))}else{var K=e.nativeEvent.inputType;if(K){var H=function(t,e){return"deleteContentBackward"===t?u(e):e}(K,m);if(H!==m)return t.restoreEditorDOM(),void t.update(H)}}}}},63194:(t,e,n)=>{"use strict";var r=n(84055),o=n(46238),i=n(76944),a=n(7482),s=n(70069),c=n(91355),u=n(5218),l=n(63453),p=n(29683),f=n(47796),d=n(27380),h=n(24738),y=n(92172),g=n(19226),m=n(35394),v=n(95358),b=n(95649),_=i.isOptionKeyCommand,w=c.isBrowser("Chrome");t.exports=function(t,e){var n=e.which,i=t._latestEditorState;function c(n){var r=t.props[n];return!!r&&(r(e),!0)}switch(n){case a.RETURN:if(e.preventDefault(),t.props.handleReturn&&u(t.props.handleReturn(e,i)))return;break;case a.ESC:if(e.preventDefault(),c("onEscape"))return;break;case a.TAB:if(c("onTab"))return;break;case a.UP:if(c("onUpArrow"))return;break;case a.RIGHT:if(c("onRightArrow"))return;break;case a.DOWN:if(c("onDownArrow"))return;break;case a.LEFT:if(c("onLeftArrow"))return;break;case a.SPACE:w&&_(e)&&e.preventDefault()}var S=t.props.keyBindingFn(e);if(null!=S&&""!==S)if("undo"!==S){if(e.preventDefault(),!t.props.handleKeyCommand||!u(t.props.handleKeyCommand(S,i,e.timeStamp))){var M=function(t,e,n){switch(t){case"redo":return o.redo(e);case"delete":return m(e);case"delete-word":return f(e);case"backspace":return g(e);case"backspace-word":return p(e);case"backspace-to-start-of-line":return l(e,n);case"split-block":return d(e);case"transpose-characters":return v(e);case"move-selection-to-start-of-block":return y(e);case"move-selection-to-end-of-block":return h(e);case"secondary-cut":return s.cut(e);case"secondary-paste":return s.paste(e);default:return e}}(S,i,e);M!==i&&t.update(M)}}else b(e,i,t.update);else if(n===a.SPACE&&w&&_(e)){var E=r.replaceText(i.getCurrentContent(),i.getSelection()," ");t.update(o.push(i,E,"insert-characters"))}}},88924:(t,e,n)=>{"use strict";var r=n(38046),o=n(28),i=n(97880),a=n(84055),s=n(17605),c=n(46238),u=n(93626),l=n(34483),p=n(26288),f=n(5218),d=n(39347);function h(t,e,n){var r=a.replaceWithFragment(t.getCurrentContent(),t.getSelection(),e);return c.push(t,r.set("entityMap",n),"insert-fragment")}t.exports=function(t,e){e.preventDefault();var n=new i(e.clipboardData);if(!n.isRichText()){var y=n.getFiles(),g=n.getText();if(y.length>0){if(t.props.handlePastedFiles&&f(t.props.handlePastedFiles(y)))return;return void p(y,(function(e){if(e=e||g){var n=t._latestEditorState,i=d(e),p=o.create({style:n.getCurrentInlineStyle(),entity:l(n.getCurrentContent(),n.getSelection())}),f=u.getCurrentBlockType(n),h=s.processText(i,p,f),y=r.createFromArray(h),m=a.replaceWithFragment(n.getCurrentContent(),n.getSelection(),y);t.update(c.push(n,m,"insert-fragment"))}}))}}var m=[],v=n.getText(),b=n.getHTML(),_=t._latestEditorState;if(t.props.formatPastedText){var w=t.props.formatPastedText(v,b);v=w.text,b=w.html}if(!t.props.handlePastedText||!f(t.props.handlePastedText(v,b,_))){if(v&&(m=d(v)),!t.props.stripPastedStyles){var S,M=t.getClipboard();if(!t.props.formatPastedText&&n.isRichText()&&M){if(-1!==(null===(S=b)||void 0===S?void 0:S.indexOf(t.getEditorKey()))||1===m.length&&1===M.size&&M.first().getText()===v)return void t.update(h(t._latestEditorState,M))}else if(M&&n.types.includes("com.apple.webarchive")&&!n.types.includes("text/html")&&function(t,e){return t.length===e.size&&e.valueSeq().every((function(e,n){return e.getText()===t[n]}))}(m,M))return void t.update(h(t._latestEditorState,M));if(b){var E=s.processHTML(b,t.props.blockRenderMap);if(E){var x=E.contentBlocks,k=E.entityMap;if(x){var C=r.createFromArray(x);return void t.update(h(t._latestEditorState,C,k))}}}t.setClipboard(null)}if(m.length){var j=o.create({style:_.getCurrentInlineStyle(),entity:l(_.getCurrentContent(),_.getSelection())}),D=u.getCurrentBlockType(_),O=s.processText(m,j,D),I=r.createFromArray(O);t.update(h(t._latestEditorState,I))}}}},31611:(t,e,n)=>{"use strict";var r=n(31532),o=n(46238),i=n(23357),a=n(62263);t.exports=function(t){if(t._blockSelectEvents||t._latestEditorState!==t.props.editorState){if(t._blockSelectEvents){var e=t.props.editorState.getSelection();r.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(e.toJS())})}}else{var n=t.props.editorState,s=a(n,i(t)),c=s.selectionState;c!==n.getSelection()&&(n=s.needsRecovery?o.forceSelection(n,c):o.acceptSelection(n,c),t.update(n))}}},84963:(t,e,n)=>{"use strict";var r=n(56588),o=n(13820).strlen;t.exports=function(t,e){var n=[];return t.findEntityRanges((function(t){return!!t.getEntity()}),(function(i,a){var s=t.getText(),c=t.getEntityAt(i);n.push({offset:o(s.slice(0,i)),length:o(s.slice(i,a)),key:Number(e[r.stringify(c)])})})),n}},63384:(t,e,n)=>{"use strict";var r=n(13820),o=n(90754),i=function(t,e){return t===e},a=function(t){return!!t},s=[];t.exports=function(t){var e=t.getCharacterList().map((function(t){return t.getStyle()})).toList(),n=e.flatten().toSet().map((function(n){return function(t,e,n){var s=[],c=e.map((function(t){return t.has(n)})).toList();return o(c,i,a,(function(e,o){var i=t.getText();s.push({offset:r.strlen(i.slice(0,e)),length:r.strlen(i.slice(e,o)),style:n})})),s}(t,e,n)}));return Array.prototype.concat.apply(s,n.toJS())}},96107:(t,e,n)=>{"use strict";var r=n(13820),o=n(45653),i=n(74468),a=n(73012);function s(t,e){for(var n=1/0,r=1/0,o=-1/0,i=-1/0,a=0;a<t.length;a++){var s=t[a];0!==s.width&&1!==s.width&&(n=Math.min(n,s.top),r=Math.min(r,s.bottom),o=Math.max(o,s.top),i=Math.max(i,s.bottom))}return o<=r&&o-n<e&&i-r<e}function c(t){switch(t.nodeType){case Node.DOCUMENT_TYPE_NODE:return 0;case Node.TEXT_NODE:case Node.PROCESSING_INSTRUCTION_NODE:case Node.COMMENT_NODE:return t.length;default:return t.childNodes.length}}t.exports=function(t){t.collapsed||a(!1);var e=(t=t.cloneRange()).startContainer;1!==e.nodeType&&(e=e.parentNode);var n=function(t){var e=getComputedStyle(t),n=o(t),r=n.createElement("div");r.style.fontFamily=e.fontFamily,r.style.fontSize=e.fontSize,r.style.fontStyle=e.fontStyle,r.style.fontWeight=e.fontWeight,r.style.lineHeight=e.lineHeight,r.style.position="absolute",r.textContent="M";var i=n.body;i||a(!1),i.appendChild(r);var s=r.getBoundingClientRect();return i.removeChild(r),s.height}(e),u=t.endContainer,l=t.endOffset;for(t.setStart(t.startContainer,0);s(i(t),n)&&(u=t.startContainer,l=t.startOffset,u.parentNode||a(!1),t.setStartBefore(u),1!==u.nodeType||"inline"===getComputedStyle(u).display););for(var p=u,f=l-1;;){for(var d=p.nodeValue,h=f;h>=0;h--)if(!(null!=d&&h>0&&r.isSurrogatePair(d,h-1))){if(t.setStart(p,h),!s(i(t),n))break;u=p,l=h}if(-1===h||0===p.childNodes.length)break;f=c(p=p.childNodes[h])}return t.setStart(u,l),t}},59321:(t,e,n)=>{"use strict";var r=n(45653),o=n(6244);t.exports=function(t){for(var e=t;e&&e!==r(t).documentElement;){var n=o(e);if(null!=n)return n;e=e.parentNode}return null}},90754:t=>{"use strict";t.exports=function(t,e,n,r){if(t.size){var o=0;t.reduce((function(t,i,a){return e(t,i)||(n(t)&&r(o,a),o=a),i})),n(t.last())&&r(o,t.count())}}},84894:t=>{"use strict";var e={},n=Math.pow(2,24);t.exports=function(){for(var t;void 0===t||e.hasOwnProperty(t)||!isNaN(+t);)t=Math.floor(Math.random()*n).toString(32);return e[t]=!0,t}},3022:(t,e,n)=>{"use strict";var r=n(19142),o=n(21622),i=n(73012);function a(t,e,n,a,s,c,u){var l=n.getStartOffset(),p=n.getEndOffset(),f=t.__get(s).getMutability(),d=u?l:p;if("MUTABLE"===f)return n;var h=o(e,s).filter((function(t){return d<=t.end&&d>=t.start}));1!=h.length&&i(!1);var y=h[0];if("IMMUTABLE"===f)return n.merge({anchorOffset:y.start,focusOffset:y.end,isBackward:!1});c||(u?p=y.end:l=y.start);var g=r.getRemovalRange(l,p,e.getText().slice(y.start,y.end),y.start,a);return n.merge({anchorOffset:g.start,focusOffset:g.end,isBackward:!1})}t.exports=function(t,e,n,r,o){var i=r.getStartOffset(),s=r.getEndOffset(),c=e.getEntityAt(i),u=n.getEntityAt(s-1);if(!c&&!u)return r;var l=r;if(c&&c===u)l=a(t,e,l,o,c,!0,!0);else if(c&&u){var p=a(t,e,l,o,c,!1,!0),f=a(t,n,l,o,u,!1,!1);l=l.merge({anchorOffset:p.getAnchorOffset(),focusOffset:f.getFocusOffset(),isBackward:!1})}else if(c){var d=a(t,e,l,o,c,!1,!0);l=l.merge({anchorOffset:d.getStartOffset(),isBackward:!1})}else if(u){var h=a(t,n,l,o,u,!1,!1);l=l.merge({focusOffset:h.getEndOffset(),isBackward:!1})}return l}},23357:(t,e,n)=>{"use strict";var r=n(73012),o=n(8187);t.exports=function(t){var e=t.editorContainer;return e||r(!1),o(e.firstChild)||r(!1),e.firstChild}},58364:(t,e,n)=>{"use strict";var r=n(58064),o=n(77506);t.exports=function(t,e){var n=e.getStartKey(),i=e.getStartOffset(),a=e.getEndKey(),s=e.getEndOffset(),c=o(t,e).getBlockMap(),u=c.keySeq(),l=u.indexOf(n),p=u.indexOf(a)+1;return r(c.slice(l,p).map((function(t,e){var r=t.getText(),o=t.getCharacterList();return n===a?t.merge({text:r.slice(i,s),characterList:o.slice(i,s)}):e===n?t.merge({text:r.slice(i),characterList:o.slice(i)}):e===a?t.merge({text:r.slice(0,s),characterList:o.slice(0,s)}):t})))}},45653:t=>{"use strict";t.exports=function(t){return t&&t.ownerDocument?t.ownerDocument:document}},91741:(t,e,n)=>{"use strict";var r=n(76944),o=n(7482),i=n(91355),a=i.isPlatform("Mac OS X"),s=a&&i.isBrowser("Firefox < 29"),c=r.hasCommandModifier,u=r.isCtrlKeyCommand;function l(t){return a&&t.altKey||u(t)}t.exports=function(t){switch(t.keyCode){case 66:return c(t)?"bold":null;case 68:return u(t)?"delete":null;case 72:return u(t)?"backspace":null;case 73:return c(t)?"italic":null;case 74:return c(t)?"code":null;case 75:return a&&u(t)?"secondary-cut":null;case 77:case 79:return u(t)?"split-block":null;case 84:return a&&u(t)?"transpose-characters":null;case 85:return c(t)?"underline":null;case 87:return a&&u(t)?"backspace-word":null;case 89:return u(t)?a?"secondary-paste":"redo":null;case 90:return function(t){return c(t)?t.shiftKey?"redo":"undo":null}(t)||null;case o.RETURN:return"split-block";case o.DELETE:return function(t){return!a&&t.shiftKey?null:l(t)?"delete-word":"delete"}(t);case o.BACKSPACE:return function(t){return c(t)&&a?"backspace-to-start-of-line":l(t)?"backspace-word":"backspace"}(t);case o.LEFT:return s&&c(t)?"move-selection-to-start-of-block":null;case o.RIGHT:return s&&c(t)?"move-selection-to-end-of-block":null;default:return null}}},62263:(t,e,n)=>{"use strict";var r=n(97222);t.exports=function(t,e){var n=e.ownerDocument.defaultView.getSelection(),o=n.anchorNode,i=n.anchorOffset,a=n.focusNode,s=n.focusOffset;return 0===n.rangeCount||null==o||null==a?{selectionState:t.getSelection().set("hasFocus",!1),needsRecovery:!1}:r(t,e,o,i,a,s)}},97222:(t,e,n)=>{"use strict";var r=n(59321),o=n(6244),i=n(39433),a=n(73012),s=n(23833),c=n(98392);function u(t,e,n){var i=e,u=r(i);if(null!=u||t&&(t===i||t.firstChild===i)||a(!1),t===i&&(i=i.firstChild,s(i)||a(!1),"true"!==i.getAttribute("data-contents")&&a(!1),n>0&&(n=i.childNodes.length)),0===n){var p=null;if(null!=u)p=u;else{var f=function(t){for(;t.firstChild&&(s(t.firstChild)&&"true"===t.firstChild.getAttribute("data-blocks")||o(t.firstChild));)t=t.firstChild;return t}(i);p=c(o(f))}return{key:p,offset:0}}var d=i.childNodes[n-1],h=null,y=null;if(o(d)){var g=function(t){for(;t.lastChild&&(s(t.lastChild)&&"true"===t.lastChild.getAttribute("data-blocks")||o(t.lastChild));)t=t.lastChild;return t}(d);h=c(o(g)),y=l(g)}else h=c(u),y=l(d);return{key:h,offset:y}}function l(t){var e=t.textContent;return"\n"===e?0:e.length}t.exports=function(t,e,n,o,a,s){var l=n.nodeType===Node.TEXT_NODE,p=a.nodeType===Node.TEXT_NODE;if(l&&p)return{selectionState:i(t,c(r(n)),o,c(r(a)),s),needsRecovery:!1};var f=null,d=null,h=!0;return l?(f={key:c(r(n)),offset:o},d=u(e,a,s)):p?(d={key:c(r(a)),offset:s},f=u(e,n,o)):(f=u(e,n,o),d=u(e,a,s),n===a&&o===s&&(h=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:i(t,f.key,f.offset,d.key,d.offset),needsRecovery:h}}},34483:(t,e,n)=>{"use strict";var r=n(50884).notEmptyKey;function o(t,e){return r(e)&&"MUTABLE"===t.__get(e).getMutability()?e:null}t.exports=function(t,e){var n;if(e.isCollapsed()){var r=e.getAnchorKey(),i=e.getAnchorOffset();return i>0?(n=t.getBlockForKey(r).getEntityAt(i-1))!==t.getBlockForKey(r).getEntityAt(i)?null:o(t.getEntityMap(),n):null}var a=e.getStartKey(),s=e.getStartOffset(),c=t.getBlockForKey(a);return n=s===c.getLength()?null:c.getEntityAt(s),o(t.getEntityMap(),n)}},25057:(t,e,n)=>{"use strict";var r=n(58364);t.exports=function(t){var e=t.getSelection();return e.isCollapsed()?null:r(t.getCurrentContent(),e)}},2839:(t,e,n)=>{"use strict";var r=n(72368);t.exports=function(t,e){if(!(t instanceof r))return null;var n=t.getNextSiblingKey();if(n)return n;var o=t.getParentKey();if(!o)return null;for(var i=e.get(o);i&&!i.getNextSiblingKey();){var a=i.getParentKey();i=a?e.get(a):null}return i?i.getNextSiblingKey():null}},14723:t=>{"use strict";t.exports=function(t){return Object.keys(t).map((function(e){return t[e]}))}},50959:(t,e,n)=>{"use strict";var r=n(74468);t.exports=function(t){var e=r(t),n=0,o=0,i=0,a=0;if(e.length){if(e.length>1&&0===e[0].width){var s=e[1];n=s.top,o=s.right,i=s.bottom,a=s.left}else{var c=e[0];n=c.top,o=c.right,i=c.bottom,a=c.left}for(var u=1;u<e.length;u++){var l=e[u];0!==l.height&&0!==l.width&&(n=Math.min(n,l.top),o=Math.max(o,l.right),i=Math.max(i,l.bottom),a=Math.min(a,l.left))}}return{top:n,right:o,bottom:i,left:a,width:o-a,height:i-n}}},74468:(t,e,n)=>{"use strict";var r=n(91355),o=n(73012),i=r.isBrowser("Chrome")?function(t){for(var e=t.cloneRange(),n=[],r=t.endContainer;null!=r;r=r.parentNode){var i=r===t.commonAncestorContainer;i?e.setStart(t.startContainer,t.startOffset):e.setStart(e.endContainer,0);var a,s=Array.from(e.getClientRects());if(n.push(s),i)return n.reverse(),(a=[]).concat.apply(a,n);e.setEndBefore(r)}o(!1)}:function(t){return Array.from(t.getClientRects())};t.exports=i},21622:(t,e,n)=>{"use strict";var r=n(73012);t.exports=function(t,e){var n=[];return t.findEntityRanges((function(t){return t.getEntity()===e}),(function(t,e){n.push({start:t,end:e})})),n.length||r(!1),n}},27917:(t,e,n)=>{"use strict";var r=n(91355),o=n(73012),i=r.isBrowser("IE <= 9");t.exports=function(t){var e,n=null;return!i&&document.implementation&&document.implementation.createHTMLDocument&&((e=document.implementation.createHTMLDocument("foo")).documentElement||o(!1),e.documentElement.innerHTML=t,n=e.getElementsByTagName("body")[0]),n}},6244:(t,e,n)=>{"use strict";var r=n(23833);t.exports=function t(e){if(r(e)){var n=e,o=n.getAttribute("data-offset-key");if(o)return o;for(var i=0;i<n.childNodes.length;i++){var a=t(n.childNodes[i]);if(a)return a}}return null}},26288:(t,e,n)=>{"use strict";var r=n(73012),o=/\.textClipping$/,i={"text/plain":!0,"text/html":!0,"text/rtf":!0};t.exports=function(t,e){var a=0,s=[];t.forEach((function(c){!function(t,e){if(!n.g.FileReader||t.type&&!(t.type in i))e("");else{if(""===t.type){var a="";return o.test(t.name)&&(a=t.name.replace(o,"")),void e(a)}var s=new FileReader;s.onload=function(){var t=s.result;"string"!=typeof t&&r(!1),e(t)},s.onerror=function(){e("")},s.readAsText(t)}}(c,(function(n){a++,n&&s.push(n.slice(0,5e3)),a==t.length&&e(s.join("\r"))}))}))}},39433:(t,e,n)=>{"use strict";var r=n(33638),o=n(98392);t.exports=function(t,e,n,i,a){var s=o(t.getSelection());if(!e||!i)return s;var c=r.decode(e),u=c.blockKey,l=t.getBlockTree(u),p=l&&l.getIn([c.decoratorKey,"leaves",c.leafKey]),f=r.decode(i),d=f.blockKey,h=t.getBlockTree(d),y=h&&h.getIn([f.decoratorKey,"leaves",f.leafKey]);if(!p||!y)return s;var g=p.get("start"),m=y.get("start"),v=p?g+n:null,b=y?m+a:null;if(s.getAnchorKey()===u&&s.getAnchorOffset()===v&&s.getFocusKey()===d&&s.getFocusOffset()===b)return s;var _=!1;if(u===d){var w=p.get("end"),S=y.get("end");_=m===g&&S===w?a<n:m<g}else _=t.getCurrentContent().getBlockMap().keySeq().skipUntil((function(t){return t===u||t===d})).first()===d;return s.merge({anchorKey:u,anchorOffset:v,focusKey:d,focusOffset:b,isBackward:_})}},602:(t,e,n)=>{"use strict";var r=n(50959);t.exports=function(t){var e=t.getSelection();if(!e.rangeCount)return null;var n=e.getRangeAt(0),o=r(n),i=o.top,a=o.right,s=o.bottom,c=o.left;return 0===i&&0===a&&0===s&&0===c?null:o}},52868:t=>{"use strict";t.exports=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:window}},27936:t=>{"use strict";t.exports=function(t){return!("undefined"==typeof window||!window.__DRAFT_GKX||!window.__DRAFT_GKX[t])}},14719:(t,e,n)=>{"use strict";var r=n(38046),o=n(72368),i=n(18489),a=n(31226),s=n(73012),c=n(58064),u=i.List,l=function(t,e,n,r,o,i){var s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",c=n.get(o),u=c.getText(),l=c.getCharacterList(),p=o,f=i+r.getText().length,d=null;switch(s){case"MERGE_OLD_DATA_TO_NEW_DATA":d=r.getData().merge(c.getData());break;case"REPLACE_WITH_NEW_DATA":d=r.getData()}var h=c.getType();u&&"unstyled"===h&&(h=r.getType());var y=c.merge({text:u.slice(0,i)+r.getText()+u.slice(i),characterList:a(l,r.getCharacterList(),i),type:h,data:d});return t.merge({blockMap:n.set(o,y),selectionBefore:e,selectionAfter:e.merge({anchorKey:p,anchorOffset:f,focusKey:p,focusOffset:f,isBackward:!1})})},p=function(t,e,n,i,a,s){var c=n.first()instanceof o,l=[],p=i.size,f=n.get(a),d=i.first(),h=i.last(),y=h.getLength(),g=h.getKey(),m=c&&(!f.getChildKeys().isEmpty()||!d.getChildKeys().isEmpty());n.forEach((function(t,e){e===a?(m?l.push(t):l.push(function(t,e,n){var r=t.getText(),o=t.getCharacterList(),i=r.slice(0,e),a=o.slice(0,e),s=n.first();return t.merge({text:i+s.getText(),characterList:a.concat(s.getCharacterList()),type:i?t.getType():s.getType(),data:s.getData()})}(t,s,i)),i.slice(m?0:1,p-1).forEach((function(t){return l.push(t)})),l.push(function(t,e,n){var r=t.getText(),o=t.getCharacterList(),i=r.length,a=r.slice(e,i),s=o.slice(e,i),c=n.last();return c.merge({text:c.getText()+a,characterList:c.getCharacterList().concat(s),data:c.getData()})}(t,s,i))):l.push(t)}));var v=r.createFromArray(l);return c&&(v=function(t,e,n,r){return t.withMutations((function(e){var o=n.getKey(),i=r.getKey(),a=n.getNextSiblingKey(),s=n.getParentKey(),c=function(t,e){var n=t.getKey(),r=t,o=[];for(e.get(n)&&o.push(n);r&&r.getNextSiblingKey();){var i=r.getNextSiblingKey();if(!i)break;o.push(i),r=e.get(i)}return o}(r,t),l=c[c.length-1];if(e.get(i)?(e.setIn([o,"nextSibling"],i),e.setIn([i,"prevSibling"],o)):(e.setIn([o,"nextSibling"],r.getNextSiblingKey()),e.setIn([r.getNextSiblingKey(),"prevSibling"],o)),e.setIn([l,"nextSibling"],a),a&&e.setIn([a,"prevSibling"],l),c.forEach((function(t){return e.setIn([t,"parent"],s)})),s){var p=t.get(s).getChildKeys(),f=p.indexOf(o)+1,d=p.toArray();d.splice.apply(d,[f,0].concat(c)),e.setIn([s,"children"],u(d))}}))}(v,0,f,d)),t.merge({blockMap:v,selectionBefore:e,selectionAfter:e.merge({anchorKey:g,anchorOffset:y,focusKey:g,focusOffset:y,isBackward:!1})})};t.exports=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";e.isCollapsed()||s(!1);var i=t.getBlockMap(),a=c(n),u=e.getStartKey(),f=e.getStartOffset(),d=i.get(u);return d instanceof o&&(d.getChildKeys().isEmpty()||s(!1)),1===a.size?l(t,e,i,a.first(),u,f,r):p(t,e,i,a,u,f)}},31226:t=>{"use strict";t.exports=function(t,e,n){var r=t;if(n===r.count())e.forEach((function(t){r=r.push(t)}));else if(0===n)e.reverse().forEach((function(t){r=r.unshift(t)}));else{var o=r.slice(0,n),i=r.slice(n);r=o.concat(e,i).toList()}return r}},79585:(t,e,n)=>{"use strict";var r=n(18489),o=n(31226),i=n(73012),a=r.Repeat;t.exports=function(t,e,n,r){e.isCollapsed()||i(!1);var s=null;if(null!=n&&(s=n.length),null==s||0===s)return t;var c=t.getBlockMap(),u=e.getStartKey(),l=e.getStartOffset(),p=c.get(u),f=p.getText(),d=p.merge({text:f.slice(0,l)+n+f.slice(l,p.getLength()),characterList:o(p.getCharacterList(),a(r,s).toList(),l)}),h=l+s;return t.merge({blockMap:c.set(u,d),selectionAfter:e.merge({anchorOffset:h,focusOffset:h})})}},23833:t=>{"use strict";t.exports=function(t){return!(!t||!t.ownerDocument)&&t.nodeType===Node.ELEMENT_NODE}},5218:t=>{"use strict";t.exports=function(t){return"handled"===t||!0===t}},19662:(t,e,n)=>{"use strict";var r=n(23833);t.exports=function(t){return!(!t||!t.ownerDocument)&&r(t)&&"A"===t.nodeName}},78659:(t,e,n)=>{"use strict";var r=n(23833);t.exports=function(t){return!(!t||!t.ownerDocument)&&r(t)&&"BR"===t.nodeName}},8187:t=>{"use strict";t.exports=function(t){return!(!t||!t.ownerDocument)&&(t.ownerDocument.defaultView?t instanceof t.ownerDocument.defaultView.HTMLElement:t instanceof HTMLElement)}},9115:(t,e,n)=>{"use strict";var r=n(23833);t.exports=function(t){return!(!t||!t.ownerDocument)&&r(t)&&"IMG"===t.nodeName}},89836:t=>{"use strict";t.exports=function(t){if(!t||!("ownerDocument"in t))return!1;if("ownerDocument"in t){var e=t;if(!e.ownerDocument.defaultView)return e instanceof Node;if(e instanceof e.ownerDocument.defaultView.Node)return!0}return!1}},99322:t=>{"use strict";t.exports=function(t){var e=t.getSelection(),n=e.getAnchorKey(),r=t.getBlockTree(n),o=e.getStartOffset(),i=!1;return r.some((function(t){return o===t.get("start")?(i=!0,!0):o<t.get("end")&&t.get("leaves").some((function(t){var e=t.get("start");return o===e&&(i=!0,!0)}))})),i}},18528:(t,e,n)=>{"use strict";var r=n(7482);t.exports=function(t){return t.which===r.RETURN&&(t.getModifierState("Shift")||t.getModifierState("Alt")||t.getModifierState("Control"))}},63453:(t,e,n)=>{"use strict";var r=n(46238),o=n(96107),i=n(97222),a=n(39443),s=n(26371);t.exports=function(t,e){var n=s(t,(function(t){var n=t.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return a(t,1);var r=e.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return r=o(r),i(t,null,r.endContainer,r.endOffset,r.startContainer,r.startOffset).selectionState}),"backward");return n===t.getCurrentContent()?t:r.push(t,n,"remove-range")}},29683:(t,e,n)=>{"use strict";var r=n(81360),o=n(46238),i=n(39443),a=n(26371);t.exports=function(t){var e=a(t,(function(t){var e=t.getSelection(),n=e.getStartOffset();if(0===n)return i(t,1);var o=e.getStartKey(),a=t.getCurrentContent().getBlockForKey(o).getText().slice(0,n),s=r.getBackward(a);return i(t,s.length||1)}),"backward");return e===t.getCurrentContent()?t:o.push(t,e,"remove-range")}},47796:(t,e,n)=>{"use strict";var r=n(81360),o=n(46238),i=n(95217),a=n(26371);t.exports=function(t){var e=a(t,(function(t){var e=t.getSelection(),n=e.getStartOffset(),o=e.getStartKey(),a=t.getCurrentContent().getBlockForKey(o).getText().slice(n),s=r.getForward(a);return i(t,s.length||1)}),"forward");return e===t.getCurrentContent()?t:o.push(t,e,"remove-range")}},27380:(t,e,n)=>{"use strict";var r=n(84055),o=n(46238);t.exports=function(t){var e=r.splitBlock(t.getCurrentContent(),t.getSelection());return o.push(t,e,"split-block")}},24738:(t,e,n)=>{"use strict";var r=n(46238);t.exports=function(t){var e=t.getSelection(),n=e.getEndKey(),o=t.getCurrentContent().getBlockForKey(n).getLength();return r.set(t,{selection:e.merge({anchorKey:n,anchorOffset:o,focusKey:n,focusOffset:o,isBackward:!1}),forceSelection:!0})}},92172:(t,e,n)=>{"use strict";var r=n(46238);t.exports=function(t){var e=t.getSelection(),n=e.getStartKey();return r.set(t,{selection:e.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})}},19226:(t,e,n)=>{"use strict";var r=n(46238),o=n(13820),i=n(39443),a=n(26371);t.exports=function(t){var e=a(t,(function(t){var e=t.getSelection(),n=t.getCurrentContent(),r=e.getAnchorKey(),a=e.getAnchorOffset(),s=n.getBlockForKey(r).getText()[a-1];return i(t,s?o.getUTF16Length(s,0):1)}),"backward");if(e===t.getCurrentContent())return t;var n=t.getSelection();return r.push(t,e.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")}},35394:(t,e,n)=>{"use strict";var r=n(46238),o=n(13820),i=n(95217),a=n(26371);t.exports=function(t){var e=a(t,(function(t){var e=t.getSelection(),n=t.getCurrentContent(),r=e.getAnchorKey(),a=e.getAnchorOffset(),s=n.getBlockForKey(r).getText()[a];return i(t,s?o.getUTF16Length(s,0):1)}),"forward");if(e===t.getCurrentContent())return t;var n=t.getSelection();return r.push(t,e.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")}},95358:(t,e,n)=>{"use strict";var r=n(84055),o=n(46238),i=n(58364);t.exports=function(t){var e=t.getSelection();if(!e.isCollapsed())return t;var n=e.getAnchorOffset();if(0===n)return t;var a,s,c=e.getAnchorKey(),u=t.getCurrentContent(),l=u.getBlockForKey(c).getLength();if(l<=1)return t;n===l?(a=e.set("anchorOffset",n-1),s=e):s=(a=e.set("focusOffset",n+1)).set("anchorOffset",n+1);var p=i(u,a),f=r.removeRange(u,a,"backward"),d=f.getSelectionAfter(),h=d.getAnchorOffset()-1,y=d.merge({anchorOffset:h,focusOffset:h}),g=r.replaceWithFragment(f,y,p),m=o.push(t,g,"insert-fragment");return o.acceptSelection(m,s)}},95649:(t,e,n)=>{"use strict";var r=n(46238);t.exports=function(t,e,n){var o=r.undo(e);if("spellcheck-change"!==e.getLastChangeType())t.preventDefault(),e.getNativelyRenderedContent()?(n(r.set(e,{nativelyRenderedContent:null})),setTimeout((function(){n(o)}),0)):n(o);else{var i=o.getCurrentContent();n(r.set(o,{nativelyRenderedContent:i}))}}},37248:(t,e,n)=>{"use strict";var r=n(18489).Map;t.exports=function(t,e,n){var o=e.getStartKey(),i=e.getEndKey(),a=t.getBlockMap(),s=a.toSeq().skipUntil((function(t,e){return e===o})).takeUntil((function(t,e){return e===i})).concat(r([[i,a.get(i)]])).map(n);return t.merge({blockMap:a.merge(s),selectionBefore:e,selectionAfter:e})}},58710:(t,e,n)=>{"use strict";var r=n(72368),o=n(2839),i=n(18489),a=n(73012),s=i.OrderedMap,c=i.List,u=function(t,e,n){if(t){var r=e.get(t);r&&e.set(t,n(r))}},l=function(t,e,n,r,o){if(!o)return t;var i="after"===r,a=e.getKey(),s=n.getKey(),l=e.getParentKey(),p=e.getNextSiblingKey(),f=e.getPrevSiblingKey(),d=n.getParentKey(),h=i?n.getNextSiblingKey():s,y=i?s:n.getPrevSiblingKey();return t.withMutations((function(t){u(l,t,(function(t){var e=t.getChildKeys();return t.merge({children:e.delete(e.indexOf(a))})})),u(f,t,(function(t){return t.merge({nextSibling:p})})),u(p,t,(function(t){return t.merge({prevSibling:f})})),u(h,t,(function(t){return t.merge({prevSibling:a})})),u(y,t,(function(t){return t.merge({nextSibling:a})})),u(d,t,(function(t){var e=t.getChildKeys(),n=e.indexOf(s),r=i?n+1:0!==n?n-1:0,o=e.toArray();return o.splice(r,0,a),t.merge({children:c(o)})})),u(a,t,(function(t){return t.merge({nextSibling:h,prevSibling:y,parent:d})}))}))};t.exports=function(t,e,n,i){"replace"===i&&a(!1);var c=n.getKey(),u=e.getKey();u===c&&a(!1);var p=t.getBlockMap(),f=e instanceof r,d=[e],h=p.delete(u);f&&(d=[],h=p.withMutations((function(t){var n=e.getNextSiblingKey(),r=o(e,t);t.toSeq().skipUntil((function(t){return t.getKey()===u})).takeWhile((function(t){var e=t.getKey(),o=e===u,i=n&&e!==n,a=!n&&t.getParentKey()&&(!r||e!==r);return!!(o||i||a)})).forEach((function(e){d.push(e),t.delete(e.getKey())}))})));var y=h.toSeq().takeUntil((function(t){return t===n})),g=h.toSeq().skipUntil((function(t){return t===n})).skip(1),m=d.map((function(t){return[t.getKey(),t]})),v=s();if("before"===i){var b=t.getBlockBefore(c);b&&b.getKey()===e.getKey()&&a(!1),v=y.concat([].concat(m,[[c,n]]),g).toOrderedMap()}else if("after"===i){var _=t.getBlockAfter(c);_&&_.getKey()===u&&a(!1),v=y.concat([[c,n]].concat(m),g).toOrderedMap()}return t.merge({blockMap:l(v,e,n,i,f),selectionBefore:t.getSelectionAfter(),selectionAfter:t.getSelectionAfter().merge({anchorKey:u,focusKey:u})})}},39443:(t,e,n)=>{"use strict";n(85806),t.exports=function(t,e){var n=t.getSelection(),r=t.getCurrentContent(),o=n.getStartKey(),i=n.getStartOffset(),a=o,s=0;if(e>i){var c=r.getKeyBefore(o);null==c?a=o:(a=c,s=r.getBlockForKey(c).getText().length)}else s=i-e;return n.merge({focusKey:a,focusOffset:s,isBackward:!0})}},95217:(t,e,n)=>{"use strict";n(85806),t.exports=function(t,e){var n,r=t.getSelection(),o=r.getStartKey(),i=r.getStartOffset(),a=t.getCurrentContent(),s=o;return e>a.getBlockForKey(o).getText().length-i?(s=a.getKeyAfter(o),n=0):n=i+e,r.merge({focusKey:s,focusOffset:n})}},58064:(t,e,n)=>{"use strict";var r=n(72368),o=n(84894),i=n(18489).OrderedMap;t.exports=function(t){return t.first()instanceof r?function(t){var e,n={};return i(t.withMutations((function(t){t.forEach((function(r,i){var a=r.getKey(),s=r.getNextSiblingKey(),c=r.getPrevSiblingKey(),u=r.getChildKeys(),l=r.getParentKey(),p=o();if(n[a]=p,s&&(t.get(s)?t.setIn([s,"prevSibling"],p):t.setIn([a,"nextSibling"],null)),c&&(t.get(c)?t.setIn([c,"nextSibling"],p):t.setIn([a,"prevSibling"],null)),l&&t.get(l)){var f=t.get(l).getChildKeys();t.setIn([l,"children"],f.set(f.indexOf(r.getKey()),p))}else t.setIn([a,"parent"],null),e&&(t.setIn([e.getKey(),"nextSibling"],p),t.setIn([a,"prevSibling"],n[e.getKey()])),e=t.get(a);u.forEach((function(e){t.get(e)?t.setIn([e,"parent"],p):t.setIn([a,"children"],r.getChildKeys().filter((function(t){return t!==e})))}))}))})).toArray().map((function(t){return[n[t.getKey()],t.set("key",n[t.getKey()])]})))}(t):function(t){return i(t.toArray().map((function(t){var e=o();return[e,t.set("key",e)]})))}(t)}},77506:(t,e,n)=>{"use strict";var r=n(28),o=n(90754),i=n(73012);function a(t,e,n){var a=e.getCharacterList(),s=n>0?a.get(n-1):void 0,c=n<a.count()?a.get(n):void 0,u=s?s.getEntity():void 0,l=c?c.getEntity():void 0;if(l&&l===u&&"MUTABLE"!==t.__get(l).getMutability()){for(var p,f=function(t,e,n){var r;return o(t,(function(t,e){return t.getEntity()===e.getEntity()}),(function(t){return t.getEntity()===e}),(function(t,e){t<=n&&e>=n&&(r={start:t,end:e})})),"object"!=typeof r&&i(!1),r}(a,l,n),d=f.start,h=f.end;d<h;)p=a.get(d),a=a.set(d,r.applyEntity(p,null)),d++;return e.set("characterList",a)}return e}t.exports=function(t,e){var n=t.getBlockMap(),r=t.getEntityMap(),o={},i=e.getStartKey(),s=e.getStartOffset(),c=n.get(i),u=a(r,c,s);u!==c&&(o[i]=u);var l=e.getEndKey(),p=e.getEndOffset(),f=n.get(l);i===l&&(f=u);var d=a(r,f,p);return d!==f&&(o[l]=d),Object.keys(o).length?t.merge({blockMap:n.merge(o),selectionAfter:e}):t.set("selectionAfter",e)}},12269:(t,e,n)=>{"use strict";var r=n(72368),o=n(2839),i=n(18489),a=(i.List,i.Map),s=function(t,e,n){if(t){var r=e.get(t);r&&e.set(t,n(r))}},c=function(t,e){var n=[];if(!t)return n;for(var r=e.get(t);r&&r.getParentKey();){var o=r.getParentKey();o&&n.push(o),r=o?e.get(o):null}return n},u=function(t,e,n){if(!t)return null;for(var r=n.get(t.getKey()).getNextSiblingKey();r&&!e.get(r);)r=n.get(r).getNextSiblingKey()||null;return r},l=function(t,e,n){if(!t)return null;for(var r=n.get(t.getKey()).getPrevSiblingKey();r&&!e.get(r);)r=n.get(r).getPrevSiblingKey()||null;return r};t.exports=function(t,e){if(e.isCollapsed())return t;var n,i=t.getBlockMap(),p=e.getStartKey(),f=e.getStartOffset(),d=e.getEndKey(),h=e.getEndOffset(),y=i.get(p),g=i.get(d),m=y instanceof r,v=[];if(m){var b=g.getChildKeys(),_=c(d,i);g.getNextSiblingKey()&&(v=v.concat(_)),b.isEmpty()||(v=v.concat(_.concat([d]))),v=v.concat(c(o(g,i),i))}n=y===g?function(t,e,n){if(0===e)for(;e<n;)t=t.shift(),e++;else if(n===t.count())for(;n>e;)t=t.pop(),n--;else{var r=t.slice(0,e),o=t.slice(n);t=r.concat(o).toList()}return t}(y.getCharacterList(),f,h):y.getCharacterList().slice(0,f).concat(g.getCharacterList().slice(h));var w=y.merge({text:y.getText().slice(0,f)+g.getText().slice(h),characterList:n}),S=m&&0===f&&0===h&&g.getParentKey()===p&&null==g.getPrevSiblingKey()?a([[p,null]]):i.toSeq().skipUntil((function(t,e){return e===p})).takeUntil((function(t,e){return e===d})).filter((function(t,e){return-1===v.indexOf(e)})).concat(a([[d,null]])).map((function(t,e){return e===p?w:null})),M=i.merge(S).filter((function(t){return!!t}));return m&&y!==g&&(M=function(t,e,n,r){return t.withMutations((function(i){if(s(e.getKey(),i,(function(t){return t.merge({nextSibling:u(t,i,r),prevSibling:l(t,i,r)})})),s(n.getKey(),i,(function(t){return t.merge({nextSibling:u(t,i,r),prevSibling:l(t,i,r)})})),c(e.getKey(),r).forEach((function(t){return s(t,i,(function(t){return t.merge({children:t.getChildKeys().filter((function(t){return i.get(t)})),nextSibling:u(t,i,r),prevSibling:l(t,i,r)})}))})),s(e.getNextSiblingKey(),i,(function(t){return t.merge({prevSibling:e.getPrevSiblingKey()})})),s(e.getPrevSiblingKey(),i,(function(t){return t.merge({nextSibling:u(t,i,r)})})),s(n.getNextSiblingKey(),i,(function(t){return t.merge({prevSibling:l(t,i,r)})})),s(n.getPrevSiblingKey(),i,(function(t){return t.merge({nextSibling:n.getNextSiblingKey()})})),c(n.getKey(),r).forEach((function(t){s(t,i,(function(t){return t.merge({children:t.getChildKeys().filter((function(t){return i.get(t)})),nextSibling:u(t,i,r),prevSibling:l(t,i,r)})}))})),function(t,e){var n=[];if(!t)return n;for(var r=o(t,e);r&&e.get(r);){var i=e.get(r);n.push(r),r=i.getParentKey()?o(i,e):null}return n}(n,r).forEach((function(t){return s(t,i,(function(t){return t.merge({nextSibling:u(t,i,r),prevSibling:l(t,i,r)})}))})),null==t.get(e.getKey())&&null!=t.get(n.getKey())&&n.getParentKey()===e.getKey()&&null==n.getPrevSiblingKey()){var a=e.getPrevSiblingKey();s(n.getKey(),i,(function(t){return t.merge({prevSibling:a})})),s(a,i,(function(t){return t.merge({nextSibling:n.getKey()})}));var p=a?t.get(a):null,f=p?p.getParentKey():null;if(e.getChildKeys().forEach((function(t){s(t,i,(function(t){return t.merge({parent:f})}))})),null!=f){var d=t.get(f);s(f,i,(function(t){return t.merge({children:d.getChildKeys().concat(e.getChildKeys())})}))}s(e.getChildKeys().find((function(e){return null===t.get(e).getNextSiblingKey()})),i,(function(t){return t.merge({nextSibling:e.getNextSiblingKey()})}))}}))}(M,y,g,i)),t.merge({blockMap:M,selectionBefore:e,selectionAfter:e.merge({anchorKey:p,anchorOffset:f,focusKey:p,focusOffset:f,isBackward:!1})})}},26371:(t,e,n)=>{"use strict";var r=n(84055),o=n(27936)("draft_tree_data_support");t.exports=function(t,e,n){var i=t.getSelection(),a=t.getCurrentContent(),s=i,c=i.getAnchorKey(),u=i.getFocusKey(),l=a.getBlockForKey(c);if(o&&"forward"===n&&c!==u)return a;if(i.isCollapsed()){if("forward"===n){if(t.isSelectionAtEndOfContent())return a;if(o&&i.getAnchorOffset()===a.getBlockForKey(c).getLength()){var p=a.getBlockForKey(l.nextSibling);if(!p||0===p.getLength())return a}}else if(t.isSelectionAtStartOfContent())return a;if((s=e(t))===i)return a}return r.removeRange(a,s,n)}},24844:t=>{"use strict";var e=new RegExp("\r","g");t.exports=function(t){return t.replace(e,"")}},46064:(t,e,n)=>{"use strict";var r=n(62599),o=n(31532),i=n(91355),a=n(61530),s=n(16838),c=n(45653),u=n(73012),l=n(23833),p=i.isBrowser("IE");function f(t,e){if(!t)return"[empty]";var n=d(t,e);return n.nodeType===Node.TEXT_NODE?n.textContent:(l(n)||u(!1),n.outerHTML)}function d(t,e){var n=void 0!==e?e(t):[];if(t.nodeType===Node.TEXT_NODE){var r=t.textContent.length;return c(t).createTextNode("[text "+r+(n.length?" | "+n.join(", "):"")+"]")}var o=t.cloneNode();1===o.nodeType&&n.length&&o.setAttribute("data-labels",n.join(", "));for(var i=t.childNodes,a=0;a<i.length;a++)o.appendChild(d(i[a],e));return o}function h(t,e){for(var n=t,r=n;n;){if(l(n)&&r.hasAttribute("contenteditable"))return f(n,e);r=n=n.parentNode}return"Could not find contentEditable parent of node"}function y(t){return null===t.nodeValue?t.childNodes.length:t.nodeValue.length}function g(t,e,n,r){var i=s();if(t.extend&&null!=e&&a(i,e)){n>y(e)&&o.logSelectionStateFailure({anonymizedDom:h(e),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(r.toJS())});var c=e===t.focusNode;try{t.rangeCount>0&&t.extend&&t.extend(e,n)}catch(a){throw o.logSelectionStateFailure({anonymizedDom:h(e,(function(e){var n=[];return e===i&&n.push("active element"),e===t.anchorNode&&n.push("selection anchor node"),e===t.focusNode&&n.push("selection focus node"),n})),extraParams:JSON.stringify({activeElementName:i?i.nodeName:null,nodeIsFocus:e===t.focusNode,nodeWasFocus:c,selectionRangeCount:t.rangeCount,selectionAnchorNodeName:t.anchorNode?t.anchorNode.nodeName:null,selectionAnchorOffset:t.anchorOffset,selectionFocusNodeName:t.focusNode?t.focusNode.nodeName:null,selectionFocusOffset:t.focusOffset,message:a?""+a:null,offset:n},null,2),selectionState:JSON.stringify(r.toJS(),null,2)}),a}}else if(e&&t.rangeCount>0){var u=t.getRangeAt(0);u.setEnd(e,n),t.addRange(u.cloneRange())}}function m(t,e,n,i){var a=c(e).createRange();if(n>y(e)&&(o.logSelectionStateFailure({anonymizedDom:h(e),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(i.toJS())}),r.handleExtensionCausedError()),a.setStart(e,n),p)try{t.addRange(a)}catch(t){}else t.addRange(a)}t.exports={setDraftEditorSelection:function(t,e,n,r,o){var i=c(e);if(a(i.documentElement,e)){var s=i.defaultView.getSelection(),u=t.getAnchorKey(),l=t.getAnchorOffset(),p=t.getFocusKey(),f=t.getFocusOffset(),d=t.getIsBackward();if(!s.extend&&d){var h=u,y=l;u=p,l=f,p=h,f=y,d=!1}var v=u===n&&r<=l&&o>=l,b=p===n&&r<=f&&o>=f;if(v&&b)return s.removeAllRanges(),m(s,e,l-r,t),void g(s,e,f-r,t);if(d){if(b&&(s.removeAllRanges(),m(s,e,f-r,t)),v){var _=s.focusNode,w=s.focusOffset;s.removeAllRanges(),m(s,e,l-r,t),g(s,_,w,t)}}else v&&(s.removeAllRanges(),m(s,e,l-r,t)),b&&g(s,e,f-r,t)}},addFocusToSelection:g}},70774:(t,e,n)=>{"use strict";var r=n(72368),o=n(84894),i=n(18489),a=n(73012),s=n(37248),c=i.List,u=i.Map,l=function(t,e,n){if(t){var r=e.get(t);r&&e.set(t,n(r))}};t.exports=function(t,e){e.isCollapsed()||a(!1);var n=e.getAnchorKey(),i=t.getBlockMap(),p=i.get(n),f=p.getText();if(!f){var d=p.getType();if("unordered-list-item"===d||"ordered-list-item"===d)return s(t,e,(function(t){return t.merge({type:"unstyled",depth:0})}))}var h=e.getAnchorOffset(),y=p.getCharacterList(),g=o(),m=p instanceof r,v=p.merge({text:f.slice(0,h),characterList:y.slice(0,h)}),b=v.merge({key:g,text:f.slice(h),characterList:y.slice(h),data:u()}),_=i.toSeq().takeUntil((function(t){return t===p})),w=i.toSeq().skipUntil((function(t){return t===p})).rest(),S=_.concat([[n,v],[g,b]],w).toOrderedMap();return m&&(p.getChildKeys().isEmpty()||a(!1),S=function(t,e,n){return t.withMutations((function(t){var r=e.getKey(),o=n.getKey();l(e.getParentKey(),t,(function(t){var e=t.getChildKeys(),n=e.indexOf(r)+1,i=e.toArray();return i.splice(n,0,o),t.merge({children:c(i)})})),l(e.getNextSiblingKey(),t,(function(t){return t.merge({prevSibling:o})})),l(r,t,(function(t){return t.merge({nextSibling:o})})),l(o,t,(function(t){return t.merge({prevSibling:r})}))}))}(S,v,b)),t.merge({blockMap:S,selectionBefore:e,selectionAfter:e.merge({anchorKey:g,anchorOffset:0,focusKey:g,focusOffset:0,isBackward:!1})})}},39347:t=>{"use strict";var e=/\r\n?|\n/g;t.exports=function(t){return t.split(e)}},44231:t=>{"use strict";t.exports=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"==t?e:3&e|8).toString(16)}))}},18489:function(t){t.exports=function(){"use strict";var t=Array.prototype.slice;function e(t,e){e&&(t.prototype=Object.create(e.prototype)),t.prototype.constructor=t}function n(t){return a(t)?t:K(t)}function r(t){return s(t)?t:H(t)}function o(t){return c(t)?t:q(t)}function i(t){return a(t)&&!u(t)?t:Y(t)}function a(t){return!(!t||!t[p])}function s(t){return!(!t||!t[f])}function c(t){return!(!t||!t[d])}function u(t){return s(t)||c(t)}function l(t){return!(!t||!t[h])}e(r,n),e(o,n),e(i,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=c,n.isAssociative=u,n.isOrdered=l,n.Keyed=r,n.Indexed=o,n.Set=i;var p="@@__IMMUTABLE_ITERABLE__@@",f="@@__IMMUTABLE_KEYED__@@",d="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",y=32,g=31,m={},v={value:!1},b={value:!1};function _(t){return t.value=!1,t}function w(t){t&&(t.value=!0)}function S(){}function M(t,e){e=e||0;for(var n=Math.max(0,t.length-e),r=new Array(n),o=0;o<n;o++)r[o]=t[o+e];return r}function E(t){return void 0===t.size&&(t.size=t.__iterate(k)),t.size}function x(t,e){if("number"!=typeof e){var n=e>>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?E(t)+e:e}function k(){return!0}function C(t,e,n){return(0===t||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function j(t,e){return O(t,e,0)}function D(t,e){return O(t,e,e)}function O(t,e,n){return void 0===t?n:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}var I="function"==typeof Symbol&&Symbol.iterator,L="@@iterator",N=I||L;function A(t){this.next=t}function T(t,e,n,r){var o=0===t?e:1===t?n:[e,n];return r?r.value=o:r={value:o,done:!1},r}function z(){return{value:void 0,done:!0}}function R(t){return!!F(t)}function P(t){return t&&"function"==typeof t.next}function B(t){var e=F(t);return e&&e.call(t)}function F(t){var e=t&&(I&&t[I]||t["@@iterator"]);if("function"==typeof e)return e}function U(t){return t&&"number"==typeof t.length}function K(t){return null==t?et():a(t)?t.toSeq():function(t){var e=ot(t)||"object"==typeof t&&new J(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}(t)}function H(t){return null==t?et().toKeyedSeq():a(t)?s(t)?t.toSeq():t.fromEntrySeq():nt(t)}function q(t){return null==t?et():a(t)?s(t)?t.entrySeq():t.toIndexedSeq():rt(t)}function Y(t){return(null==t?et():a(t)?s(t)?t.entrySeq():t:rt(t)).toSetSeq()}A.prototype.toString=function(){return"[Iterator]"},A.KEYS=0,A.VALUES=1,A.ENTRIES=2,A.prototype.inspect=A.prototype.toSource=function(){return this.toString()},A.prototype[N]=function(){return this},e(K,n),K.of=function(){return K(arguments)},K.prototype.toSeq=function(){return this},K.prototype.toString=function(){return this.__toString("Seq {","}")},K.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},K.prototype.__iterate=function(t,e){return it(this,t,e,!0)},K.prototype.__iterator=function(t,e){return at(this,t,e,!0)},e(H,K),H.prototype.toKeyedSeq=function(){return this},e(q,K),q.of=function(){return q(arguments)},q.prototype.toIndexedSeq=function(){return this},q.prototype.toString=function(){return this.__toString("Seq [","]")},q.prototype.__iterate=function(t,e){return it(this,t,e,!1)},q.prototype.__iterator=function(t,e){return at(this,t,e,!1)},e(Y,K),Y.of=function(){return Y(arguments)},Y.prototype.toSetSeq=function(){return this},K.isSeq=tt,K.Keyed=H,K.Set=Y,K.Indexed=q;var W,Q,Z,V="@@__IMMUTABLE_SEQ__@@";function G(t){this._array=t,this.size=t.length}function J(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function X(t){this._iterable=t,this.size=t.length||t.size}function $(t){this._iterator=t,this._iteratorCache=[]}function tt(t){return!(!t||!t[V])}function et(){return W||(W=new G([]))}function nt(t){var e=Array.isArray(t)?new G(t).fromEntrySeq():P(t)?new $(t).fromEntrySeq():R(t)?new X(t).fromEntrySeq():"object"==typeof t?new J(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function rt(t){var e=ot(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function ot(t){return U(t)?new G(t):P(t)?new $(t):R(t)?new X(t):void 0}function it(t,e,n,r){var o=t._cache;if(o){for(var i=o.length-1,a=0;a<=i;a++){var s=o[n?i-a:a];if(!1===e(s[1],r?s[0]:a,t))return a+1}return a}return t.__iterateUncached(e,n)}function at(t,e,n,r){var o=t._cache;if(o){var i=o.length-1,a=0;return new A((function(){var t=o[n?i-a:a];return a++>i?{value:void 0,done:!0}:T(e,r?t[0]:a-1,t[1])}))}return t.__iteratorUncached(e,n)}function st(t,e){return e?ct(e,t,"",{"":t}):ut(t)}function ct(t,e,n,r){return Array.isArray(e)?t.call(r,n,q(e).map((function(n,r){return ct(t,n,r,e)}))):lt(e)?t.call(r,n,H(e).map((function(n,r){return ct(t,n,r,e)}))):e}function ut(t){return Array.isArray(t)?q(t).map(ut).toList():lt(t)?H(t).map(ut).toMap():t}function lt(t){return t&&(t.constructor===Object||void 0===t.constructor)}function pt(t,e){if(t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if((t=t.valueOf())===(e=e.valueOf())||t!=t&&e!=e)return!0;if(!t||!e)return!1}return!("function"!=typeof t.equals||"function"!=typeof e.equals||!t.equals(e))}function ft(t,e){if(t===e)return!0;if(!a(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||s(t)!==s(e)||c(t)!==c(e)||l(t)!==l(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!u(t);if(l(t)){var r=t.entries();return e.every((function(t,e){var o=r.next().value;return o&&pt(o[1],t)&&(n||pt(o[0],e))}))&&r.next().done}var o=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{o=!0;var i=t;t=e,e=i}var p=!0,f=e.__iterate((function(e,r){if(n?!t.has(e):o?!pt(e,t.get(r,m)):!pt(t.get(r,m),e))return p=!1,!1}));return p&&t.size===f}function dt(t,e){if(!(this instanceof dt))return new dt(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(Q)return Q;Q=this}}function ht(t,e){if(!t)throw new Error(e)}function yt(t,e,n){if(!(this instanceof yt))return new yt(t,e,n);if(ht(0!==n,"Cannot step a Range by 0"),t=t||0,void 0===e&&(e=1/0),n=void 0===n?1:Math.abs(n),e<t&&(n=-n),this._start=t,this._end=e,this._step=n,this.size=Math.max(0,Math.ceil((e-t)/n-1)+1),0===this.size){if(Z)return Z;Z=this}}function gt(){throw TypeError("Abstract")}function mt(){}function vt(){}function bt(){}K.prototype[V]=!0,e(G,q),G.prototype.get=function(t,e){return this.has(t)?this._array[x(this,t)]:e},G.prototype.__iterate=function(t,e){for(var n=this._array,r=n.length-1,o=0;o<=r;o++)if(!1===t(n[e?r-o:o],o,this))return o+1;return o},G.prototype.__iterator=function(t,e){var n=this._array,r=n.length-1,o=0;return new A((function(){return o>r?{value:void 0,done:!0}:T(t,o,n[e?r-o++:o++])}))},e(J,H),J.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},J.prototype.has=function(t){return this._object.hasOwnProperty(t)},J.prototype.__iterate=function(t,e){for(var n=this._object,r=this._keys,o=r.length-1,i=0;i<=o;i++){var a=r[e?o-i:i];if(!1===t(n[a],a,this))return i+1}return i},J.prototype.__iterator=function(t,e){var n=this._object,r=this._keys,o=r.length-1,i=0;return new A((function(){var a=r[e?o-i:i];return i++>o?{value:void 0,done:!0}:T(t,a,n[a])}))},J.prototype[h]=!0,e(X,q),X.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=B(this._iterable),r=0;if(P(n))for(var o;!(o=n.next()).done&&!1!==t(o.value,r++,this););return r},X.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=B(this._iterable);if(!P(n))return new A(z);var r=0;return new A((function(){var e=n.next();return e.done?e:T(t,r++,e.value)}))},e($,q),$.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var n,r=this._iterator,o=this._iteratorCache,i=0;i<o.length;)if(!1===t(o[i],i++,this))return i;for(;!(n=r.next()).done;){var a=n.value;if(o[i]=a,!1===t(a,i++,this))break}return i},$.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterator,r=this._iteratorCache,o=0;return new A((function(){if(o>=r.length){var e=n.next();if(e.done)return e;r[o]=e.value}return T(t,o,r[o++])}))},e(dt,q),dt.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},dt.prototype.get=function(t,e){return this.has(t)?this._value:e},dt.prototype.includes=function(t){return pt(this._value,t)},dt.prototype.slice=function(t,e){var n=this.size;return C(t,e,n)?this:new dt(this._value,D(e,n)-j(t,n))},dt.prototype.reverse=function(){return this},dt.prototype.indexOf=function(t){return pt(this._value,t)?0:-1},dt.prototype.lastIndexOf=function(t){return pt(this._value,t)?this.size:-1},dt.prototype.__iterate=function(t,e){for(var n=0;n<this.size;n++)if(!1===t(this._value,n,this))return n+1;return n},dt.prototype.__iterator=function(t,e){var n=this,r=0;return new A((function(){return r<n.size?T(t,r++,n._value):{value:void 0,done:!0}}))},dt.prototype.equals=function(t){return t instanceof dt?pt(this._value,t._value):ft(t)},e(yt,q),yt.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},yt.prototype.get=function(t,e){return this.has(t)?this._start+x(this,t)*this._step:e},yt.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},yt.prototype.slice=function(t,e){return C(t,e,this.size)?this:(t=j(t,this.size),(e=D(e,this.size))<=t?new yt(0,0):new yt(this.get(t,this._end),this.get(e,this._end),this._step))},yt.prototype.indexOf=function(t){var e=t-this._start;if(e%this._step==0){var n=e/this._step;if(n>=0&&n<this.size)return n}return-1},yt.prototype.lastIndexOf=function(t){return this.indexOf(t)},yt.prototype.__iterate=function(t,e){for(var n=this.size-1,r=this._step,o=e?this._start+n*r:this._start,i=0;i<=n;i++){if(!1===t(o,i,this))return i+1;o+=e?-r:r}return i},yt.prototype.__iterator=function(t,e){var n=this.size-1,r=this._step,o=e?this._start+n*r:this._start,i=0;return new A((function(){var a=o;return o+=e?-r:r,i>n?{value:void 0,done:!0}:T(t,i++,a)}))},yt.prototype.equals=function(t){return t instanceof yt?this._start===t._start&&this._end===t._end&&this._step===t._step:ft(this,t)},e(gt,n),e(mt,gt),e(vt,gt),e(bt,gt),gt.Keyed=mt,gt.Indexed=vt,gt.Set=bt;var _t="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){var n=65535&(t|=0),r=65535&(e|=0);return n*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0};function wt(t){return t>>>1&1073741824|3221225471&t}function St(t){if(!1===t||null==t)return 0;if("function"==typeof t.valueOf&&(!1===(t=t.valueOf())||null==t))return 0;if(!0===t)return 1;var e=typeof t;if("number"===e){var n=0|t;for(n!==t&&(n^=4294967295*t);t>4294967295;)n^=t/=4294967295;return wt(n)}if("string"===e)return t.length>Ot?function(t){var e=Nt[t];return void 0===e&&(e=Mt(t),Lt===It&&(Lt=0,Nt={}),Lt++,Nt[t]=e),e}(t):Mt(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===e)return function(t){var e;if(Ct&&void 0!==(e=kt.get(t)))return e;if(void 0!==(e=t[Dt]))return e;if(!xt){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[Dt]))return e;if(void 0!==(e=function(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}(t)))return e}if(e=++jt,1073741824&jt&&(jt=0),Ct)kt.set(t,e);else{if(void 0!==Et&&!1===Et(t))throw new Error("Non-extensible objects are not allowed as keys.");if(xt)Object.defineProperty(t,Dt,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(void 0!==t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[Dt]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[Dt]=e}}return e}(t);if("function"==typeof t.toString)return Mt(t.toString());throw new Error("Value type "+e+" cannot be hashed.")}function Mt(t){for(var e=0,n=0;n<t.length;n++)e=31*e+t.charCodeAt(n)|0;return wt(e)}var Et=Object.isExtensible,xt=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}();var kt,Ct="function"==typeof WeakMap;Ct&&(kt=new WeakMap);var jt=0,Dt="__immutablehash__";"function"==typeof Symbol&&(Dt=Symbol(Dt));var Ot=16,It=255,Lt=0,Nt={};function At(t){ht(t!==1/0,"Cannot perform this action with an infinite size.")}function Tt(t){return null==t?Vt():zt(t)&&!l(t)?t:Vt().withMutations((function(e){var n=r(t);At(n.size),n.forEach((function(t,n){return e.set(n,t)}))}))}function zt(t){return!(!t||!t[Pt])}e(Tt,mt),Tt.prototype.toString=function(){return this.__toString("Map {","}")},Tt.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},Tt.prototype.set=function(t,e){return Gt(this,t,e)},Tt.prototype.setIn=function(t,e){return this.updateIn(t,m,(function(){return e}))},Tt.prototype.remove=function(t){return Gt(this,t,m)},Tt.prototype.deleteIn=function(t){return this.updateIn(t,(function(){return m}))},Tt.prototype.update=function(t,e,n){return 1===arguments.length?t(this):this.updateIn([t],e,n)},Tt.prototype.updateIn=function(t,e,n){n||(n=e,e=void 0);var r=oe(this,en(t),e,n);return r===m?void 0:r},Tt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Vt()},Tt.prototype.merge=function(){return te(this,void 0,arguments)},Tt.prototype.mergeWith=function(e){return te(this,e,t.call(arguments,1))},Tt.prototype.mergeIn=function(e){var n=t.call(arguments,1);return this.updateIn(e,Vt(),(function(t){return"function"==typeof t.merge?t.merge.apply(t,n):n[n.length-1]}))},Tt.prototype.mergeDeep=function(){return te(this,ee,arguments)},Tt.prototype.mergeDeepWith=function(e){var n=t.call(arguments,1);return te(this,ne(e),n)},Tt.prototype.mergeDeepIn=function(e){var n=t.call(arguments,1);return this.updateIn(e,Vt(),(function(t){return"function"==typeof t.mergeDeep?t.mergeDeep.apply(t,n):n[n.length-1]}))},Tt.prototype.sort=function(t){return Ce(qe(this,t))},Tt.prototype.sortBy=function(t,e){return Ce(qe(this,e,t))},Tt.prototype.withMutations=function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},Tt.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new S)},Tt.prototype.asImmutable=function(){return this.__ensureOwner()},Tt.prototype.wasAltered=function(){return this.__altered},Tt.prototype.__iterator=function(t,e){return new Yt(this,t,e)},Tt.prototype.__iterate=function(t,e){var n=this,r=0;return this._root&&this._root.iterate((function(e){return r++,t(e[1],e[0],n)}),e),r},Tt.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Zt(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},Tt.isMap=zt;var Rt,Pt="@@__IMMUTABLE_MAP__@@",Bt=Tt.prototype;function Ft(t,e){this.ownerID=t,this.entries=e}function Ut(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n}function Kt(t,e,n){this.ownerID=t,this.count=e,this.nodes=n}function Ht(t,e,n){this.ownerID=t,this.keyHash=e,this.entries=n}function qt(t,e,n){this.ownerID=t,this.keyHash=e,this.entry=n}function Yt(t,e,n){this._type=e,this._reverse=n,this._stack=t._root&&Qt(t._root)}function Wt(t,e){return T(t,e[0],e[1])}function Qt(t,e){return{node:t,index:0,__prev:e}}function Zt(t,e,n,r){var o=Object.create(Bt);return o.size=t,o._root=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Vt(){return Rt||(Rt=Zt(0))}function Gt(t,e,n){var r,o;if(t._root){var i=_(v),a=_(b);if(r=Jt(t._root,t.__ownerID,0,void 0,e,n,i,a),!a.value)return t;o=t.size+(i.value?n===m?-1:1:0)}else{if(n===m)return t;o=1,r=new Ft(t.__ownerID,[[e,n]])}return t.__ownerID?(t.size=o,t._root=r,t.__hash=void 0,t.__altered=!0,t):r?Zt(o,r):Vt()}function Jt(t,e,n,r,o,i,a,s){return t?t.update(e,n,r,o,i,a,s):i===m?t:(w(s),w(a),new qt(e,r,[o,i]))}function Xt(t){return t.constructor===qt||t.constructor===Ht}function $t(t,e,n,r,o){if(t.keyHash===r)return new Ht(e,r,[t.entry,o]);var i,a=(0===n?t.keyHash:t.keyHash>>>n)&g,s=(0===n?r:r>>>n)&g;return new Ut(e,1<<a|1<<s,a===s?[$t(t,e,n+5,r,o)]:(i=new qt(e,r,o),a<s?[t,i]:[i,t]))}function te(t,e,n){for(var o=[],i=0;i<n.length;i++){var s=n[i],c=r(s);a(s)||(c=c.map((function(t){return st(t)}))),o.push(c)}return re(t,e,o)}function ee(t,e,n){return t&&t.mergeDeep&&a(e)?t.mergeDeep(e):pt(t,e)?t:e}function ne(t){return function(e,n,r){if(e&&e.mergeDeepWith&&a(n))return e.mergeDeepWith(t,n);var o=t(e,n,r);return pt(e,o)?e:o}}function re(t,e,n){return 0===(n=n.filter((function(t){return 0!==t.size}))).length?t:0!==t.size||t.__ownerID||1!==n.length?t.withMutations((function(t){for(var r=e?function(n,r){t.update(r,m,(function(t){return t===m?n:e(t,n,r)}))}:function(e,n){t.set(n,e)},o=0;o<n.length;o++)n[o].forEach(r)})):t.constructor(n[0])}function oe(t,e,n,r){var o=t===m,i=e.next();if(i.done){var a=o?n:t,s=r(a);return s===a?t:s}ht(o||t&&t.set,"invalid keyPath");var c=i.value,u=o?m:t.get(c,m),l=oe(u,e,n,r);return l===u?t:l===m?t.remove(c):(o?Vt():t).set(c,l)}function ie(t){return t=(t=(858993459&(t-=t>>1&1431655765))+(t>>2&858993459))+(t>>4)&252645135,127&(t+=t>>8)+(t>>16)}function ae(t,e,n,r){var o=r?t:M(t);return o[e]=n,o}Bt[Pt]=!0,Bt.delete=Bt.remove,Bt.removeIn=Bt.deleteIn,Ft.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(pt(n,o[i][0]))return o[i][1];return r},Ft.prototype.update=function(t,e,n,r,o,i,a){for(var s=o===m,c=this.entries,u=0,l=c.length;u<l&&!pt(r,c[u][0]);u++);var p=u<l;if(p?c[u][1]===o:s)return this;if(w(a),(s||!p)&&w(i),!s||1!==c.length){if(!p&&!s&&c.length>=se)return function(t,e,n,r){t||(t=new S);for(var o=new qt(t,St(n),[n,r]),i=0;i<e.length;i++){var a=e[i];o=o.update(t,0,void 0,a[0],a[1])}return o}(t,c,r,o);var f=t&&t===this.ownerID,d=f?c:M(c);return p?s?u===l-1?d.pop():d[u]=d.pop():d[u]=[r,o]:d.push([r,o]),f?(this.entries=d,this):new Ft(t,d)}},Ut.prototype.get=function(t,e,n,r){void 0===e&&(e=St(n));var o=1<<((0===t?e:e>>>t)&g),i=this.bitmap;return 0==(i&o)?r:this.nodes[ie(i&o-1)].get(t+5,e,n,r)},Ut.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=St(r));var s=(0===e?n:n>>>e)&g,c=1<<s,u=this.bitmap,l=0!=(u&c);if(!l&&o===m)return this;var p=ie(u&c-1),f=this.nodes,d=l?f[p]:void 0,h=Jt(d,t,e+5,n,r,o,i,a);if(h===d)return this;if(!l&&h&&f.length>=ce)return function(t,e,n,r,o){for(var i=0,a=new Array(y),s=0;0!==n;s++,n>>>=1)a[s]=1&n?e[i++]:void 0;return a[r]=o,new Kt(t,i+1,a)}(t,f,u,s,h);if(l&&!h&&2===f.length&&Xt(f[1^p]))return f[1^p];if(l&&h&&1===f.length&&Xt(h))return h;var v=t&&t===this.ownerID,b=l?h?u:u^c:u|c,_=l?h?ae(f,p,h,v):function(t,e,n){var r=t.length-1;if(n&&e===r)return t.pop(),t;for(var o=new Array(r),i=0,a=0;a<r;a++)a===e&&(i=1),o[a]=t[a+i];return o}(f,p,v):function(t,e,n,r){var o=t.length+1;if(r&&e+1===o)return t[e]=n,t;for(var i=new Array(o),a=0,s=0;s<o;s++)s===e?(i[s]=n,a=-1):i[s]=t[s+a];return i}(f,p,h,v);return v?(this.bitmap=b,this.nodes=_,this):new Ut(t,b,_)},Kt.prototype.get=function(t,e,n,r){void 0===e&&(e=St(n));var o=(0===t?e:e>>>t)&g,i=this.nodes[o];return i?i.get(t+5,e,n,r):r},Kt.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=St(r));var s=(0===e?n:n>>>e)&g,c=o===m,u=this.nodes,l=u[s];if(c&&!l)return this;var p=Jt(l,t,e+5,n,r,o,i,a);if(p===l)return this;var f=this.count;if(l){if(!p&&--f<ue)return function(t,e,n,r){for(var o=0,i=0,a=new Array(n),s=0,c=1,u=e.length;s<u;s++,c<<=1){var l=e[s];void 0!==l&&s!==r&&(o|=c,a[i++]=l)}return new Ut(t,o,a)}(t,u,f,s)}else f++;var d=t&&t===this.ownerID,h=ae(u,s,p,d);return d?(this.count=f,this.nodes=h,this):new Kt(t,f,h)},Ht.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(pt(n,o[i][0]))return o[i][1];return r},Ht.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=St(r));var s=o===m;if(n!==this.keyHash)return s?this:(w(a),w(i),$t(this,t,e,n,[r,o]));for(var c=this.entries,u=0,l=c.length;u<l&&!pt(r,c[u][0]);u++);var p=u<l;if(p?c[u][1]===o:s)return this;if(w(a),(s||!p)&&w(i),s&&2===l)return new qt(t,this.keyHash,c[1^u]);var f=t&&t===this.ownerID,d=f?c:M(c);return p?s?u===l-1?d.pop():d[u]=d.pop():d[u]=[r,o]:d.push([r,o]),f?(this.entries=d,this):new Ht(t,this.keyHash,d)},qt.prototype.get=function(t,e,n,r){return pt(n,this.entry[0])?this.entry[1]:r},qt.prototype.update=function(t,e,n,r,o,i,a){var s=o===m,c=pt(r,this.entry[0]);return(c?o===this.entry[1]:s)?this:(w(a),s?void w(i):c?t&&t===this.ownerID?(this.entry[1]=o,this):new qt(t,this.keyHash,[r,o]):(w(i),$t(this,t,e,St(r),[r,o])))},Ft.prototype.iterate=Ht.prototype.iterate=function(t,e){for(var n=this.entries,r=0,o=n.length-1;r<=o;r++)if(!1===t(n[e?o-r:r]))return!1},Ut.prototype.iterate=Kt.prototype.iterate=function(t,e){for(var n=this.nodes,r=0,o=n.length-1;r<=o;r++){var i=n[e?o-r:r];if(i&&!1===i.iterate(t,e))return!1}},qt.prototype.iterate=function(t,e){return t(this.entry)},e(Yt,A),Yt.prototype.next=function(){for(var t=this._type,e=this._stack;e;){var n,r=e.node,o=e.index++;if(r.entry){if(0===o)return Wt(t,r.entry)}else if(r.entries){if(o<=(n=r.entries.length-1))return Wt(t,r.entries[this._reverse?n-o:o])}else if(o<=(n=r.nodes.length-1)){var i=r.nodes[this._reverse?n-o:o];if(i){if(i.entry)return Wt(t,i.entry);e=this._stack=Qt(i,e)}continue}e=this._stack=this._stack.__prev}return{value:void 0,done:!0}};var se=8,ce=16,ue=8;function le(t){var e=_e();if(null==t)return e;if(pe(t))return t;var n=o(t),r=n.size;return 0===r?e:(At(r),r>0&&r<y?be(0,r,5,null,new he(n.toArray())):e.withMutations((function(t){t.setSize(r),n.forEach((function(e,n){return t.set(n,e)}))})))}function pe(t){return!(!t||!t[fe])}e(le,vt),le.of=function(){return this(arguments)},le.prototype.toString=function(){return this.__toString("List [","]")},le.prototype.get=function(t,e){if((t=x(this,t))>=0&&t<this.size){var n=Me(this,t+=this._origin);return n&&n.array[t&g]}return e},le.prototype.set=function(t,e){return function(t,e,n){if((e=x(t,e))!=e)return t;if(e>=t.size||e<0)return t.withMutations((function(t){e<0?Ee(t,e).set(0,n):Ee(t,0,e+1).set(e,n)}));e+=t._origin;var r=t._tail,o=t._root,i=_(b);return e>=ke(t._capacity)?r=we(r,t.__ownerID,0,e,n,i):o=we(o,t.__ownerID,t._level,e,n,i),i.value?t.__ownerID?(t._root=o,t._tail=r,t.__hash=void 0,t.__altered=!0,t):be(t._origin,t._capacity,t._level,o,r):t}(this,t,e)},le.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},le.prototype.insert=function(t,e){return this.splice(t,0,e)},le.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=5,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):_e()},le.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations((function(n){Ee(n,0,e+t.length);for(var r=0;r<t.length;r++)n.set(e+r,t[r])}))},le.prototype.pop=function(){return Ee(this,0,-1)},le.prototype.unshift=function(){var t=arguments;return this.withMutations((function(e){Ee(e,-t.length);for(var n=0;n<t.length;n++)e.set(n,t[n])}))},le.prototype.shift=function(){return Ee(this,1)},le.prototype.merge=function(){return xe(this,void 0,arguments)},le.prototype.mergeWith=function(e){return xe(this,e,t.call(arguments,1))},le.prototype.mergeDeep=function(){return xe(this,ee,arguments)},le.prototype.mergeDeepWith=function(e){var n=t.call(arguments,1);return xe(this,ne(e),n)},le.prototype.setSize=function(t){return Ee(this,0,t)},le.prototype.slice=function(t,e){var n=this.size;return C(t,e,n)?this:Ee(this,j(t,n),D(e,n))},le.prototype.__iterator=function(t,e){var n=0,r=ve(this,e);return new A((function(){var e=r();return e===me?{value:void 0,done:!0}:T(t,n++,e)}))},le.prototype.__iterate=function(t,e){for(var n,r=0,o=ve(this,e);(n=o())!==me&&!1!==t(n,r++,this););return r},le.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?be(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):(this.__ownerID=t,this)},le.isList=pe;var fe="@@__IMMUTABLE_LIST__@@",de=le.prototype;function he(t,e){this.array=t,this.ownerID=e}de[fe]=!0,de.delete=de.remove,de.setIn=Bt.setIn,de.deleteIn=de.removeIn=Bt.removeIn,de.update=Bt.update,de.updateIn=Bt.updateIn,de.mergeIn=Bt.mergeIn,de.mergeDeepIn=Bt.mergeDeepIn,de.withMutations=Bt.withMutations,de.asMutable=Bt.asMutable,de.asImmutable=Bt.asImmutable,de.wasAltered=Bt.wasAltered,he.prototype.removeBefore=function(t,e,n){if(n===e?1<<e:0===this.array.length)return this;var r=n>>>e&g;if(r>=this.array.length)return new he([],t);var o,i=0===r;if(e>0){var a=this.array[r];if((o=a&&a.removeBefore(t,e-5,n))===a&&i)return this}if(i&&!o)return this;var s=Se(this,t);if(!i)for(var c=0;c<r;c++)s.array[c]=void 0;return o&&(s.array[r]=o),s},he.prototype.removeAfter=function(t,e,n){if(n===(e?1<<e:0)||0===this.array.length)return this;var r,o=n-1>>>e&g;if(o>=this.array.length)return this;if(e>0){var i=this.array[o];if((r=i&&i.removeAfter(t,e-5,n))===i&&o===this.array.length-1)return this}var a=Se(this,t);return a.array.splice(o+1),r&&(a.array[o]=r),a};var ye,ge,me={};function ve(t,e){var n=t._origin,r=t._capacity,o=ke(r),i=t._tail;return a(t._root,t._level,0);function a(t,s,c){return 0===s?function(t,a){var s=a===o?i&&i.array:t&&t.array,c=a>n?0:n-a,u=r-a;return u>y&&(u=y),function(){if(c===u)return me;var t=e?--u:c++;return s&&s[t]}}(t,c):function(t,o,i){var s,c=t&&t.array,u=i>n?0:n-i>>o,l=1+(r-i>>o);return l>y&&(l=y),function(){for(;;){if(s){var t=s();if(t!==me)return t;s=null}if(u===l)return me;var n=e?--l:u++;s=a(c&&c[n],o-5,i+(n<<o))}}}(t,s,c)}}function be(t,e,n,r,o,i,a){var s=Object.create(de);return s.size=e-t,s._origin=t,s._capacity=e,s._level=n,s._root=r,s._tail=o,s.__ownerID=i,s.__hash=a,s.__altered=!1,s}function _e(){return ye||(ye=be(0,0,5))}function we(t,e,n,r,o,i){var a,s=r>>>n&g,c=t&&s<t.array.length;if(!c&&void 0===o)return t;if(n>0){var u=t&&t.array[s],l=we(u,e,n-5,r,o,i);return l===u?t:((a=Se(t,e)).array[s]=l,a)}return c&&t.array[s]===o?t:(w(i),a=Se(t,e),void 0===o&&s===a.array.length-1?a.array.pop():a.array[s]=o,a)}function Se(t,e){return e&&t&&e===t.ownerID?t:new he(t?t.array.slice():[],e)}function Me(t,e){if(e>=ke(t._capacity))return t._tail;if(e<1<<t._level+5){for(var n=t._root,r=t._level;n&&r>0;)n=n.array[e>>>r&g],r-=5;return n}}function Ee(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0);var r=t.__ownerID||new S,o=t._origin,i=t._capacity,a=o+e,s=void 0===n?i:n<0?i+n:o+n;if(a===o&&s===i)return t;if(a>=s)return t.clear();for(var c=t._level,u=t._root,l=0;a+l<0;)u=new he(u&&u.array.length?[void 0,u]:[],r),l+=1<<(c+=5);l&&(a+=l,o+=l,s+=l,i+=l);for(var p=ke(i),f=ke(s);f>=1<<c+5;)u=new he(u&&u.array.length?[u]:[],r),c+=5;var d=t._tail,h=f<p?Me(t,s-1):f>p?new he([],r):d;if(d&&f>p&&a<i&&d.array.length){for(var y=u=Se(u,r),m=c;m>5;m-=5){var v=p>>>m&g;y=y.array[v]=Se(y.array[v],r)}y.array[p>>>5&g]=d}if(s<i&&(h=h&&h.removeAfter(r,0,s)),a>=f)a-=f,s-=f,c=5,u=null,h=h&&h.removeBefore(r,0,a);else if(a>o||f<p){for(l=0;u;){var b=a>>>c&g;if(b!==f>>>c&g)break;b&&(l+=(1<<c)*b),c-=5,u=u.array[b]}u&&a>o&&(u=u.removeBefore(r,c,a-l)),u&&f<p&&(u=u.removeAfter(r,c,f-l)),l&&(a-=l,s-=l)}return t.__ownerID?(t.size=s-a,t._origin=a,t._capacity=s,t._level=c,t._root=u,t._tail=h,t.__hash=void 0,t.__altered=!0,t):be(a,s,c,u,h)}function xe(t,e,n){for(var r=[],i=0,s=0;s<n.length;s++){var c=n[s],u=o(c);u.size>i&&(i=u.size),a(c)||(u=u.map((function(t){return st(t)}))),r.push(u)}return i>t.size&&(t=t.setSize(i)),re(t,e,r)}function ke(t){return t<y?0:t-1>>>5<<5}function Ce(t){return null==t?Oe():je(t)?t:Oe().withMutations((function(e){var n=r(t);At(n.size),n.forEach((function(t,n){return e.set(n,t)}))}))}function je(t){return zt(t)&&l(t)}function De(t,e,n,r){var o=Object.create(Ce.prototype);return o.size=t?t.size:0,o._map=t,o._list=e,o.__ownerID=n,o.__hash=r,o}function Oe(){return ge||(ge=De(Vt(),_e()))}function Ie(t,e,n){var r,o,i=t._map,a=t._list,s=i.get(e),c=void 0!==s;if(n===m){if(!c)return t;a.size>=y&&a.size>=2*i.size?(r=(o=a.filter((function(t,e){return void 0!==t&&s!==e}))).toKeyedSeq().map((function(t){return t[0]})).flip().toMap(),t.__ownerID&&(r.__ownerID=o.__ownerID=t.__ownerID)):(r=i.remove(e),o=s===a.size-1?a.pop():a.set(s,void 0))}else if(c){if(n===a.get(s)[1])return t;r=i,o=a.set(s,[e,n])}else r=i.set(e,a.size),o=a.set(a.size,[e,n]);return t.__ownerID?(t.size=r.size,t._map=r,t._list=o,t.__hash=void 0,t):De(r,o)}function Le(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function Ne(t){this._iter=t,this.size=t.size}function Ae(t){this._iter=t,this.size=t.size}function Te(t){this._iter=t,this.size=t.size}function ze(t){var e=Xe(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=$e,e.__iterateUncached=function(e,n){var r=this;return t.__iterate((function(t,n){return!1!==e(n,t,r)}),n)},e.__iteratorUncached=function(e,n){if(2===e){var r=t.__iterator(e,n);return new A((function(){var t=r.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t}))}return t.__iterator(1===e?0:1,n)},e}function Re(t,e,n){var r=Xe(t);return r.size=t.size,r.has=function(e){return t.has(e)},r.get=function(r,o){var i=t.get(r,m);return i===m?o:e.call(n,i,r,t)},r.__iterateUncached=function(r,o){var i=this;return t.__iterate((function(t,o,a){return!1!==r(e.call(n,t,o,a),o,i)}),o)},r.__iteratorUncached=function(r,o){var i=t.__iterator(2,o);return new A((function(){var o=i.next();if(o.done)return o;var a=o.value,s=a[0];return T(r,s,e.call(n,a[1],s,t),o)}))},r}function Pe(t,e){var n=Xe(t);return n._iter=t,n.size=t.size,n.reverse=function(){return t},t.flip&&(n.flip=function(){var e=ze(t);return e.reverse=function(){return t.flip()},e}),n.get=function(n,r){return t.get(e?n:-1-n,r)},n.has=function(n){return t.has(e?n:-1-n)},n.includes=function(e){return t.includes(e)},n.cacheResult=$e,n.__iterate=function(e,n){var r=this;return t.__iterate((function(t,n){return e(t,n,r)}),!n)},n.__iterator=function(e,n){return t.__iterator(e,!n)},n}function Be(t,e,n,r){var o=Xe(t);return r&&(o.has=function(r){var o=t.get(r,m);return o!==m&&!!e.call(n,o,r,t)},o.get=function(r,o){var i=t.get(r,m);return i!==m&&e.call(n,i,r,t)?i:o}),o.__iterateUncached=function(o,i){var a=this,s=0;return t.__iterate((function(t,i,c){if(e.call(n,t,i,c))return s++,o(t,r?i:s-1,a)}),i),s},o.__iteratorUncached=function(o,i){var a=t.__iterator(2,i),s=0;return new A((function(){for(;;){var i=a.next();if(i.done)return i;var c=i.value,u=c[0],l=c[1];if(e.call(n,l,u,t))return T(o,r?u:s++,l,i)}}))},o}function Fe(t,e,n,r){var o=t.size;if(void 0!==e&&(e|=0),void 0!==n&&(n|=0),C(e,n,o))return t;var i=j(e,o),a=D(n,o);if(i!=i||a!=a)return Fe(t.toSeq().cacheResult(),e,n,r);var s,c=a-i;c==c&&(s=c<0?0:c);var u=Xe(t);return u.size=0===s?s:t.size&&s||void 0,!r&&tt(t)&&s>=0&&(u.get=function(e,n){return(e=x(this,e))>=0&&e<s?t.get(e+i,n):n}),u.__iterateUncached=function(e,n){var o=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(e,n);var a=0,c=!0,u=0;return t.__iterate((function(t,n){if(!c||!(c=a++<i))return u++,!1!==e(t,r?n:u-1,o)&&u!==s})),u},u.__iteratorUncached=function(e,n){if(0!==s&&n)return this.cacheResult().__iterator(e,n);var o=0!==s&&t.__iterator(e,n),a=0,c=0;return new A((function(){for(;a++<i;)o.next();if(++c>s)return{value:void 0,done:!0};var t=o.next();return r||1===e?t:T(e,c-1,0===e?void 0:t.value[1],t)}))},u}function Ue(t,e,n,r){var o=Xe(t);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,c=0;return t.__iterate((function(t,i,u){if(!s||!(s=e.call(n,t,i,u)))return c++,o(t,r?i:c-1,a)})),c},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=t.__iterator(2,i),c=!0,u=0;return new A((function(){var t,i,l;do{if((t=s.next()).done)return r||1===o?t:T(o,u++,0===o?void 0:t.value[1],t);var p=t.value;i=p[0],l=p[1],c&&(c=e.call(n,l,i,a))}while(c);return 2===o?t:T(o,i,l,t)}))},o}function Ke(t,e){var n=s(t),o=[t].concat(e).map((function(t){return a(t)?n&&(t=r(t)):t=n?nt(t):rt(Array.isArray(t)?t:[t]),t})).filter((function(t){return 0!==t.size}));if(0===o.length)return t;if(1===o.length){var i=o[0];if(i===t||n&&s(i)||c(t)&&c(i))return i}var u=new G(o);return n?u=u.toKeyedSeq():c(t)||(u=u.toSetSeq()),(u=u.flatten(!0)).size=o.reduce((function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}}),0),u}function He(t,e,n){var r=Xe(t);return r.__iterateUncached=function(r,o){var i=0,s=!1;return function t(c,u){var l=this;c.__iterate((function(o,c){return(!e||u<e)&&a(o)?t(o,u+1):!1===r(o,n?c:i++,l)&&(s=!0),!s}),o)}(t,0),i},r.__iteratorUncached=function(r,o){var i=t.__iterator(r,o),s=[],c=0;return new A((function(){for(;i;){var t=i.next();if(!1===t.done){var u=t.value;if(2===r&&(u=u[1]),e&&!(s.length<e)||!a(u))return n?t:T(r,c++,u,t);s.push(i),i=u.__iterator(r,o)}else i=s.pop()}return{value:void 0,done:!0}}))},r}function qe(t,e,n){e||(e=tn);var r=s(t),o=0,i=t.toSeq().map((function(e,r){return[r,e,o++,n?n(e,r,t):e]})).toArray();return i.sort((function(t,n){return e(t[3],n[3])||t[2]-n[2]})).forEach(r?function(t,e){i[e].length=2}:function(t,e){i[e]=t[1]}),r?H(i):c(t)?q(i):Y(i)}function Ye(t,e,n){if(e||(e=tn),n){var r=t.toSeq().map((function(e,r){return[e,n(e,r,t)]})).reduce((function(t,n){return We(e,t[1],n[1])?n:t}));return r&&r[0]}return t.reduce((function(t,n){return We(e,t,n)?n:t}))}function We(t,e,n){var r=t(n,e);return 0===r&&n!==e&&(null==n||n!=n)||r>0}function Qe(t,e,r){var o=Xe(t);return o.size=new G(r).map((function(t){return t.size})).min(),o.__iterate=function(t,e){for(var n,r=this.__iterator(1,e),o=0;!(n=r.next()).done&&!1!==t(n.value,o++,this););return o},o.__iteratorUncached=function(t,o){var i=r.map((function(t){return t=n(t),B(o?t.reverse():t)})),a=0,s=!1;return new A((function(){var n;return s||(n=i.map((function(t){return t.next()})),s=n.some((function(t){return t.done}))),s?{value:void 0,done:!0}:T(t,a++,e.apply(null,n.map((function(t){return t.value}))))}))},o}function Ze(t,e){return tt(t)?e:t.constructor(e)}function Ve(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function Ge(t){return At(t.size),E(t)}function Je(t){return s(t)?r:c(t)?o:i}function Xe(t){return Object.create((s(t)?H:c(t)?q:Y).prototype)}function $e(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):K.prototype.cacheResult.call(this)}function tn(t,e){return t>e?1:t<e?-1:0}function en(t){var e=B(t);if(!e){if(!U(t))throw new TypeError("Expected iterable or array-like: "+t);e=B(n(t))}return e}function nn(t,e){var n,r=function(i){if(i instanceof r)return i;if(!(this instanceof r))return new r(i);if(!n){n=!0;var a=Object.keys(t);(function(t,e){try{e.forEach(sn.bind(void 0,t))}catch(t){}})(o,a),o.size=a.length,o._name=e,o._keys=a,o._defaultValues=t}this._map=Tt(i)},o=r.prototype=Object.create(rn);return o.constructor=r,r}e(Ce,Tt),Ce.of=function(){return this(arguments)},Ce.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Ce.prototype.get=function(t,e){var n=this._map.get(t);return void 0!==n?this._list.get(n)[1]:e},Ce.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Oe()},Ce.prototype.set=function(t,e){return Ie(this,t,e)},Ce.prototype.remove=function(t){return Ie(this,t,m)},Ce.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Ce.prototype.__iterate=function(t,e){var n=this;return this._list.__iterate((function(e){return e&&t(e[1],e[0],n)}),e)},Ce.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},Ce.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),n=this._list.__ensureOwner(t);return t?De(e,n,t,this.__hash):(this.__ownerID=t,this._map=e,this._list=n,this)},Ce.isOrderedMap=je,Ce.prototype[h]=!0,Ce.prototype.delete=Ce.prototype.remove,e(Le,H),Le.prototype.get=function(t,e){return this._iter.get(t,e)},Le.prototype.has=function(t){return this._iter.has(t)},Le.prototype.valueSeq=function(){return this._iter.valueSeq()},Le.prototype.reverse=function(){var t=this,e=Pe(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},Le.prototype.map=function(t,e){var n=this,r=Re(this,t,e);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(t,e)}),r},Le.prototype.__iterate=function(t,e){var n,r=this;return this._iter.__iterate(this._useKeys?function(e,n){return t(e,n,r)}:(n=e?Ge(this):0,function(o){return t(o,e?--n:n++,r)}),e)},Le.prototype.__iterator=function(t,e){if(this._useKeys)return this._iter.__iterator(t,e);var n=this._iter.__iterator(1,e),r=e?Ge(this):0;return new A((function(){var o=n.next();return o.done?o:T(t,e?--r:r++,o.value,o)}))},Le.prototype[h]=!0,e(Ne,q),Ne.prototype.includes=function(t){return this._iter.includes(t)},Ne.prototype.__iterate=function(t,e){var n=this,r=0;return this._iter.__iterate((function(e){return t(e,r++,n)}),e)},Ne.prototype.__iterator=function(t,e){var n=this._iter.__iterator(1,e),r=0;return new A((function(){var e=n.next();return e.done?e:T(t,r++,e.value,e)}))},e(Ae,Y),Ae.prototype.has=function(t){return this._iter.includes(t)},Ae.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate((function(e){return t(e,e,n)}),e)},Ae.prototype.__iterator=function(t,e){var n=this._iter.__iterator(1,e);return new A((function(){var e=n.next();return e.done?e:T(t,e.value,e.value,e)}))},e(Te,H),Te.prototype.entrySeq=function(){return this._iter.toSeq()},Te.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate((function(e){if(e){Ve(e);var r=a(e);return t(r?e.get(1):e[1],r?e.get(0):e[0],n)}}),e)},Te.prototype.__iterator=function(t,e){var n=this._iter.__iterator(1,e);return new A((function(){for(;;){var e=n.next();if(e.done)return e;var r=e.value;if(r){Ve(r);var o=a(r);return T(t,o?r.get(0):r[0],o?r.get(1):r[1],e)}}}))},Ne.prototype.cacheResult=Le.prototype.cacheResult=Ae.prototype.cacheResult=Te.prototype.cacheResult=$e,e(nn,mt),nn.prototype.toString=function(){return this.__toString(an(this)+" {","}")},nn.prototype.has=function(t){return this._defaultValues.hasOwnProperty(t)},nn.prototype.get=function(t,e){if(!this.has(t))return e;var n=this._defaultValues[t];return this._map?this._map.get(t,n):n},nn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var t=this.constructor;return t._empty||(t._empty=on(this,Vt()))},nn.prototype.set=function(t,e){if(!this.has(t))throw new Error('Cannot set unknown key "'+t+'" on '+an(this));var n=this._map&&this._map.set(t,e);return this.__ownerID||n===this._map?this:on(this,n)},nn.prototype.remove=function(t){if(!this.has(t))return this;var e=this._map&&this._map.remove(t);return this.__ownerID||e===this._map?this:on(this,e)},nn.prototype.wasAltered=function(){return this._map.wasAltered()},nn.prototype.__iterator=function(t,e){var n=this;return r(this._defaultValues).map((function(t,e){return n.get(e)})).__iterator(t,e)},nn.prototype.__iterate=function(t,e){var n=this;return r(this._defaultValues).map((function(t,e){return n.get(e)})).__iterate(t,e)},nn.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map&&this._map.__ensureOwner(t);return t?on(this,e,t):(this.__ownerID=t,this._map=e,this)};var rn=nn.prototype;function on(t,e,n){var r=Object.create(Object.getPrototypeOf(t));return r._map=e,r.__ownerID=n,r}function an(t){return t._name||t.constructor.name||"Record"}function sn(t,e){Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){ht(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}function cn(t){return null==t?yn():un(t)&&!l(t)?t:yn().withMutations((function(e){var n=i(t);At(n.size),n.forEach((function(t){return e.add(t)}))}))}function un(t){return!(!t||!t[pn])}rn.delete=rn.remove,rn.deleteIn=rn.removeIn=Bt.removeIn,rn.merge=Bt.merge,rn.mergeWith=Bt.mergeWith,rn.mergeIn=Bt.mergeIn,rn.mergeDeep=Bt.mergeDeep,rn.mergeDeepWith=Bt.mergeDeepWith,rn.mergeDeepIn=Bt.mergeDeepIn,rn.setIn=Bt.setIn,rn.update=Bt.update,rn.updateIn=Bt.updateIn,rn.withMutations=Bt.withMutations,rn.asMutable=Bt.asMutable,rn.asImmutable=Bt.asImmutable,e(cn,bt),cn.of=function(){return this(arguments)},cn.fromKeys=function(t){return this(r(t).keySeq())},cn.prototype.toString=function(){return this.__toString("Set {","}")},cn.prototype.has=function(t){return this._map.has(t)},cn.prototype.add=function(t){return dn(this,this._map.set(t,!0))},cn.prototype.remove=function(t){return dn(this,this._map.remove(t))},cn.prototype.clear=function(){return dn(this,this._map.clear())},cn.prototype.union=function(){var e=t.call(arguments,0);return 0===(e=e.filter((function(t){return 0!==t.size}))).length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations((function(t){for(var n=0;n<e.length;n++)i(e[n]).forEach((function(e){return t.add(e)}))})):this.constructor(e[0])},cn.prototype.intersect=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map((function(t){return i(t)}));var n=this;return this.withMutations((function(t){n.forEach((function(n){e.every((function(t){return t.includes(n)}))||t.remove(n)}))}))},cn.prototype.subtract=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map((function(t){return i(t)}));var n=this;return this.withMutations((function(t){n.forEach((function(n){e.some((function(t){return t.includes(n)}))&&t.remove(n)}))}))},cn.prototype.merge=function(){return this.union.apply(this,arguments)},cn.prototype.mergeWith=function(e){var n=t.call(arguments,1);return this.union.apply(this,n)},cn.prototype.sort=function(t){return gn(qe(this,t))},cn.prototype.sortBy=function(t,e){return gn(qe(this,e,t))},cn.prototype.wasAltered=function(){return this._map.wasAltered()},cn.prototype.__iterate=function(t,e){var n=this;return this._map.__iterate((function(e,r){return t(r,r,n)}),e)},cn.prototype.__iterator=function(t,e){return this._map.map((function(t,e){return e})).__iterator(t,e)},cn.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t);return t?this.__make(e,t):(this.__ownerID=t,this._map=e,this)},cn.isSet=un;var ln,pn="@@__IMMUTABLE_SET__@@",fn=cn.prototype;function dn(t,e){return t.__ownerID?(t.size=e.size,t._map=e,t):e===t._map?t:0===e.size?t.__empty():t.__make(e)}function hn(t,e){var n=Object.create(fn);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function yn(){return ln||(ln=hn(Vt()))}function gn(t){return null==t?wn():mn(t)?t:wn().withMutations((function(e){var n=i(t);At(n.size),n.forEach((function(t){return e.add(t)}))}))}function mn(t){return un(t)&&l(t)}fn[pn]=!0,fn.delete=fn.remove,fn.mergeDeep=fn.merge,fn.mergeDeepWith=fn.mergeWith,fn.withMutations=Bt.withMutations,fn.asMutable=Bt.asMutable,fn.asImmutable=Bt.asImmutable,fn.__empty=yn,fn.__make=hn,e(gn,cn),gn.of=function(){return this(arguments)},gn.fromKeys=function(t){return this(r(t).keySeq())},gn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},gn.isOrderedSet=mn;var vn,bn=gn.prototype;function _n(t,e){var n=Object.create(bn);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function wn(){return vn||(vn=_n(Oe()))}function Sn(t){return null==t?jn():Mn(t)?t:jn().unshiftAll(t)}function Mn(t){return!(!t||!t[xn])}bn[h]=!0,bn.__empty=wn,bn.__make=_n,e(Sn,vt),Sn.of=function(){return this(arguments)},Sn.prototype.toString=function(){return this.__toString("Stack [","]")},Sn.prototype.get=function(t,e){var n=this._head;for(t=x(this,t);n&&t--;)n=n.next;return n?n.value:e},Sn.prototype.peek=function(){return this._head&&this._head.value},Sn.prototype.push=function(){if(0===arguments.length)return this;for(var t=this.size+arguments.length,e=this._head,n=arguments.length-1;n>=0;n--)e={value:arguments[n],next:e};return this.__ownerID?(this.size=t,this._head=e,this.__hash=void 0,this.__altered=!0,this):Cn(t,e)},Sn.prototype.pushAll=function(t){if(0===(t=o(t)).size)return this;At(t.size);var e=this.size,n=this._head;return t.reverse().forEach((function(t){e++,n={value:t,next:n}})),this.__ownerID?(this.size=e,this._head=n,this.__hash=void 0,this.__altered=!0,this):Cn(e,n)},Sn.prototype.pop=function(){return this.slice(1)},Sn.prototype.unshift=function(){return this.push.apply(this,arguments)},Sn.prototype.unshiftAll=function(t){return this.pushAll(t)},Sn.prototype.shift=function(){return this.pop.apply(this,arguments)},Sn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):jn()},Sn.prototype.slice=function(t,e){if(C(t,e,this.size))return this;var n=j(t,this.size);if(D(e,this.size)!==this.size)return vt.prototype.slice.call(this,t,e);for(var r=this.size-n,o=this._head;n--;)o=o.next;return this.__ownerID?(this.size=r,this._head=o,this.__hash=void 0,this.__altered=!0,this):Cn(r,o)},Sn.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Cn(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},Sn.prototype.__iterate=function(t,e){if(e)return this.reverse().__iterate(t);for(var n=0,r=this._head;r&&!1!==t(r.value,n++,this);)r=r.next;return n},Sn.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var n=0,r=this._head;return new A((function(){if(r){var e=r.value;return r=r.next,T(t,n++,e)}return{value:void 0,done:!0}}))},Sn.isStack=Mn;var En,xn="@@__IMMUTABLE_STACK__@@",kn=Sn.prototype;function Cn(t,e,n,r){var o=Object.create(kn);return o.size=t,o._head=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function jn(){return En||(En=Cn(0))}function Dn(t,e){var n=function(n){t.prototype[n]=e[n]};return Object.keys(e).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n),t}kn[xn]=!0,kn.withMutations=Bt.withMutations,kn.asMutable=Bt.asMutable,kn.asImmutable=Bt.asImmutable,kn.wasAltered=Bt.wasAltered,n.Iterator=A,Dn(n,{toArray:function(){At(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate((function(e,n){t[n]=e})),t},toIndexedSeq:function(){return new Ne(this)},toJS:function(){return this.toSeq().map((function(t){return t&&"function"==typeof t.toJS?t.toJS():t})).__toJS()},toJSON:function(){return this.toSeq().map((function(t){return t&&"function"==typeof t.toJSON?t.toJSON():t})).__toJS()},toKeyedSeq:function(){return new Le(this,!0)},toMap:function(){return Tt(this.toKeyedSeq())},toObject:function(){At(this.size);var t={};return this.__iterate((function(e,n){t[n]=e})),t},toOrderedMap:function(){return Ce(this.toKeyedSeq())},toOrderedSet:function(){return gn(s(this)?this.valueSeq():this)},toSet:function(){return cn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Ae(this)},toSeq:function(){return c(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Sn(s(this)?this.valueSeq():this)},toList:function(){return le(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){return Ze(this,Ke(this,t.call(arguments,0)))},includes:function(t){return this.some((function(e){return pt(e,t)}))},entries:function(){return this.__iterator(2)},every:function(t,e){At(this.size);var n=!0;return this.__iterate((function(r,o,i){if(!t.call(e,r,o,i))return n=!1,!1})),n},filter:function(t,e){return Ze(this,Be(this,t,e,!0))},find:function(t,e,n){var r=this.findEntry(t,e);return r?r[1]:n},findEntry:function(t,e){var n;return this.__iterate((function(r,o,i){if(t.call(e,r,o,i))return n=[o,r],!1})),n},findLastEntry:function(t,e){return this.toSeq().reverse().findEntry(t,e)},forEach:function(t,e){return At(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){At(this.size),t=void 0!==t?""+t:",";var e="",n=!0;return this.__iterate((function(r){n?n=!1:e+=t,e+=null!=r?r.toString():""})),e},keys:function(){return this.__iterator(0)},map:function(t,e){return Ze(this,Re(this,t,e))},reduce:function(t,e,n){var r,o;return At(this.size),arguments.length<2?o=!0:r=e,this.__iterate((function(e,i,a){o?(o=!1,r=e):r=t.call(n,r,e,i,a)})),r},reduceRight:function(t,e,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return Ze(this,Pe(this,!0))},slice:function(t,e){return Ze(this,Fe(this,t,e,!0))},some:function(t,e){return!this.every(An(t),e)},sort:function(t){return Ze(this,qe(this,t))},values:function(){return this.__iterator(1)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(t,e){return E(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return function(t,e,n){var r=Tt().asMutable();return t.__iterate((function(o,i){r.update(e.call(n,o,i,t),0,(function(t){return t+1}))})),r.asImmutable()}(this,t,e)},equals:function(t){return ft(this,t)},entrySeq:function(){var t=this;if(t._cache)return new G(t._cache);var e=t.toSeq().map(Nn).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(An(t),e)},findLast:function(t,e,n){return this.toKeyedSeq().reverse().find(t,e,n)},first:function(){return this.find(k)},flatMap:function(t,e){return Ze(this,function(t,e,n){var r=Je(t);return t.toSeq().map((function(o,i){return r(e.call(n,o,i,t))})).flatten(!0)}(this,t,e))},flatten:function(t){return Ze(this,He(this,t,!0))},fromEntrySeq:function(){return new Te(this)},get:function(t,e){return this.find((function(e,n){return pt(n,t)}),void 0,e)},getIn:function(t,e){for(var n,r=this,o=en(t);!(n=o.next()).done;){var i=n.value;if((r=r&&r.get?r.get(i,m):m)===m)return e}return r},groupBy:function(t,e){return function(t,e,n){var r=s(t),o=(l(t)?Ce():Tt()).asMutable();t.__iterate((function(i,a){o.update(e.call(n,i,a,t),(function(t){return(t=t||[]).push(r?[a,i]:i),t}))}));var i=Je(t);return o.map((function(e){return Ze(t,i(e))}))}(this,t,e)},has:function(t){return this.get(t,m)!==m},hasIn:function(t){return this.getIn(t,m)!==m},isSubset:function(t){return t="function"==typeof t.includes?t:n(t),this.every((function(e){return t.includes(e)}))},isSuperset:function(t){return(t="function"==typeof t.isSubset?t:n(t)).isSubset(this)},keySeq:function(){return this.toSeq().map(Ln).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(t){return Ye(this,t)},maxBy:function(t,e){return Ye(this,e,t)},min:function(t){return Ye(this,t?Tn(t):Pn)},minBy:function(t,e){return Ye(this,e?Tn(e):Pn,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return Ze(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return Ze(this,Ue(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(An(t),e)},sortBy:function(t,e){return Ze(this,qe(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return Ze(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return Ze(this,function(t,e,n){var r=Xe(t);return r.__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var a=0;return t.__iterate((function(t,o,s){return e.call(n,t,o,s)&&++a&&r(t,o,i)})),a},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var a=t.__iterator(2,o),s=!0;return new A((function(){if(!s)return{value:void 0,done:!0};var t=a.next();if(t.done)return t;var o=t.value,c=o[0],u=o[1];return e.call(n,u,c,i)?2===r?t:T(r,c,u,t):(s=!1,{value:void 0,done:!0})}))},r}(this,t,e))},takeUntil:function(t,e){return this.takeWhile(An(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(t){if(t.size===1/0)return 0;var e=l(t),n=s(t),r=e?1:0;return function(t,e){return e=_t(e,3432918353),e=_t(e<<15|e>>>-15,461845907),e=_t(e<<13|e>>>-13,5),e=_t((e=(e+3864292196|0)^t)^e>>>16,2246822507),wt((e=_t(e^e>>>13,3266489909))^e>>>16)}(t.__iterate(n?e?function(t,e){r=31*r+Bn(St(t),St(e))|0}:function(t,e){r=r+Bn(St(t),St(e))|0}:e?function(t){r=31*r+St(t)|0}:function(t){r=r+St(t)|0}),r)}(this))}});var On=n.prototype;On[p]=!0,On[N]=On.values,On.__toJS=On.toArray,On.__toStringMapper=zn,On.inspect=On.toSource=function(){return this.toString()},On.chain=On.flatMap,On.contains=On.includes,function(){try{Object.defineProperty(On,"length",{get:function(){if(!n.noLengthWarning){var t;try{throw new Error}catch(e){t=e.stack}if(-1===t.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+t),this.size}}})}catch(t){}}(),Dn(r,{flip:function(){return Ze(this,ze(this))},findKey:function(t,e){var n=this.findEntry(t,e);return n&&n[0]},findLastKey:function(t,e){return this.toSeq().reverse().findKey(t,e)},keyOf:function(t){return this.findKey((function(e){return pt(e,t)}))},lastKeyOf:function(t){return this.findLastKey((function(e){return pt(e,t)}))},mapEntries:function(t,e){var n=this,r=0;return Ze(this,this.toSeq().map((function(o,i){return t.call(e,[i,o],r++,n)})).fromEntrySeq())},mapKeys:function(t,e){var n=this;return Ze(this,this.toSeq().flip().map((function(r,o){return t.call(e,r,o,n)})).flip())}});var In=r.prototype;function Ln(t,e){return e}function Nn(t,e){return[e,t]}function An(t){return function(){return!t.apply(this,arguments)}}function Tn(t){return function(){return-t.apply(this,arguments)}}function zn(t){return"string"==typeof t?JSON.stringify(t):t}function Rn(){return M(arguments)}function Pn(t,e){return t<e?1:t>e?-1:0}function Bn(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}return In[f]=!0,In[N]=On.entries,In.__toJS=On.toObject,In.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+zn(t)},Dn(o,{toKeyedSeq:function(){return new Le(this,!1)},filter:function(t,e){return Ze(this,Be(this,t,e,!1))},findIndex:function(t,e){var n=this.findEntry(t,e);return n?n[0]:-1},indexOf:function(t){var e=this.toKeyedSeq().keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.toKeyedSeq().reverse().keyOf(t);return void 0===e?-1:e},reverse:function(){return Ze(this,Pe(this,!1))},slice:function(t,e){return Ze(this,Fe(this,t,e,!1))},splice:function(t,e){var n=arguments.length;if(e=Math.max(0|e,0),0===n||2===n&&!e)return this;t=j(t,t<0?this.count():this.size);var r=this.slice(0,t);return Ze(this,1===n?r:r.concat(M(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var n=this.toKeyedSeq().findLastKey(t,e);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(t){return Ze(this,He(this,t,!1))},get:function(t,e){return(t=x(this,t))<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find((function(e,n){return n===t}),void 0,e)},has:function(t){return(t=x(this,t))>=0&&(void 0!==this.size?this.size===1/0||t<this.size:-1!==this.indexOf(t))},interpose:function(t){return Ze(this,function(t,e){var n=Xe(t);return n.size=t.size&&2*t.size-1,n.__iterateUncached=function(n,r){var o=this,i=0;return t.__iterate((function(t,r){return(!i||!1!==n(e,i++,o))&&!1!==n(t,i++,o)}),r),i},n.__iteratorUncached=function(n,r){var o,i=t.__iterator(1,r),a=0;return new A((function(){return(!o||a%2)&&(o=i.next()).done?o:a%2?T(n,a++,e):T(n,a++,o.value,o)}))},n}(this,t))},interleave:function(){var t=[this].concat(M(arguments)),e=Qe(this.toSeq(),q.of,t),n=e.flatten(!0);return e.size&&(n.size=e.size*t.length),Ze(this,n)},last:function(){return this.get(-1)},skipWhile:function(t,e){return Ze(this,Ue(this,t,e,!1))},zip:function(){return Ze(this,Qe(this,Rn,[this].concat(M(arguments))))},zipWith:function(t){var e=M(arguments);return e[0]=this,Ze(this,Qe(this,t,e))}}),o.prototype[d]=!0,o.prototype[h]=!0,Dn(i,{get:function(t,e){return this.has(t)?t:e},includes:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}}),i.prototype.has=On.includes,Dn(H,r.prototype),Dn(q,o.prototype),Dn(Y,i.prototype),Dn(mt,r.prototype),Dn(vt,o.prototype),Dn(bt,i.prototype),{Iterable:n,Seq:K,Collection:gt,Map:Tt,OrderedMap:Ce,List:le,Stack:Sn,Set:cn,OrderedSet:gn,Record:nn,Range:yt,Repeat:dt,is:pt,fromJS:st}}()},97880:(t,e,n)=>{"use strict";var r=n(31251),o=n(52344),i=n(97109),a=new RegExp("\r\n","g"),s={"text/rtf":1,"text/html":1};function c(t){if("file"==t.kind)return t.getAsFile()}var u=function(){function t(t){this.data=t,this.types=t.types?o(t.types):[]}var e=t.prototype;return e.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(t){return s[t]}))},e.getText=function(){var t;return this.data.getData&&(this.types.length?-1!=this.types.indexOf("text/plain")&&(t=this.data.getData("text/plain")):t=this.data.getData("Text")),t?t.replace(a,"\n"):null},e.getHTML=function(){if(this.data.getData){if(!this.types.length)return this.data.getData("Text");if(-1!=this.types.indexOf("text/html"))return this.data.getData("text/html")}},e.isLink=function(){return this.types.some((function(t){return-1!=t.indexOf("Url")||-1!=t.indexOf("text/uri-list")||t.indexOf("text/x-moz-url")}))},e.getLink=function(){return this.data.getData?-1!=this.types.indexOf("text/x-moz-url")?this.data.getData("text/x-moz-url").split("\n")[0]:-1!=this.types.indexOf("text/uri-list")?this.data.getData("text/uri-list"):this.data.getData("url"):null},e.isImage=function(){var t=this.types.some((function(t){return-1!=t.indexOf("application/x-moz-file")}));if(t)return!0;for(var e=this.getFiles(),n=0;n<e.length;n++){var o=e[n].type;if(!r.isImage(o))return!1}return!0},e.getCount=function(){return this.data.hasOwnProperty("items")?this.data.items.length:this.data.hasOwnProperty("mozItemCount")?this.data.mozItemCount:this.data.files?this.data.files.length:null},e.getFiles=function(){return this.data.items?Array.prototype.slice.call(this.data.items).map(c).filter(i.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},e.hasFiles=function(){return this.getFiles().length>0},t}();t.exports=u},7482:t=>{"use strict";t.exports={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105}},31251:t=>{"use strict";var e={isImage:function(t){return"image"===n(t)[0]},isJpeg:function(t){var r=n(t);return e.isImage(t)&&("jpeg"===r[1]||"pjpeg"===r[1])}};function n(t){return t.split("/")}t.exports=e},31675:t=>{"use strict";function e(t,e){return!!e&&(t===e.documentElement||t===e.body)}var n={getTop:function(t){var n=t.ownerDocument;return e(t,n)?n.body.scrollTop||n.documentElement.scrollTop:t.scrollTop},setTop:function(t,n){var r=t.ownerDocument;e(t,r)?r.body.scrollTop=r.documentElement.scrollTop=n:t.scrollTop=n},getLeft:function(t){var n=t.ownerDocument;return e(t,n)?n.body.scrollLeft||n.documentElement.scrollLeft:t.scrollLeft},setLeft:function(t,n){var r=t.ownerDocument;e(t,r)?r.body.scrollLeft=r.documentElement.scrollLeft=n:t.scrollLeft=n}};t.exports=n},99986:(t,e,n)=>{"use strict";function r(t,e){var n=o.get(t,e);return"auto"===n||"scroll"===n}var o={get:n(98773),getScrollParent:function(t){if(!t)return null;for(var e=t.ownerDocument;t&&t!==e.body;){if(r(t,"overflow")||r(t,"overflowY")||r(t,"overflowX"))return t;t=t.parentNode}return e.defaultView||e.parentWindow}};t.exports=o},59878:t=>{"use strict";t.exports={getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}},2909:t=>{"use strict";var e=function(){function t(t){var e,n;n=void 0,(e="_uri")in this?Object.defineProperty(this,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):this._uri=n,this._uri=t}return t.prototype.toString=function(){return this._uri},t}();t.exports=e},35796:(t,e,n)=>{"use strict";var r=n(11021),o=n(73012),i="־׀׃׆-א-ת-ׯװ-ײ׳-״-߀-߉ߊ-ߪߴ-ߵߺ-߿ࠀ-ࠕࠚࠤࠨ-࠰-࠾ࡀ-ࡘ-࡞-࢟יִײַ-ﬨשׁ-זּטּ-לּמּנּ-סּףּ-פּצּ-ﭏ",a="؈؋؍؛؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍ܐܒ-ܯ-ݍ-ޥޱ-ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-ﯓ-ﴽ﵀-﵏ﵐ-ﶏ-ﶒ-ﷇ-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴﹶ-ﻼ-",s=new RegExp("[A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+i+a+"]"),c=new RegExp("["+i+a+"]");function u(t){var e=s.exec(t);return null==e?null:e[0]}function l(t){var e=u(t);return null==e?r.NEUTRAL:c.exec(e)?r.RTL:r.LTR}function p(t,e){if(e=e||r.NEUTRAL,!t.length)return e;var n=l(t);return n===r.NEUTRAL?e:n}function f(t,e){return e||(e=r.getGlobalDir()),r.isStrong(e)||o(!1),p(t,e)}var d={firstStrongChar:u,firstStrongCharDir:l,resolveBlockDir:p,getDirection:f,isDirectionLTR:function(t,e){return f(t,e)===r.LTR},isDirectionRTL:function(t,e){return f(t,e)===r.RTL}};t.exports=d},11021:(t,e,n)=>{"use strict";var r=n(73012),o="LTR",i=null;function a(t){return t===o||"RTL"===t}function s(t){return a(t)||r(!1),t===o?"ltr":"rtl"}function c(t){i=t}var u={NEUTRAL:"NEUTRAL",LTR:o,RTL:"RTL",isStrong:a,getHTMLDir:s,getHTMLDirIfDifferent:function(t,e){return a(t)||r(!1),a(e)||r(!1),t===e?null:s(t)},setGlobalDir:c,initGlobalDir:function(){c(o)},getGlobalDir:function(){return i||this.initGlobalDir(),i||r(!1),i}};t.exports=u},90209:(t,e,n)=>{"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(35796),i=n(11021),a=n(73012),s=function(){function t(t){r(this,"_defaultDir",void 0),r(this,"_lastDir",void 0),t?i.isStrong(t)||a(!1):t=i.getGlobalDir(),this._defaultDir=t,this.reset()}var e=t.prototype;return e.reset=function(){this._lastDir=this._defaultDir},e.getDirection=function(t){return this._lastDir=o.getDirection(t,this._lastDir),this._lastDir},t}();t.exports=s},13820:(t,e,n)=>{"use strict";var r=n(73012),o=/[\uD800-\uDFFF]/;function i(t){return 55296<=t&&t<=57343}function a(t){return o.test(t)}function s(t,e){return 1+i(t.charCodeAt(e))}function c(t,e,n){if(e=e||0,n=void 0===n?1/0:n||0,!a(t))return t.substr(e,n);var r=t.length;if(r<=0||e>r||n<=0)return"";var o=0;if(e>0){for(;e>0&&o<r;e--)o+=s(t,o);if(o>=r)return""}else if(e<0){for(o=r;e<0&&0<o;e++)o-=s(t,o-1);o<0&&(o=0)}var i=r;if(n<r)for(i=o;n>0&&i<r;n--)i+=s(t,i);return t.substring(o,i)}var u={getCodePoints:function(t){for(var e=[],n=0;n<t.length;n+=s(t,n))e.push(t.codePointAt(n));return e},getUTF16Length:s,hasSurrogateUnit:a,isCodeUnitInSurrogateRange:i,isSurrogatePair:function(t,e){if(0<=e&&e<t.length||r(!1),e+1===t.length)return!1;var n=t.charCodeAt(e),o=t.charCodeAt(e+1);return 55296<=n&&n<=56319&&56320<=o&&o<=57343},strlen:function(t){if(!a(t))return t.length;for(var e=0,n=0;n<t.length;n+=s(t,n))e++;return e},substring:function(t,e,n){(e=e||0)<0&&(e=0),(n=void 0===n?1/0:n||0)<0&&(n=0);var r=Math.abs(n-e);return c(t,e=e<n?e:n,r)},substr:c};t.exports=u},91355:(t,e,n)=>{"use strict";var r=n(21120),o=n(31503),i=n(95621),a=n(17786);function s(t,e,n,r){if(t===n)return!0;if(!n.startsWith(t))return!1;var i=n.slice(t.length);return!!e&&(i=r?r(i):i,o.contains(i,e))}function c(t){return"Windows"===r.platformName?t.replace(/^\s*NT/,""):t}var u={isBrowser:function(t){return s(r.browserName,r.browserFullVersion,t)},isBrowserArchitecture:function(t){return s(r.browserArchitecture,null,t)},isDevice:function(t){return s(r.deviceName,null,t)},isEngine:function(t){return s(r.engineName,r.engineVersion,t)},isPlatform:function(t){return s(r.platformName,r.platformFullVersion,t,c)},isPlatformArchitecture:function(t){return s(r.platformArchitecture,null,t)}};t.exports=i(u,a)},21120:(t,e,n)=>{"use strict";var r,o="Unknown",i=(new(n(52423))).getResult(),a=function(t){if(!t)return{major:"",minor:""};var e=t.split(".");return{major:e[0],minor:e[1]}}(i.browser.version),s={browserArchitecture:i.cpu.architecture||o,browserFullVersion:i.browser.version||o,browserMinorVersion:a.minor||o,browserName:i.browser.name||o,browserVersion:i.browser.major||o,deviceName:i.device.model||o,engineName:i.engine.name||o,engineVersion:i.engine.version||o,platformArchitecture:i.cpu.architecture||o,platformName:(r=i.os.name,{"Mac OS":"Mac OS X"}[r]||r||o),platformVersion:i.os.version||o,platformFullVersion:i.os.version||o};t.exports=s},31503:(t,e,n)=>{"use strict";var r=n(73012),o=/\./,i=/\|\|/,a=/\s+\-\s+/,s=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,c=/^(\d*)(.*)/;function u(t,e){if(""===(t=t.trim()))return!0;var n,r=e.split(o),i=f(t),a=i.modifier,s=i.rangeComponents;switch(a){case"<":return l(r,s);case"<=":return-1===(n=v(r,s))||0===n;case">=":return p(r,s);case">":return 1===v(r,s);case"~":case"~>":return function(t,e){var n=e.slice(),r=e.slice();r.length>1&&r.pop();var o=r.length-1,i=parseInt(r[o],10);return d(i)&&(r[o]=i+1+""),p(t,n)&&l(t,r)}(r,s);default:return function(t,e){return 0===v(t,e)}(r,s)}}function l(t,e){return-1===v(t,e)}function p(t,e){var n=v(t,e);return 1===n||0===n}function f(t){var e=t.split(o),n=e[0].match(s);return n||r(!1),{modifier:n[1],rangeComponents:[n[2]].concat(e.slice(1))}}function d(t){return!isNaN(t)&&isFinite(t)}function h(t){return!f(t).modifier}function y(t,e){for(var n=t.length;n<e;n++)t[n]="0"}function g(t,e){var n=t.match(c)[1],r=e.match(c)[1],o=parseInt(n,10),i=parseInt(r,10);return d(o)&&d(i)&&o!==i?m(o,i):m(t,e)}function m(t,e){return typeof t!=typeof e&&r(!1),t>e?1:t<e?-1:0}function v(t,e){for(var n=function(t,e){y(t=t.slice(),(e=e.slice()).length);for(var n=0;n<e.length;n++){var r=e[n].match(/^[x*]$/i);if(r&&(e[n]=t[n]="0","*"===r[0]&&n===e.length-1))for(var o=n;o<t.length;o++)t[o]="0"}return y(e,t.length),[t,e]}(t,e),r=n[0],o=n[1],i=0;i<o.length;i++){var a=g(r[i],o[i]);if(a)return a}return 0}var b={contains:function(t,e){return function(t,e){var n=t.split(i);return n.length>1?n.some((function(t){return b.contains(t,e)})):function(t,e){var n=t.split(a);if(n.length>0&&n.length<=2||r(!1),1===n.length)return u(n[0],e);var o=n[0],i=n[1];return h(o)&&h(i)||r(!1),u(">="+o,e)&&u("<="+i,e)}(t=n[0].trim(),e)}(t.trim(),e.trim())}};t.exports=b},76458:t=>{"use strict";var e=/-(.)/g;t.exports=function(t){return t.replace(e,(function(t,e){return e.toUpperCase()}))}},61530:(t,e,n)=>{"use strict";var r=n(30854);t.exports=function t(e,n){return!(!e||!n)&&(e===n||!r(e)&&(r(n)?t(e,n.parentNode):"contains"in e?e.contains(n):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(n))))}},52344:(t,e,n)=>{"use strict";var r=n(73012);t.exports=function(t){return function(t){return!!t&&("object"==typeof t||"function"==typeof t)&&"length"in t&&!("setInterval"in t)&&"number"!=typeof t.nodeType&&(Array.isArray(t)||"callee"in t||"item"in t)}(t)?Array.isArray(t)?t.slice():function(t){var e=t.length;if((Array.isArray(t)||"object"!=typeof t&&"function"!=typeof t)&&r(!1),"number"!=typeof e&&r(!1),0===e||e-1 in t||r(!1),"function"==typeof t.callee&&r(!1),t.hasOwnProperty)try{return Array.prototype.slice.call(t)}catch(t){}for(var n=Array(e),o=0;o<e;o++)n[o]=t[o];return n}(t):[t]}},2775:t=>{"use strict";function e(t){return t.replace(/\//g,"-")}t.exports=function(t){return"object"==typeof t?Object.keys(t).filter((function(e){return t[e]})).map(e).join(" "):Array.prototype.map.call(arguments,e).join(" ")}},97109:t=>{"use strict";function e(t){return function(){return t}}var n=function(){};n.thatReturns=e,n.thatReturnsFalse=e(!1),n.thatReturnsTrue=e(!0),n.thatReturnsNull=e(null),n.thatReturnsThis=function(){return this},n.thatReturnsArgument=function(t){return t},t.exports=n},16838:t=>{"use strict";t.exports=function(t){if(void 0===(t=t||("undefined"!=typeof document?document:void 0)))return null;try{return t.activeElement||t.body}catch(e){return t.body}}},35338:t=>{"use strict";var e="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;t.exports=function(t){return(t=t||document).scrollingElement?t.scrollingElement:e||"CSS1Compat"!==t.compatMode?t.body:t.documentElement}},87008:(t,e,n)=>{"use strict";var r=n(42624);t.exports=function(t){var e=r(t);return{x:e.left,y:e.top,width:e.right-e.left,height:e.bottom-e.top}}},42624:(t,e,n)=>{"use strict";var r=n(61530);t.exports=function(t){var e=t.ownerDocument.documentElement;if(!("getBoundingClientRect"in t)||!r(e,t))return{left:0,right:0,top:0,bottom:0};var n=t.getBoundingClientRect();return{left:Math.round(n.left)-e.clientLeft,right:Math.round(n.right)-e.clientLeft,top:Math.round(n.top)-e.clientTop,bottom:Math.round(n.bottom)-e.clientTop}}},51702:(t,e,n)=>{"use strict";var r=n(35338),o=n(79838);t.exports=function(t){var e=r(t.ownerDocument||t.document);t.Window&&t instanceof t.Window&&(t=e);var n=o(t),i=t===e?t.ownerDocument.documentElement:t,a=t.scrollWidth-i.clientWidth,s=t.scrollHeight-i.clientHeight;return n.x=Math.max(0,Math.min(n.x,a)),n.y=Math.max(0,Math.min(n.y,s)),n}},98773:(t,e,n)=>{"use strict";var r=n(76458),o=n(43678);function i(t){return null==t?t:String(t)}t.exports=function(t,e){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(t,null)))return i(n.getPropertyValue(o(e)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(t,null))return i(n.getPropertyValue(o(e)));if("display"===e)return"none"}return t.currentStyle?i("float"===e?t.currentStyle.cssFloat||t.currentStyle.styleFloat:t.currentStyle[r(e)]):i(t.style&&t.style[r(e)])}},79838:t=>{"use strict";t.exports=function(t){return t.Window&&t instanceof t.Window?{x:t.pageXOffset||t.document.documentElement.scrollLeft,y:t.pageYOffset||t.document.documentElement.scrollTop}:{x:t.scrollLeft,y:t.scrollTop}}},90333:t=>{"use strict";function e(){var t;return document.documentElement&&(t=document.documentElement.clientWidth),!t&&document.body&&(t=document.body.clientWidth),t||0}function n(){var t;return document.documentElement&&(t=document.documentElement.clientHeight),!t&&document.body&&(t=document.body.clientHeight),t||0}function r(){return{width:window.innerWidth||e(),height:window.innerHeight||n()}}r.withoutScrollbars=function(){return{width:e(),height:n()}},t.exports=r},43678:t=>{"use strict";var e=/([A-Z])/g;t.exports=function(t){return t.replace(e,"-$1").toLowerCase()}},73012:t=>{"use strict";t.exports=function(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];if(!t){var i;if(void 0===e)i=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var a=0;(i=new Error(e.replace(/%s/g,(function(){return String(r[a++])})))).name="Invariant Violation"}throw i.framesToPop=1,i}}},74201:t=>{"use strict";t.exports=function(t){var e=(t?t.ownerDocument||t:document).defaultView||window;return!(!t||!("function"==typeof e.Node?t instanceof e.Node:"object"==typeof t&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName))}},30854:(t,e,n)=>{"use strict";var r=n(74201);t.exports=function(t){return r(t)&&3==t.nodeType}},52433:t=>{"use strict";t.exports=function(t){var e=t||"",n=arguments.length;if(n>1)for(var r=1;r<n;r++){var o=arguments[r];o&&(e=(e?e+" ":"")+o)}return e}},95621:t=>{"use strict";var e=Object.prototype.hasOwnProperty;t.exports=function(t,n,r){if(!t)return null;var o={};for(var i in t)e.call(t,i)&&(o[i]=n.call(r,t[i],i,t));return o}},17786:t=>{"use strict";t.exports=function(t){var e={};return function(n){return e.hasOwnProperty(n)||(e[n]=t.call(this,n)),e[n]}}},98392:t=>{"use strict";t.exports=function(t){if(null!=t)return t;throw new Error("Got unexpected null or undefined")}},55060:(t,e,n)=>{"use strict";n(67257),t.exports=n.g.setImmediate},85806:(t,e,n)=>{"use strict";var r=n(97109);t.exports=r},11203:(t,e,n)=>{"use strict";n.r(e),n.d(e,{Collection:()=>M,Iterable:()=>Sr,List:()=>rn,Map:()=>Ne,OrderedMap:()=>vn,OrderedSet:()=>ir,Range:()=>Kn,Record:()=>lr,Repeat:()=>mr,Seq:()=>Y,Set:()=>Tn,Stack:()=>En,default:()=>Mr,fromJS:()=>vr,get:()=>re,getIn:()=>Hn,has:()=>ne,hasIn:()=>Yn,hash:()=>pt,is:()=>st,isAssociative:()=>S,isCollection:()=>m,isImmutable:()=>I,isIndexed:()=>w,isKeyed:()=>b,isList:()=>nn,isMap:()=>ot,isOrdered:()=>N,isOrderedMap:()=>it,isOrderedSet:()=>In,isPlainObject:()=>$t,isRecord:()=>O,isSeq:()=>j,isSet:()=>On,isStack:()=>Mn,isValueObject:()=>at,merge:()=>be,mergeDeep:()=>we,mergeDeepWith:()=>Se,mergeWith:()=>_e,remove:()=>ie,removeIn:()=>pe,set:()=>ae,setIn:()=>ue,update:()=>de,updateIn:()=>se,version:()=>wr});var r=32,o=31,i={};function a(t){t&&(t.value=!0)}function s(){}function c(t){return void 0===t.size&&(t.size=t.__iterate(l)),t.size}function u(t,e){if("number"!=typeof e){var n=e>>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?c(t)+e:e}function l(){return!0}function p(t,e,n){return(0===t&&!y(t)||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function f(t,e){return h(t,e,0)}function d(t,e){return h(t,e,e)}function h(t,e,n){return void 0===t?n:y(t)?e===1/0?e:0|Math.max(0,e+t):void 0===e||e===t?t:0|Math.min(e,t)}function y(t){return t<0||0===t&&1/t==-1/0}var g="@@__IMMUTABLE_ITERABLE__@@";function m(t){return Boolean(t&&t[g])}var v="@@__IMMUTABLE_KEYED__@@";function b(t){return Boolean(t&&t[v])}var _="@@__IMMUTABLE_INDEXED__@@";function w(t){return Boolean(t&&t[_])}function S(t){return b(t)||w(t)}var M=function(t){return m(t)?t:Y(t)},E=function(t){function e(t){return b(t)?t:W(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(M),x=function(t){function e(t){return w(t)?t:Q(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(M),k=function(t){function e(t){return m(t)&&!S(t)?t:Z(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(M);M.Keyed=E,M.Indexed=x,M.Set=k;var C="@@__IMMUTABLE_SEQ__@@";function j(t){return Boolean(t&&t[C])}var D="@@__IMMUTABLE_RECORD__@@";function O(t){return Boolean(t&&t[D])}function I(t){return m(t)||O(t)}var L="@@__IMMUTABLE_ORDERED__@@";function N(t){return Boolean(t&&t[L])}var A="function"==typeof Symbol&&Symbol.iterator,T=A||"@@iterator",z=function(t){this.next=t};function R(t,e,n,r){var o=0===t?e:1===t?n:[e,n];return r?r.value=o:r={value:o,done:!1},r}function P(){return{value:void 0,done:!0}}function B(t){return!!Array.isArray(t)||!!K(t)}function F(t){return t&&"function"==typeof t.next}function U(t){var e=K(t);return e&&e.call(t)}function K(t){var e=t&&(A&&t[A]||t["@@iterator"]);if("function"==typeof e)return e}z.prototype.toString=function(){return"[Iterator]"},z.KEYS=0,z.VALUES=1,z.ENTRIES=2,z.prototype.inspect=z.prototype.toSource=function(){return this.toString()},z.prototype[T]=function(){return this};var H=Object.prototype.hasOwnProperty;function q(t){return!(!Array.isArray(t)&&"string"!=typeof t)||t&&"object"==typeof t&&Number.isInteger(t.length)&&t.length>=0&&(0===t.length?1===Object.keys(t).length:t.hasOwnProperty(t.length-1))}var Y=function(t){function e(t){return null==t?$():I(t)?t.toSeq():function(t){var e,n,r=nt(t);if(r)return(n=K(e=t))&&n===e.entries?r.fromEntrySeq():function(t){var e=K(t);return e&&e===t.keys}(t)?r.toSetSeq():r;if("object"==typeof t)return new G(t);throw new TypeError("Expected Array or collection object of values, or keyed object: "+t)}(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toSeq=function(){return this},e.prototype.toString=function(){return this.__toString("Seq {","}")},e.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},e.prototype.__iterate=function(t,e){var n=this._cache;if(n){for(var r=n.length,o=0;o!==r;){var i=n[e?r-++o:o++];if(!1===t(i[1],i[0],this))break}return o}return this.__iterateUncached(t,e)},e.prototype.__iterator=function(t,e){var n=this._cache;if(n){var r=n.length,o=0;return new z((function(){if(o===r)return{value:void 0,done:!0};var i=n[e?r-++o:o++];return R(t,i[0],i[1])}))}return this.__iteratorUncached(t,e)},e}(M),W=function(t){function e(t){return null==t?$().toKeyedSeq():m(t)?b(t)?t.toSeq():t.fromEntrySeq():O(t)?t.toSeq():tt(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toKeyedSeq=function(){return this},e}(Y),Q=function(t){function e(t){return null==t?$():m(t)?b(t)?t.entrySeq():t.toIndexedSeq():O(t)?t.toSeq().entrySeq():et(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return e(arguments)},e.prototype.toIndexedSeq=function(){return this},e.prototype.toString=function(){return this.__toString("Seq [","]")},e}(Y),Z=function(t){function e(t){return(m(t)&&!S(t)?t:Q(t)).toSetSeq()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return e(arguments)},e.prototype.toSetSeq=function(){return this},e}(Y);Y.isSeq=j,Y.Keyed=W,Y.Set=Z,Y.Indexed=Q,Y.prototype[C]=!0;var V=function(t){function e(t){this._array=t,this.size=t.length}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t,e){return this.has(t)?this._array[u(this,t)]:e},e.prototype.__iterate=function(t,e){for(var n=this._array,r=n.length,o=0;o!==r;){var i=e?r-++o:o++;if(!1===t(n[i],i,this))break}return o},e.prototype.__iterator=function(t,e){var n=this._array,r=n.length,o=0;return new z((function(){if(o===r)return{value:void 0,done:!0};var i=e?r-++o:o++;return R(t,i,n[i])}))},e}(Q),G=function(t){function e(t){var e=Object.keys(t).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[]);this._object=t,this._keys=e,this.size=e.length}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},e.prototype.has=function(t){return H.call(this._object,t)},e.prototype.__iterate=function(t,e){for(var n=this._object,r=this._keys,o=r.length,i=0;i!==o;){var a=r[e?o-++i:i++];if(!1===t(n[a],a,this))break}return i},e.prototype.__iterator=function(t,e){var n=this._object,r=this._keys,o=r.length,i=0;return new z((function(){if(i===o)return{value:void 0,done:!0};var a=r[e?o-++i:i++];return R(t,a,n[a])}))},e}(W);G.prototype[L]=!0;var J,X=function(t){function e(t){this._collection=t,this.size=t.length||t.size}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=U(this._collection),r=0;if(F(n))for(var o;!(o=n.next()).done&&!1!==t(o.value,r++,this););return r},e.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=U(this._collection);if(!F(n))return new z(P);var r=0;return new z((function(){var e=n.next();return e.done?e:R(t,r++,e.value)}))},e}(Q);function $(){return J||(J=new V([]))}function tt(t){var e=nt(t);if(e)return e.fromEntrySeq();if("object"==typeof t)return new G(t);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+t)}function et(t){var e=nt(t);if(e)return e;throw new TypeError("Expected Array or collection object of values: "+t)}function nt(t){return q(t)?new V(t):B(t)?new X(t):void 0}var rt="@@__IMMUTABLE_MAP__@@";function ot(t){return Boolean(t&&t[rt])}function it(t){return ot(t)&&N(t)}function at(t){return Boolean(t&&"function"==typeof t.equals&&"function"==typeof t.hashCode)}function st(t,e){if(t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if((t=t.valueOf())===(e=e.valueOf())||t!=t&&e!=e)return!0;if(!t||!e)return!1}return!!(at(t)&&at(e)&&t.equals(e))}var ct="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){var n=65535&(t|=0),r=65535&(e|=0);return n*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0};function ut(t){return t>>>1&1073741824|3221225471&t}var lt=Object.prototype.valueOf;function pt(t){if(null==t)return ft(t);if("function"==typeof t.hashCode)return ut(t.hashCode(t));var e,n,r,o=(e=t).valueOf!==lt&&"function"==typeof e.valueOf?e.valueOf(e):e;if(null==o)return ft(o);switch(typeof o){case"boolean":return o?1108378657:1108378656;case"number":return function(t){if(t!=t||t===1/0)return 0;var e=0|t;for(e!==t&&(e^=4294967295*t);t>4294967295;)e^=t/=4294967295;return ut(e)}(o);case"string":return o.length>St?(void 0===(r=xt[n=o])&&(r=dt(n),Et===Mt&&(Et=0,xt={}),Et++,xt[n]=r),r):dt(o);case"object":case"function":return function(t){var e;if(vt&&void 0!==(e=mt.get(t)))return e;if(void 0!==(e=t[wt]))return e;if(!yt){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[wt]))return e;if(void 0!==(e=function(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}(t)))return e}if(e=gt(),vt)mt.set(t,e);else{if(void 0!==ht&&!1===ht(t))throw new Error("Non-extensible objects are not allowed as keys.");if(yt)Object.defineProperty(t,wt,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(void 0!==t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[wt]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[wt]=e}}return e}(o);case"symbol":return function(t){var e=bt[t];return void 0!==e||(e=gt(),bt[t]=e),e}(o);default:if("function"==typeof o.toString)return dt(o.toString());throw new Error("Value type "+typeof o+" cannot be hashed.")}}function ft(t){return null===t?1108378658:1108378659}function dt(t){for(var e=0,n=0;n<t.length;n++)e=31*e+t.charCodeAt(n)|0;return ut(e)}var ht=Object.isExtensible,yt=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}();function gt(){var t=++_t;return 1073741824&_t&&(_t=0),t}var mt,vt="function"==typeof WeakMap;vt&&(mt=new WeakMap);var bt=Object.create(null),_t=0,wt="__immutablehash__";"function"==typeof Symbol&&(wt=Symbol(wt));var St=16,Mt=255,Et=0,xt={},kt=function(t){function e(t,e){this._iter=t,this._useKeys=e,this.size=t.size}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t,e){return this._iter.get(t,e)},e.prototype.has=function(t){return this._iter.has(t)},e.prototype.valueSeq=function(){return this._iter.valueSeq()},e.prototype.reverse=function(){var t=this,e=Lt(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},e.prototype.map=function(t,e){var n=this,r=It(this,t,e);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(t,e)}),r},e.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate((function(e,r){return t(e,r,n)}),e)},e.prototype.__iterator=function(t,e){return this._iter.__iterator(t,e)},e}(W);kt.prototype[L]=!0;var Ct=function(t){function e(t){this._iter=t,this.size=t.size}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.includes=function(t){return this._iter.includes(t)},e.prototype.__iterate=function(t,e){var n=this,r=0;return e&&c(this),this._iter.__iterate((function(o){return t(o,e?n.size-++r:r++,n)}),e)},e.prototype.__iterator=function(t,e){var n=this,r=this._iter.__iterator(1,e),o=0;return e&&c(this),new z((function(){var i=r.next();return i.done?i:R(t,e?n.size-++o:o++,i.value,i)}))},e}(Q),jt=function(t){function e(t){this._iter=t,this.size=t.size}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.has=function(t){return this._iter.includes(t)},e.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate((function(e){return t(e,e,n)}),e)},e.prototype.__iterator=function(t,e){var n=this._iter.__iterator(1,e);return new z((function(){var e=n.next();return e.done?e:R(t,e.value,e.value,e)}))},e}(Z),Dt=function(t){function e(t){this._iter=t,this.size=t.size}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.entrySeq=function(){return this._iter.toSeq()},e.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate((function(e){if(e){Ht(e);var r=m(e);return t(r?e.get(1):e[1],r?e.get(0):e[0],n)}}),e)},e.prototype.__iterator=function(t,e){var n=this._iter.__iterator(1,e);return new z((function(){for(;;){var e=n.next();if(e.done)return e;var r=e.value;if(r){Ht(r);var o=m(r);return R(t,o?r.get(0):r[0],o?r.get(1):r[1],e)}}}))},e}(W);function Ot(t){var e=Yt(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=Wt,e.__iterateUncached=function(e,n){var r=this;return t.__iterate((function(t,n){return!1!==e(n,t,r)}),n)},e.__iteratorUncached=function(e,n){if(2===e){var r=t.__iterator(e,n);return new z((function(){var t=r.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t}))}return t.__iterator(1===e?0:1,n)},e}function It(t,e,n){var r=Yt(t);return r.size=t.size,r.has=function(e){return t.has(e)},r.get=function(r,o){var a=t.get(r,i);return a===i?o:e.call(n,a,r,t)},r.__iterateUncached=function(r,o){var i=this;return t.__iterate((function(t,o,a){return!1!==r(e.call(n,t,o,a),o,i)}),o)},r.__iteratorUncached=function(r,o){var i=t.__iterator(2,o);return new z((function(){var o=i.next();if(o.done)return o;var a=o.value,s=a[0];return R(r,s,e.call(n,a[1],s,t),o)}))},r}function Lt(t,e){var n=this,r=Yt(t);return r._iter=t,r.size=t.size,r.reverse=function(){return t},t.flip&&(r.flip=function(){var e=Ot(t);return e.reverse=function(){return t.flip()},e}),r.get=function(n,r){return t.get(e?n:-1-n,r)},r.has=function(n){return t.has(e?n:-1-n)},r.includes=function(e){return t.includes(e)},r.cacheResult=Wt,r.__iterate=function(n,r){var o=this,i=0;return r&&c(t),t.__iterate((function(t,a){return n(t,e?a:r?o.size-++i:i++,o)}),!r)},r.__iterator=function(r,o){var i=0;o&&c(t);var a=t.__iterator(2,!o);return new z((function(){var t=a.next();if(t.done)return t;var s=t.value;return R(r,e?s[0]:o?n.size-++i:i++,s[1],t)}))},r}function Nt(t,e,n,r){var o=Yt(t);return r&&(o.has=function(r){var o=t.get(r,i);return o!==i&&!!e.call(n,o,r,t)},o.get=function(r,o){var a=t.get(r,i);return a!==i&&e.call(n,a,r,t)?a:o}),o.__iterateUncached=function(o,i){var a=this,s=0;return t.__iterate((function(t,i,c){if(e.call(n,t,i,c))return s++,o(t,r?i:s-1,a)}),i),s},o.__iteratorUncached=function(o,i){var a=t.__iterator(2,i),s=0;return new z((function(){for(;;){var i=a.next();if(i.done)return i;var c=i.value,u=c[0],l=c[1];if(e.call(n,l,u,t))return R(o,r?u:s++,l,i)}}))},o}function At(t,e,n,r){var o=t.size;if(p(e,n,o))return t;var i=f(e,o),a=d(n,o);if(i!=i||a!=a)return At(t.toSeq().cacheResult(),e,n,r);var s,c=a-i;c==c&&(s=c<0?0:c);var l=Yt(t);return l.size=0===s?s:t.size&&s||void 0,!r&&j(t)&&s>=0&&(l.get=function(e,n){return(e=u(this,e))>=0&&e<s?t.get(e+i,n):n}),l.__iterateUncached=function(e,n){var o=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(e,n);var a=0,c=!0,u=0;return t.__iterate((function(t,n){if(!c||!(c=a++<i))return u++,!1!==e(t,r?n:u-1,o)&&u!==s})),u},l.__iteratorUncached=function(e,n){if(0!==s&&n)return this.cacheResult().__iterator(e,n);if(0===s)return new z(P);var o=t.__iterator(e,n),a=0,c=0;return new z((function(){for(;a++<i;)o.next();if(++c>s)return{value:void 0,done:!0};var t=o.next();return r||1===e||t.done?t:R(e,c-1,0===e?void 0:t.value[1],t)}))},l}function Tt(t,e,n,r){var o=Yt(t);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,c=0;return t.__iterate((function(t,i,u){if(!s||!(s=e.call(n,t,i,u)))return c++,o(t,r?i:c-1,a)})),c},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=t.__iterator(2,i),c=!0,u=0;return new z((function(){var t,i,l;do{if((t=s.next()).done)return r||1===o?t:R(o,u++,0===o?void 0:t.value[1],t);var p=t.value;i=p[0],l=p[1],c&&(c=e.call(n,l,i,a))}while(c);return 2===o?t:R(o,i,l,t)}))},o}function zt(t,e){var n=b(t),r=[t].concat(e).map((function(t){return m(t)?n&&(t=E(t)):t=n?tt(t):et(Array.isArray(t)?t:[t]),t})).filter((function(t){return 0!==t.size}));if(0===r.length)return t;if(1===r.length){var o=r[0];if(o===t||n&&b(o)||w(t)&&w(o))return o}var i=new V(r);return n?i=i.toKeyedSeq():w(t)||(i=i.toSetSeq()),(i=i.flatten(!0)).size=r.reduce((function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}}),0),i}function Rt(t,e,n){var r=Yt(t);return r.__iterateUncached=function(o,i){if(i)return this.cacheResult().__iterate(o,i);var a=0,s=!1;return function t(c,u){c.__iterate((function(i,c){return(!e||u<e)&&m(i)?t(i,u+1):(a++,!1===o(i,n?c:a-1,r)&&(s=!0)),!s}),i)}(t,0),a},r.__iteratorUncached=function(r,o){if(o)return this.cacheResult().__iterator(r,o);var i=t.__iterator(r,o),a=[],s=0;return new z((function(){for(;i;){var t=i.next();if(!1===t.done){var c=t.value;if(2===r&&(c=c[1]),e&&!(a.length<e)||!m(c))return n?t:R(r,s++,c,t);a.push(i),i=c.__iterator(r,o)}else i=a.pop()}return{value:void 0,done:!0}}))},r}function Pt(t,e,n){e||(e=Qt);var r=b(t),o=0,i=t.toSeq().map((function(e,r){return[r,e,o++,n?n(e,r,t):e]})).valueSeq().toArray();return i.sort((function(t,n){return e(t[3],n[3])||t[2]-n[2]})).forEach(r?function(t,e){i[e].length=2}:function(t,e){i[e]=t[1]}),r?W(i):w(t)?Q(i):Z(i)}function Bt(t,e,n){if(e||(e=Qt),n){var r=t.toSeq().map((function(e,r){return[e,n(e,r,t)]})).reduce((function(t,n){return Ft(e,t[1],n[1])?n:t}));return r&&r[0]}return t.reduce((function(t,n){return Ft(e,t,n)?n:t}))}function Ft(t,e,n){var r=t(n,e);return 0===r&&n!==e&&(null==n||n!=n)||r>0}function Ut(t,e,n,r){var o=Yt(t),i=new V(n).map((function(t){return t.size}));return o.size=r?i.max():i.min(),o.__iterate=function(t,e){for(var n,r=this.__iterator(1,e),o=0;!(n=r.next()).done&&!1!==t(n.value,o++,this););return o},o.__iteratorUncached=function(t,o){var i=n.map((function(t){return t=M(t),U(o?t.reverse():t)})),a=0,s=!1;return new z((function(){var n;return s||(n=i.map((function(t){return t.next()})),s=r?n.every((function(t){return t.done})):n.some((function(t){return t.done}))),s?{value:void 0,done:!0}:R(t,a++,e.apply(null,n.map((function(t){return t.value}))))}))},o}function Kt(t,e){return t===e?t:j(t)?e:t.constructor(e)}function Ht(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function qt(t){return b(t)?E:w(t)?x:k}function Yt(t){return Object.create((b(t)?W:w(t)?Q:Z).prototype)}function Wt(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):Y.prototype.cacheResult.call(this)}function Qt(t,e){return void 0===t&&void 0===e?0:void 0===t?1:void 0===e?-1:t>e?1:t<e?-1:0}function Zt(t,e){e=e||0;for(var n=Math.max(0,t.length-e),r=new Array(n),o=0;o<n;o++)r[o]=t[o+e];return r}function Vt(t,e){if(!t)throw new Error(e)}function Gt(t){Vt(t!==1/0,"Cannot perform this action with an infinite size.")}function Jt(t){if(q(t)&&"string"!=typeof t)return t;if(N(t))return t.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+t)}Ct.prototype.cacheResult=kt.prototype.cacheResult=jt.prototype.cacheResult=Dt.prototype.cacheResult=Wt;var Xt=Object.prototype.toString;function $t(t){if(!t||"object"!=typeof t||"[object Object]"!==Xt.call(t))return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var n=e,r=Object.getPrototypeOf(e);null!==r;)n=r,r=Object.getPrototypeOf(n);return n===e}function te(t){return"object"==typeof t&&(I(t)||Array.isArray(t)||$t(t))}function ee(t){try{return"string"==typeof t?JSON.stringify(t):String(t)}catch(e){return JSON.stringify(t)}}function ne(t,e){return I(t)?t.has(e):te(t)&&H.call(t,e)}function re(t,e,n){return I(t)?t.get(e,n):ne(t,e)?"function"==typeof t.get?t.get(e):t[e]:n}function oe(t){if(Array.isArray(t))return Zt(t);var e={};for(var n in t)H.call(t,n)&&(e[n]=t[n]);return e}function ie(t,e){if(!te(t))throw new TypeError("Cannot update non-data-structure value: "+t);if(I(t)){if(!t.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+t);return t.remove(e)}if(!H.call(t,e))return t;var n=oe(t);return Array.isArray(n)?n.splice(e,1):delete n[e],n}function ae(t,e,n){if(!te(t))throw new TypeError("Cannot update non-data-structure value: "+t);if(I(t)){if(!t.set)throw new TypeError("Cannot update immutable value without .set() method: "+t);return t.set(e,n)}if(H.call(t,e)&&n===t[e])return t;var r=oe(t);return r[e]=n,r}function se(t,e,n,r){r||(r=n,n=void 0);var o=ce(I(t),t,Jt(e),0,n,r);return o===i?n:o}function ce(t,e,n,r,o,a){var s=e===i;if(r===n.length){var c=s?o:e,u=a(c);return u===c?e:u}if(!s&&!te(e))throw new TypeError("Cannot update within non-data-structure value in path ["+n.slice(0,r).map(ee)+"]: "+e);var l=n[r],p=s?i:re(e,l,i),f=ce(p===i?t:I(p),p,n,r+1,o,a);return f===p?e:f===i?ie(e,l):ae(s?t?Ye():{}:e,l,f)}function ue(t,e,n){return se(t,e,i,(function(){return n}))}function le(t,e){return ue(this,t,e)}function pe(t,e){return se(t,e,(function(){return i}))}function fe(t){return pe(this,t)}function de(t,e,n,r){return se(t,[e],n,r)}function he(t,e,n){return 1===arguments.length?t(this):de(this,t,e,n)}function ye(t,e,n){return se(this,t,e,n)}function ge(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return ve(this,t)}function me(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];if("function"!=typeof t)throw new TypeError("Invalid merger function: "+t);return ve(this,e,t)}function ve(t,e,n){for(var r=[],o=0;o<e.length;o++){var a=E(e[o]);0!==a.size&&r.push(a)}return 0===r.length?t:0!==t.toSeq().size||t.__ownerID||1!==r.length?t.withMutations((function(t){for(var e=n?function(e,r){de(t,r,i,(function(t){return t===i?e:n(t,e,r)}))}:function(e,n){t.set(n,e)},o=0;o<r.length;o++)r[o].forEach(e)})):t.constructor(r[0])}function be(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];return Ee(t,e)}function _e(t,e){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];return Ee(e,n,t)}function we(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];return Me(t,e)}function Se(t,e){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];return Me(e,n,t)}function Me(t,e,n){return Ee(t,e,function(t){return function e(n,r,o){return te(n)&&te(r)&&(i=r,a=Y(n),s=Y(i),w(a)===w(s)&&b(a)===b(s))?Ee(n,[r],e):t?t(n,r,o):r;var i,a,s}}(n))}function Ee(t,e,n){if(!te(t))throw new TypeError("Cannot merge into non-data-structure value: "+t);if(I(t))return"function"==typeof n&&t.mergeWith?t.mergeWith.apply(t,[n].concat(e)):t.merge?t.merge.apply(t,e):t.concat.apply(t,e);for(var r=Array.isArray(t),o=t,i=r?x:E,a=r?function(e){o===t&&(o=oe(o)),o.push(e)}:function(e,r){var i=H.call(o,r),a=i&&n?n(o[r],e,r):e;i&&a===o[r]||(o===t&&(o=oe(o)),o[r]=a)},s=0;s<e.length;s++)i(e[s]).forEach(a);return o}function xe(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return Me(this,t)}function ke(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];return Me(this,e,t)}function Ce(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];return se(this,t,Ye(),(function(t){return Ee(t,e)}))}function je(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];return se(this,t,Ye(),(function(t){return Me(t,e)}))}function De(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this}function Oe(){return this.__ownerID?this:this.__ensureOwner(new s)}function Ie(){return this.__ensureOwner()}function Le(){return this.__altered}var Ne=function(t){function e(e){return null==e?Ye():ot(e)&&!N(e)?e:Ye().withMutations((function(n){var r=t(e);Gt(r.size),r.forEach((function(t,e){return n.set(e,t)}))}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return Ye().withMutations((function(e){for(var n=0;n<t.length;n+=2){if(n+1>=t.length)throw new Error("Missing value for key: "+t[n]);e.set(t[n],t[n+1])}}))},e.prototype.toString=function(){return this.__toString("Map {","}")},e.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},e.prototype.set=function(t,e){return We(this,t,e)},e.prototype.remove=function(t){return We(this,t,i)},e.prototype.deleteAll=function(t){var e=M(t);return 0===e.size?this:this.withMutations((function(t){e.forEach((function(e){return t.remove(e)}))}))},e.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Ye()},e.prototype.sort=function(t){return vn(Pt(this,t))},e.prototype.sortBy=function(t,e){return vn(Pt(this,e,t))},e.prototype.map=function(t,e){var n=this;return this.withMutations((function(r){r.forEach((function(o,i){r.set(i,t.call(e,o,i,n))}))}))},e.prototype.__iterator=function(t,e){return new Ue(this,t,e)},e.prototype.__iterate=function(t,e){var n=this,r=0;return this._root&&this._root.iterate((function(e){return r++,t(e[1],e[0],n)}),e),r},e.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?qe(this.size,this._root,t,this.__hash):0===this.size?Ye():(this.__ownerID=t,this.__altered=!1,this)},e}(E);Ne.isMap=ot;var Ae=Ne.prototype;Ae[rt]=!0,Ae.delete=Ae.remove,Ae.removeAll=Ae.deleteAll,Ae.setIn=le,Ae.removeIn=Ae.deleteIn=fe,Ae.update=he,Ae.updateIn=ye,Ae.merge=Ae.concat=ge,Ae.mergeWith=me,Ae.mergeDeep=xe,Ae.mergeDeepWith=ke,Ae.mergeIn=Ce,Ae.mergeDeepIn=je,Ae.withMutations=De,Ae.wasAltered=Le,Ae.asImmutable=Ie,Ae["@@transducer/init"]=Ae.asMutable=Oe,Ae["@@transducer/step"]=function(t,e){return t.set(e[0],e[1])},Ae["@@transducer/result"]=function(t){return t.asImmutable()};var Te=function(t,e){this.ownerID=t,this.entries=e};Te.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(st(n,o[i][0]))return o[i][1];return r},Te.prototype.update=function(t,e,n,r,o,c,u){for(var l=o===i,p=this.entries,f=0,d=p.length;f<d&&!st(r,p[f][0]);f++);var h=f<d;if(h?p[f][1]===o:l)return this;if(a(u),(l||!h)&&a(c),!l||1!==p.length){if(!h&&!l&&p.length>=Xe)return function(t,e,n,r){t||(t=new s);for(var o=new Be(t,pt(n),[n,r]),i=0;i<e.length;i++){var a=e[i];o=o.update(t,0,void 0,a[0],a[1])}return o}(t,p,r,o);var y=t&&t===this.ownerID,g=y?p:Zt(p);return h?l?f===d-1?g.pop():g[f]=g.pop():g[f]=[r,o]:g.push([r,o]),y?(this.entries=g,this):new Te(t,g)}};var ze=function(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n};ze.prototype.get=function(t,e,n,r){void 0===e&&(e=pt(n));var i=1<<((0===t?e:e>>>t)&o),a=this.bitmap;return 0==(a&i)?r:this.nodes[Ge(a&i-1)].get(t+5,e,n,r)},ze.prototype.update=function(t,e,n,a,s,c,u){void 0===n&&(n=pt(a));var l=(0===e?n:n>>>e)&o,p=1<<l,f=this.bitmap,d=0!=(f&p);if(!d&&s===i)return this;var h=Ge(f&p-1),y=this.nodes,g=d?y[h]:void 0,m=Qe(g,t,e+5,n,a,s,c,u);if(m===g)return this;if(!d&&m&&y.length>=$e)return function(t,e,n,o,i){for(var a=0,s=new Array(r),c=0;0!==n;c++,n>>>=1)s[c]=1&n?e[a++]:void 0;return s[o]=i,new Re(t,a+1,s)}(t,y,f,l,m);if(d&&!m&&2===y.length&&Ze(y[1^h]))return y[1^h];if(d&&m&&1===y.length&&Ze(m))return m;var v=t&&t===this.ownerID,b=d?m?f:f^p:f|p,_=d?m?Je(y,h,m,v):function(t,e,n){var r=t.length-1;if(n&&e===r)return t.pop(),t;for(var o=new Array(r),i=0,a=0;a<r;a++)a===e&&(i=1),o[a]=t[a+i];return o}(y,h,v):function(t,e,n,r){var o=t.length+1;if(r&&e+1===o)return t[e]=n,t;for(var i=new Array(o),a=0,s=0;s<o;s++)s===e?(i[s]=n,a=-1):i[s]=t[s+a];return i}(y,h,m,v);return v?(this.bitmap=b,this.nodes=_,this):new ze(t,b,_)};var Re=function(t,e,n){this.ownerID=t,this.count=e,this.nodes=n};Re.prototype.get=function(t,e,n,r){void 0===e&&(e=pt(n));var i=(0===t?e:e>>>t)&o,a=this.nodes[i];return a?a.get(t+5,e,n,r):r},Re.prototype.update=function(t,e,n,r,a,s,c){void 0===n&&(n=pt(r));var u=(0===e?n:n>>>e)&o,l=a===i,p=this.nodes,f=p[u];if(l&&!f)return this;var d=Qe(f,t,e+5,n,r,a,s,c);if(d===f)return this;var h=this.count;if(f){if(!d&&--h<tn)return function(t,e,n,r){for(var o=0,i=0,a=new Array(n),s=0,c=1,u=e.length;s<u;s++,c<<=1){var l=e[s];void 0!==l&&s!==r&&(o|=c,a[i++]=l)}return new ze(t,o,a)}(t,p,h,u)}else h++;var y=t&&t===this.ownerID,g=Je(p,u,d,y);return y?(this.count=h,this.nodes=g,this):new Re(t,h,g)};var Pe=function(t,e,n){this.ownerID=t,this.keyHash=e,this.entries=n};Pe.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(st(n,o[i][0]))return o[i][1];return r},Pe.prototype.update=function(t,e,n,r,o,s,c){void 0===n&&(n=pt(r));var u=o===i;if(n!==this.keyHash)return u?this:(a(c),a(s),Ve(this,t,e,n,[r,o]));for(var l=this.entries,p=0,f=l.length;p<f&&!st(r,l[p][0]);p++);var d=p<f;if(d?l[p][1]===o:u)return this;if(a(c),(u||!d)&&a(s),u&&2===f)return new Be(t,this.keyHash,l[1^p]);var h=t&&t===this.ownerID,y=h?l:Zt(l);return d?u?p===f-1?y.pop():y[p]=y.pop():y[p]=[r,o]:y.push([r,o]),h?(this.entries=y,this):new Pe(t,this.keyHash,y)};var Be=function(t,e,n){this.ownerID=t,this.keyHash=e,this.entry=n};Be.prototype.get=function(t,e,n,r){return st(n,this.entry[0])?this.entry[1]:r},Be.prototype.update=function(t,e,n,r,o,s,c){var u=o===i,l=st(r,this.entry[0]);return(l?o===this.entry[1]:u)?this:(a(c),u?void a(s):l?t&&t===this.ownerID?(this.entry[1]=o,this):new Be(t,this.keyHash,[r,o]):(a(s),Ve(this,t,e,pt(r),[r,o])))},Te.prototype.iterate=Pe.prototype.iterate=function(t,e){for(var n=this.entries,r=0,o=n.length-1;r<=o;r++)if(!1===t(n[e?o-r:r]))return!1},ze.prototype.iterate=Re.prototype.iterate=function(t,e){for(var n=this.nodes,r=0,o=n.length-1;r<=o;r++){var i=n[e?o-r:r];if(i&&!1===i.iterate(t,e))return!1}},Be.prototype.iterate=function(t,e){return t(this.entry)};var Fe,Ue=function(t){function e(t,e,n){this._type=e,this._reverse=n,this._stack=t._root&&He(t._root)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.next=function(){for(var t=this._type,e=this._stack;e;){var n=e.node,r=e.index++,o=void 0;if(n.entry){if(0===r)return Ke(t,n.entry)}else if(n.entries){if(r<=(o=n.entries.length-1))return Ke(t,n.entries[this._reverse?o-r:r])}else if(r<=(o=n.nodes.length-1)){var i=n.nodes[this._reverse?o-r:r];if(i){if(i.entry)return Ke(t,i.entry);e=this._stack=He(i,e)}continue}e=this._stack=this._stack.__prev}return{value:void 0,done:!0}},e}(z);function Ke(t,e){return R(t,e[0],e[1])}function He(t,e){return{node:t,index:0,__prev:e}}function qe(t,e,n,r){var o=Object.create(Ae);return o.size=t,o._root=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Ye(){return Fe||(Fe=qe(0))}function We(t,e,n){var r,o;if(t._root){var a={value:!1},s={value:!1};if(r=Qe(t._root,t.__ownerID,0,void 0,e,n,a,s),!s.value)return t;o=t.size+(a.value?n===i?-1:1:0)}else{if(n===i)return t;o=1,r=new Te(t.__ownerID,[[e,n]])}return t.__ownerID?(t.size=o,t._root=r,t.__hash=void 0,t.__altered=!0,t):r?qe(o,r):Ye()}function Qe(t,e,n,r,o,s,c,u){return t?t.update(e,n,r,o,s,c,u):s===i?t:(a(u),a(c),new Be(e,r,[o,s]))}function Ze(t){return t.constructor===Be||t.constructor===Pe}function Ve(t,e,n,r,i){if(t.keyHash===r)return new Pe(e,r,[t.entry,i]);var a,s=(0===n?t.keyHash:t.keyHash>>>n)&o,c=(0===n?r:r>>>n)&o,u=s===c?[Ve(t,e,n+5,r,i)]:(a=new Be(e,r,i),s<c?[t,a]:[a,t]);return new ze(e,1<<s|1<<c,u)}function Ge(t){return t=(t=(858993459&(t-=t>>1&1431655765))+(t>>2&858993459))+(t>>4)&252645135,127&(t+=t>>8)+(t>>16)}function Je(t,e,n,r){var o=r?t:Zt(t);return o[e]=n,o}var Xe=8,$e=16,tn=8,en="@@__IMMUTABLE_LIST__@@";function nn(t){return Boolean(t&&t[en])}var rn=function(t){function e(e){var n=pn();if(null==e)return n;if(nn(e))return e;var o=t(e),i=o.size;return 0===i?n:(Gt(i),i>0&&i<r?ln(0,i,5,null,new an(o.toArray())):n.withMutations((function(t){t.setSize(i),o.forEach((function(e,n){return t.set(n,e)}))})))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.prototype.toString=function(){return this.__toString("List [","]")},e.prototype.get=function(t,e){if((t=u(this,t))>=0&&t<this.size){var n=hn(this,t+=this._origin);return n&&n.array[t&o]}return e},e.prototype.set=function(t,e){return function(t,e,n){if((e=u(t,e))!=e)return t;if(e>=t.size||e<0)return t.withMutations((function(t){e<0?yn(t,e).set(0,n):yn(t,0,e+1).set(e,n)}));e+=t._origin;var r=t._tail,o=t._root,i={value:!1};return e>=gn(t._capacity)?r=fn(r,t.__ownerID,0,e,n,i):o=fn(o,t.__ownerID,t._level,e,n,i),i.value?t.__ownerID?(t._root=o,t._tail=r,t.__hash=void 0,t.__altered=!0,t):ln(t._origin,t._capacity,t._level,o,r):t}(this,t,e)},e.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},e.prototype.insert=function(t,e){return this.splice(t,0,e)},e.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=5,this._root=this._tail=this.__hash=void 0,this.__altered=!0,this):pn()},e.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations((function(n){yn(n,0,e+t.length);for(var r=0;r<t.length;r++)n.set(e+r,t[r])}))},e.prototype.pop=function(){return yn(this,0,-1)},e.prototype.unshift=function(){var t=arguments;return this.withMutations((function(e){yn(e,-t.length);for(var n=0;n<t.length;n++)e.set(n,t[n])}))},e.prototype.shift=function(){return yn(this,1)},e.prototype.concat=function(){for(var e=arguments,n=[],r=0;r<arguments.length;r++){var o=e[r],i=t("string"!=typeof o&&B(o)?o:[o]);0!==i.size&&n.push(i)}return 0===n.length?this:0!==this.size||this.__ownerID||1!==n.length?this.withMutations((function(t){n.forEach((function(e){return e.forEach((function(e){return t.push(e)}))}))})):this.constructor(n[0])},e.prototype.setSize=function(t){return yn(this,0,t)},e.prototype.map=function(t,e){var n=this;return this.withMutations((function(r){for(var o=0;o<n.size;o++)r.set(o,t.call(e,r.get(o),o,n))}))},e.prototype.slice=function(t,e){var n=this.size;return p(t,e,n)?this:yn(this,f(t,n),d(e,n))},e.prototype.__iterator=function(t,e){var n=e?this.size:0,r=un(this,e);return new z((function(){var o=r();return o===cn?{value:void 0,done:!0}:R(t,e?--n:n++,o)}))},e.prototype.__iterate=function(t,e){for(var n,r=e?this.size:0,o=un(this,e);(n=o())!==cn&&!1!==t(n,e?--r:r++,this););return r},e.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?ln(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):0===this.size?pn():(this.__ownerID=t,this.__altered=!1,this)},e}(x);rn.isList=nn;var on=rn.prototype;on[en]=!0,on.delete=on.remove,on.merge=on.concat,on.setIn=le,on.deleteIn=on.removeIn=fe,on.update=he,on.updateIn=ye,on.mergeIn=Ce,on.mergeDeepIn=je,on.withMutations=De,on.wasAltered=Le,on.asImmutable=Ie,on["@@transducer/init"]=on.asMutable=Oe,on["@@transducer/step"]=function(t,e){return t.push(e)},on["@@transducer/result"]=function(t){return t.asImmutable()};var an=function(t,e){this.array=t,this.ownerID=e};an.prototype.removeBefore=function(t,e,n){if(n===e?1<<e:0===this.array.length)return this;var r=n>>>e&o;if(r>=this.array.length)return new an([],t);var i,a=0===r;if(e>0){var s=this.array[r];if((i=s&&s.removeBefore(t,e-5,n))===s&&a)return this}if(a&&!i)return this;var c=dn(this,t);if(!a)for(var u=0;u<r;u++)c.array[u]=void 0;return i&&(c.array[r]=i),c},an.prototype.removeAfter=function(t,e,n){if(n===(e?1<<e:0)||0===this.array.length)return this;var r,i=n-1>>>e&o;if(i>=this.array.length)return this;if(e>0){var a=this.array[i];if((r=a&&a.removeAfter(t,e-5,n))===a&&i===this.array.length-1)return this}var s=dn(this,t);return s.array.splice(i+1),r&&(s.array[i]=r),s};var sn,cn={};function un(t,e){var n=t._origin,o=t._capacity,i=gn(o),a=t._tail;return function t(s,c,u){return 0===c?function(t,s){var c=s===i?a&&a.array:t&&t.array,u=s>n?0:n-s,l=o-s;return l>r&&(l=r),function(){if(u===l)return cn;var t=e?--l:u++;return c&&c[t]}}(s,u):function(i,a,s){var c,u=i&&i.array,l=s>n?0:n-s>>a,p=1+(o-s>>a);return p>r&&(p=r),function(){for(;;){if(c){var n=c();if(n!==cn)return n;c=null}if(l===p)return cn;var r=e?--p:l++;c=t(u&&u[r],a-5,s+(r<<a))}}}(s,c,u)}(t._root,t._level,0)}function ln(t,e,n,r,o,i,a){var s=Object.create(on);return s.size=e-t,s._origin=t,s._capacity=e,s._level=n,s._root=r,s._tail=o,s.__ownerID=i,s.__hash=a,s.__altered=!1,s}function pn(){return sn||(sn=ln(0,0,5))}function fn(t,e,n,r,i,s){var c,u=r>>>n&o,l=t&&u<t.array.length;if(!l&&void 0===i)return t;if(n>0){var p=t&&t.array[u],f=fn(p,e,n-5,r,i,s);return f===p?t:((c=dn(t,e)).array[u]=f,c)}return l&&t.array[u]===i?t:(s&&a(s),c=dn(t,e),void 0===i&&u===c.array.length-1?c.array.pop():c.array[u]=i,c)}function dn(t,e){return e&&t&&e===t.ownerID?t:new an(t?t.array.slice():[],e)}function hn(t,e){if(e>=gn(t._capacity))return t._tail;if(e<1<<t._level+5){for(var n=t._root,r=t._level;n&&r>0;)n=n.array[e>>>r&o],r-=5;return n}}function yn(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0);var r=t.__ownerID||new s,i=t._origin,a=t._capacity,c=i+e,u=void 0===n?a:n<0?a+n:i+n;if(c===i&&u===a)return t;if(c>=u)return t.clear();for(var l=t._level,p=t._root,f=0;c+f<0;)p=new an(p&&p.array.length?[void 0,p]:[],r),f+=1<<(l+=5);f&&(c+=f,i+=f,u+=f,a+=f);for(var d=gn(a),h=gn(u);h>=1<<l+5;)p=new an(p&&p.array.length?[p]:[],r),l+=5;var y=t._tail,g=h<d?hn(t,u-1):h>d?new an([],r):y;if(y&&h>d&&c<a&&y.array.length){for(var m=p=dn(p,r),v=l;v>5;v-=5){var b=d>>>v&o;m=m.array[b]=dn(m.array[b],r)}m.array[d>>>5&o]=y}if(u<a&&(g=g&&g.removeAfter(r,0,u)),c>=h)c-=h,u-=h,l=5,p=null,g=g&&g.removeBefore(r,0,c);else if(c>i||h<d){for(f=0;p;){var _=c>>>l&o;if(_!==h>>>l&o)break;_&&(f+=(1<<l)*_),l-=5,p=p.array[_]}p&&c>i&&(p=p.removeBefore(r,l,c-f)),p&&h<d&&(p=p.removeAfter(r,l,h-f)),f&&(c-=f,u-=f)}return t.__ownerID?(t.size=u-c,t._origin=c,t._capacity=u,t._level=l,t._root=p,t._tail=g,t.__hash=void 0,t.__altered=!0,t):ln(c,u,l,p,g)}function gn(t){return t<r?0:t-1>>>5<<5}var mn,vn=function(t){function e(t){return null==t?_n():it(t)?t:_n().withMutations((function(e){var n=E(t);Gt(n.size),n.forEach((function(t,n){return e.set(n,t)}))}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.prototype.toString=function(){return this.__toString("OrderedMap {","}")},e.prototype.get=function(t,e){var n=this._map.get(t);return void 0!==n?this._list.get(n)[1]:e},e.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this.__altered=!0,this):_n()},e.prototype.set=function(t,e){return wn(this,t,e)},e.prototype.remove=function(t){return wn(this,t,i)},e.prototype.__iterate=function(t,e){var n=this;return this._list.__iterate((function(e){return e&&t(e[1],e[0],n)}),e)},e.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},e.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),n=this._list.__ensureOwner(t);return t?bn(e,n,t,this.__hash):0===this.size?_n():(this.__ownerID=t,this.__altered=!1,this._map=e,this._list=n,this)},e}(Ne);function bn(t,e,n,r){var o=Object.create(vn.prototype);return o.size=t?t.size:0,o._map=t,o._list=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function _n(){return mn||(mn=bn(Ye(),pn()))}function wn(t,e,n){var o,a,s=t._map,c=t._list,u=s.get(e),l=void 0!==u;if(n===i){if(!l)return t;c.size>=r&&c.size>=2*s.size?(o=(a=c.filter((function(t,e){return void 0!==t&&u!==e}))).toKeyedSeq().map((function(t){return t[0]})).flip().toMap(),t.__ownerID&&(o.__ownerID=a.__ownerID=t.__ownerID)):(o=s.remove(e),a=u===c.size-1?c.pop():c.set(u,void 0))}else if(l){if(n===c.get(u)[1])return t;o=s,a=c.set(u,[e,n])}else o=s.set(e,c.size),a=c.set(c.size,[e,n]);return t.__ownerID?(t.size=o.size,t._map=o,t._list=a,t.__hash=void 0,t.__altered=!0,t):bn(o,a)}vn.isOrderedMap=it,vn.prototype[L]=!0,vn.prototype.delete=vn.prototype.remove;var Sn="@@__IMMUTABLE_STACK__@@";function Mn(t){return Boolean(t&&t[Sn])}var En=function(t){function e(t){return null==t?jn():Mn(t)?t:jn().pushAll(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.prototype.toString=function(){return this.__toString("Stack [","]")},e.prototype.get=function(t,e){var n=this._head;for(t=u(this,t);n&&t--;)n=n.next;return n?n.value:e},e.prototype.peek=function(){return this._head&&this._head.value},e.prototype.push=function(){var t=arguments;if(0===arguments.length)return this;for(var e=this.size+arguments.length,n=this._head,r=arguments.length-1;r>=0;r--)n={value:t[r],next:n};return this.__ownerID?(this.size=e,this._head=n,this.__hash=void 0,this.__altered=!0,this):Cn(e,n)},e.prototype.pushAll=function(e){if(0===(e=t(e)).size)return this;if(0===this.size&&Mn(e))return e;Gt(e.size);var n=this.size,r=this._head;return e.__iterate((function(t){n++,r={value:t,next:r}}),!0),this.__ownerID?(this.size=n,this._head=r,this.__hash=void 0,this.__altered=!0,this):Cn(n,r)},e.prototype.pop=function(){return this.slice(1)},e.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):jn()},e.prototype.slice=function(e,n){if(p(e,n,this.size))return this;var r=f(e,this.size);if(d(n,this.size)!==this.size)return t.prototype.slice.call(this,e,n);for(var o=this.size-r,i=this._head;r--;)i=i.next;return this.__ownerID?(this.size=o,this._head=i,this.__hash=void 0,this.__altered=!0,this):Cn(o,i)},e.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Cn(this.size,this._head,t,this.__hash):0===this.size?jn():(this.__ownerID=t,this.__altered=!1,this)},e.prototype.__iterate=function(t,e){var n=this;if(e)return new V(this.toArray()).__iterate((function(e,r){return t(e,r,n)}),e);for(var r=0,o=this._head;o&&!1!==t(o.value,r++,this);)o=o.next;return r},e.prototype.__iterator=function(t,e){if(e)return new V(this.toArray()).__iterator(t,e);var n=0,r=this._head;return new z((function(){if(r){var e=r.value;return r=r.next,R(t,n++,e)}return{value:void 0,done:!0}}))},e}(x);En.isStack=Mn;var xn,kn=En.prototype;function Cn(t,e,n,r){var o=Object.create(kn);return o.size=t,o._head=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function jn(){return xn||(xn=Cn(0))}kn[Sn]=!0,kn.shift=kn.pop,kn.unshift=kn.push,kn.unshiftAll=kn.pushAll,kn.withMutations=De,kn.wasAltered=Le,kn.asImmutable=Ie,kn["@@transducer/init"]=kn.asMutable=Oe,kn["@@transducer/step"]=function(t,e){return t.unshift(e)},kn["@@transducer/result"]=function(t){return t.asImmutable()};var Dn="@@__IMMUTABLE_SET__@@";function On(t){return Boolean(t&&t[Dn])}function In(t){return On(t)&&N(t)}function Ln(t,e){if(t===e)return!0;if(!m(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||b(t)!==b(e)||w(t)!==w(e)||N(t)!==N(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!S(t);if(N(t)){var r=t.entries();return e.every((function(t,e){var o=r.next().value;return o&&st(o[1],t)&&(n||st(o[0],e))}))&&r.next().done}var o=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{o=!0;var a=t;t=e,e=a}var s=!0,c=e.__iterate((function(e,r){if(n?!t.has(e):o?!st(e,t.get(r,i)):!st(t.get(r,i),e))return s=!1,!1}));return s&&t.size===c}function Nn(t,e){var n=function(n){t.prototype[n]=e[n]};return Object.keys(e).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n),t}function An(t){if(!t||"object"!=typeof t)return t;if(!m(t)){if(!te(t))return t;t=Y(t)}if(b(t)){var e={};return t.__iterate((function(t,n){e[n]=An(t)})),e}var n=[];return t.__iterate((function(t){n.push(An(t))})),n}var Tn=function(t){function e(e){return null==e?Fn():On(e)&&!N(e)?e:Fn().withMutations((function(n){var r=t(e);Gt(r.size),r.forEach((function(t){return n.add(t)}))}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.fromKeys=function(t){return this(E(t).keySeq())},e.intersect=function(t){return(t=M(t).toArray()).length?Rn.intersect.apply(e(t.pop()),t):Fn()},e.union=function(t){return(t=M(t).toArray()).length?Rn.union.apply(e(t.pop()),t):Fn()},e.prototype.toString=function(){return this.__toString("Set {","}")},e.prototype.has=function(t){return this._map.has(t)},e.prototype.add=function(t){return Pn(this,this._map.set(t,t))},e.prototype.remove=function(t){return Pn(this,this._map.remove(t))},e.prototype.clear=function(){return Pn(this,this._map.clear())},e.prototype.map=function(t,e){var n=this,r=!1,o=Pn(this,this._map.mapEntries((function(o){var i=o[1],a=t.call(e,i,i,n);return a!==i&&(r=!0),[a,a]}),e));return r?o:this},e.prototype.union=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];return 0===(e=e.filter((function(t){return 0!==t.size}))).length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations((function(n){for(var r=0;r<e.length;r++)t(e[r]).forEach((function(t){return n.add(t)}))})):this.constructor(e[0])},e.prototype.intersect=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];if(0===e.length)return this;e=e.map((function(e){return t(e)}));var r=[];return this.forEach((function(t){e.every((function(e){return e.includes(t)}))||r.push(t)})),this.withMutations((function(t){r.forEach((function(e){t.remove(e)}))}))},e.prototype.subtract=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];if(0===e.length)return this;e=e.map((function(e){return t(e)}));var r=[];return this.forEach((function(t){e.some((function(e){return e.includes(t)}))&&r.push(t)})),this.withMutations((function(t){r.forEach((function(e){t.remove(e)}))}))},e.prototype.sort=function(t){return ir(Pt(this,t))},e.prototype.sortBy=function(t,e){return ir(Pt(this,e,t))},e.prototype.wasAltered=function(){return this._map.wasAltered()},e.prototype.__iterate=function(t,e){var n=this;return this._map.__iterate((function(e){return t(e,e,n)}),e)},e.prototype.__iterator=function(t,e){return this._map.__iterator(t,e)},e.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t);return t?this.__make(e,t):0===this.size?this.__empty():(this.__ownerID=t,this._map=e,this)},e}(k);Tn.isSet=On;var zn,Rn=Tn.prototype;function Pn(t,e){return t.__ownerID?(t.size=e.size,t._map=e,t):e===t._map?t:0===e.size?t.__empty():t.__make(e)}function Bn(t,e){var n=Object.create(Rn);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function Fn(){return zn||(zn=Bn(Ye()))}Rn[Dn]=!0,Rn.delete=Rn.remove,Rn.merge=Rn.concat=Rn.union,Rn.withMutations=De,Rn.asImmutable=Ie,Rn["@@transducer/init"]=Rn.asMutable=Oe,Rn["@@transducer/step"]=function(t,e){return t.add(e)},Rn["@@transducer/result"]=function(t){return t.asImmutable()},Rn.__empty=Fn,Rn.__make=Bn;var Un,Kn=function(t){function e(t,n,r){if(!(this instanceof e))return new e(t,n,r);if(Vt(0!==r,"Cannot step a Range by 0"),t=t||0,void 0===n&&(n=1/0),r=void 0===r?1:Math.abs(r),n<t&&(r=-r),this._start=t,this._end=n,this._step=r,this.size=Math.max(0,Math.ceil((n-t)/r-1)+1),0===this.size){if(Un)return Un;Un=this}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},e.prototype.get=function(t,e){return this.has(t)?this._start+u(this,t)*this._step:e},e.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},e.prototype.slice=function(t,n){return p(t,n,this.size)?this:(t=f(t,this.size),(n=d(n,this.size))<=t?new e(0,0):new e(this.get(t,this._end),this.get(n,this._end),this._step))},e.prototype.indexOf=function(t){var e=t-this._start;if(e%this._step==0){var n=e/this._step;if(n>=0&&n<this.size)return n}return-1},e.prototype.lastIndexOf=function(t){return this.indexOf(t)},e.prototype.__iterate=function(t,e){for(var n=this.size,r=this._step,o=e?this._start+(n-1)*r:this._start,i=0;i!==n&&!1!==t(o,e?n-++i:i++,this);)o+=e?-r:r;return i},e.prototype.__iterator=function(t,e){var n=this.size,r=this._step,o=e?this._start+(n-1)*r:this._start,i=0;return new z((function(){if(i===n)return{value:void 0,done:!0};var a=o;return o+=e?-r:r,R(t,e?n-++i:i++,a)}))},e.prototype.equals=function(t){return t instanceof e?this._start===t._start&&this._end===t._end&&this._step===t._step:Ln(this,t)},e}(Q);function Hn(t,e,n){for(var r=Jt(e),o=0;o!==r.length;)if((t=re(t,r[o++],i))===i)return n;return t}function qn(t,e){return Hn(this,t,e)}function Yn(t,e){return Hn(t,e,i)!==i}function Wn(){Gt(this.size);var t={};return this.__iterate((function(e,n){t[n]=e})),t}M.isIterable=m,M.isKeyed=b,M.isIndexed=w,M.isAssociative=S,M.isOrdered=N,M.Iterator=z,Nn(M,{toArray:function(){Gt(this.size);var t=new Array(this.size||0),e=b(this),n=0;return this.__iterate((function(r,o){t[n++]=e?[o,r]:r})),t},toIndexedSeq:function(){return new Ct(this)},toJS:function(){return An(this)},toKeyedSeq:function(){return new kt(this,!0)},toMap:function(){return Ne(this.toKeyedSeq())},toObject:Wn,toOrderedMap:function(){return vn(this.toKeyedSeq())},toOrderedSet:function(){return ir(b(this)?this.valueSeq():this)},toSet:function(){return Tn(b(this)?this.valueSeq():this)},toSetSeq:function(){return new jt(this)},toSeq:function(){return w(this)?this.toIndexedSeq():b(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return En(b(this)?this.valueSeq():this)},toList:function(){return rn(b(this)?this.valueSeq():this)},toString:function(){return"[Collection]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return Kt(this,zt(this,t))},includes:function(t){return this.some((function(e){return st(e,t)}))},entries:function(){return this.__iterator(2)},every:function(t,e){Gt(this.size);var n=!0;return this.__iterate((function(r,o,i){if(!t.call(e,r,o,i))return n=!1,!1})),n},filter:function(t,e){return Kt(this,Nt(this,t,e,!0))},find:function(t,e,n){var r=this.findEntry(t,e);return r?r[1]:n},forEach:function(t,e){return Gt(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){Gt(this.size),t=void 0!==t?""+t:",";var e="",n=!0;return this.__iterate((function(r){n?n=!1:e+=t,e+=null!=r?r.toString():""})),e},keys:function(){return this.__iterator(0)},map:function(t,e){return Kt(this,It(this,t,e))},reduce:function(t,e,n){return Jn(this,t,e,n,arguments.length<2,!1)},reduceRight:function(t,e,n){return Jn(this,t,e,n,arguments.length<2,!0)},reverse:function(){return Kt(this,Lt(this,!0))},slice:function(t,e){return Kt(this,At(this,t,e,!0))},some:function(t,e){return!this.every(tr(t),e)},sort:function(t){return Kt(this,Pt(this,t))},values:function(){return this.__iterator(1)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(t,e){return c(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return function(t,e,n){var r=Ne().asMutable();return t.__iterate((function(o,i){r.update(e.call(n,o,i,t),0,(function(t){return t+1}))})),r.asImmutable()}(this,t,e)},equals:function(t){return Ln(this,t)},entrySeq:function(){var t=this;if(t._cache)return new V(t._cache);var e=t.toSeq().map($n).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(tr(t),e)},findEntry:function(t,e,n){var r=n;return this.__iterate((function(n,o,i){if(t.call(e,n,o,i))return r=[o,n],!1})),r},findKey:function(t,e){var n=this.findEntry(t,e);return n&&n[0]},findLast:function(t,e,n){return this.toKeyedSeq().reverse().find(t,e,n)},findLastEntry:function(t,e,n){return this.toKeyedSeq().reverse().findEntry(t,e,n)},findLastKey:function(t,e){return this.toKeyedSeq().reverse().findKey(t,e)},first:function(t){return this.find(l,null,t)},flatMap:function(t,e){return Kt(this,function(t,e,n){var r=qt(t);return t.toSeq().map((function(o,i){return r(e.call(n,o,i,t))})).flatten(!0)}(this,t,e))},flatten:function(t){return Kt(this,Rt(this,t,!0))},fromEntrySeq:function(){return new Dt(this)},get:function(t,e){return this.find((function(e,n){return st(n,t)}),void 0,e)},getIn:qn,groupBy:function(t,e){return function(t,e,n){var r=b(t),o=(N(t)?vn():Ne()).asMutable();t.__iterate((function(i,a){o.update(e.call(n,i,a,t),(function(t){return(t=t||[]).push(r?[a,i]:i),t}))}));var i=qt(t);return o.map((function(e){return Kt(t,i(e))})).asImmutable()}(this,t,e)},has:function(t){return this.get(t,i)!==i},hasIn:function(t){return Yn(this,t)},isSubset:function(t){return t="function"==typeof t.includes?t:M(t),this.every((function(e){return t.includes(e)}))},isSuperset:function(t){return(t="function"==typeof t.isSubset?t:M(t)).isSubset(this)},keyOf:function(t){return this.findKey((function(e){return st(e,t)}))},keySeq:function(){return this.toSeq().map(Xn).toIndexedSeq()},last:function(t){return this.toSeq().reverse().first(t)},lastKeyOf:function(t){return this.toKeyedSeq().reverse().keyOf(t)},max:function(t){return Bt(this,t)},maxBy:function(t,e){return Bt(this,e,t)},min:function(t){return Bt(this,t?er(t):rr)},minBy:function(t,e){return Bt(this,e?er(e):rr,t)},rest:function(){return this.slice(1)},skip:function(t){return 0===t?this:this.slice(Math.max(0,t))},skipLast:function(t){return 0===t?this:this.slice(0,-Math.max(0,t))},skipWhile:function(t,e){return Kt(this,Tt(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(tr(t),e)},sortBy:function(t,e){return Kt(this,Pt(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return this.slice(-Math.max(0,t))},takeWhile:function(t,e){return Kt(this,function(t,e,n){var r=Yt(t);return r.__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var a=0;return t.__iterate((function(t,o,s){return e.call(n,t,o,s)&&++a&&r(t,o,i)})),a},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var a=t.__iterator(2,o),s=!0;return new z((function(){if(!s)return{value:void 0,done:!0};var t=a.next();if(t.done)return t;var o=t.value,c=o[0],u=o[1];return e.call(n,u,c,i)?2===r?t:R(r,c,u,t):(s=!1,{value:void 0,done:!0})}))},r}(this,t,e))},takeUntil:function(t,e){return this.takeWhile(tr(t),e)},update:function(t){return t(this)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(t){if(t.size===1/0)return 0;var e=N(t),n=b(t),r=e?1:0;return function(t,e){return e=ct(e,3432918353),e=ct(e<<15|e>>>-15,461845907),e=ct(e<<13|e>>>-13,5),e=ct((e=(e+3864292196|0)^t)^e>>>16,2246822507),ut((e=ct(e^e>>>13,3266489909))^e>>>16)}(t.__iterate(n?e?function(t,e){r=31*r+or(pt(t),pt(e))|0}:function(t,e){r=r+or(pt(t),pt(e))|0}:e?function(t){r=31*r+pt(t)|0}:function(t){r=r+pt(t)|0}),r)}(this))}});var Qn=M.prototype;Qn[g]=!0,Qn[T]=Qn.values,Qn.toJSON=Qn.toArray,Qn.__toStringMapper=ee,Qn.inspect=Qn.toSource=function(){return this.toString()},Qn.chain=Qn.flatMap,Qn.contains=Qn.includes,Nn(E,{flip:function(){return Kt(this,Ot(this))},mapEntries:function(t,e){var n=this,r=0;return Kt(this,this.toSeq().map((function(o,i){return t.call(e,[i,o],r++,n)})).fromEntrySeq())},mapKeys:function(t,e){var n=this;return Kt(this,this.toSeq().flip().map((function(r,o){return t.call(e,r,o,n)})).flip())}});var Zn=E.prototype;Zn[v]=!0,Zn[T]=Qn.entries,Zn.toJSON=Wn,Zn.__toStringMapper=function(t,e){return ee(e)+": "+ee(t)},Nn(x,{toKeyedSeq:function(){return new kt(this,!1)},filter:function(t,e){return Kt(this,Nt(this,t,e,!1))},findIndex:function(t,e){var n=this.findEntry(t,e);return n?n[0]:-1},indexOf:function(t){var e=this.keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.lastKeyOf(t);return void 0===e?-1:e},reverse:function(){return Kt(this,Lt(this,!1))},slice:function(t,e){return Kt(this,At(this,t,e,!1))},splice:function(t,e){var n=arguments.length;if(e=Math.max(e||0,0),0===n||2===n&&!e)return this;t=f(t,t<0?this.count():this.size);var r=this.slice(0,t);return Kt(this,1===n?r:r.concat(Zt(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var n=this.findLastEntry(t,e);return n?n[0]:-1},first:function(t){return this.get(0,t)},flatten:function(t){return Kt(this,Rt(this,t,!1))},get:function(t,e){return(t=u(this,t))<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find((function(e,n){return n===t}),void 0,e)},has:function(t){return(t=u(this,t))>=0&&(void 0!==this.size?this.size===1/0||t<this.size:-1!==this.indexOf(t))},interpose:function(t){return Kt(this,function(t,e){var n=Yt(t);return n.size=t.size&&2*t.size-1,n.__iterateUncached=function(n,r){var o=this,i=0;return t.__iterate((function(t){return(!i||!1!==n(e,i++,o))&&!1!==n(t,i++,o)}),r),i},n.__iteratorUncached=function(n,r){var o,i=t.__iterator(1,r),a=0;return new z((function(){return(!o||a%2)&&(o=i.next()).done?o:a%2?R(n,a++,e):R(n,a++,o.value,o)}))},n}(this,t))},interleave:function(){var t=[this].concat(Zt(arguments)),e=Ut(this.toSeq(),Q.of,t),n=e.flatten(!0);return e.size&&(n.size=e.size*t.length),Kt(this,n)},keySeq:function(){return Kn(0,this.size)},last:function(t){return this.get(-1,t)},skipWhile:function(t,e){return Kt(this,Tt(this,t,e,!1))},zip:function(){var t=[this].concat(Zt(arguments));return Kt(this,Ut(this,nr,t))},zipAll:function(){var t=[this].concat(Zt(arguments));return Kt(this,Ut(this,nr,t,!0))},zipWith:function(t){var e=Zt(arguments);return e[0]=this,Kt(this,Ut(this,t,e))}});var Vn=x.prototype;Vn[_]=!0,Vn[L]=!0,Nn(k,{get:function(t,e){return this.has(t)?t:e},includes:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}});var Gn=k.prototype;function Jn(t,e,n,r,o,i){return Gt(t.size),t.__iterate((function(t,i,a){o?(o=!1,n=t):n=e.call(r,n,t,i,a)}),i),n}function Xn(t,e){return e}function $n(t,e){return[e,t]}function tr(t){return function(){return!t.apply(this,arguments)}}function er(t){return function(){return-t.apply(this,arguments)}}function nr(){return Zt(arguments)}function rr(t,e){return t<e?1:t>e?-1:0}function or(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}Gn.has=Qn.includes,Gn.contains=Gn.includes,Gn.keys=Gn.values,Nn(W,Zn),Nn(Q,Vn),Nn(Z,Gn);var ir=function(t){function e(t){return null==t?ur():In(t)?t:ur().withMutations((function(e){var n=k(t);Gt(n.size),n.forEach((function(t){return e.add(t)}))}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.fromKeys=function(t){return this(E(t).keySeq())},e.prototype.toString=function(){return this.__toString("OrderedSet {","}")},e}(Tn);ir.isOrderedSet=In;var ar,sr=ir.prototype;function cr(t,e){var n=Object.create(sr);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function ur(){return ar||(ar=cr(_n()))}sr[L]=!0,sr.zip=Vn.zip,sr.zipWith=Vn.zipWith,sr.zipAll=Vn.zipAll,sr.__empty=ur,sr.__make=cr;var lr=function(t,e){var n;!function(t){if(O(t))throw new Error("Can not call `Record` with an immutable Record as default values. Use a plain javascript object instead.");if(I(t))throw new Error("Can not call `Record` with an immutable Collection as default values. Use a plain javascript object instead.");if(null===t||"object"!=typeof t)throw new Error("Can not call `Record` with a non-object as default values. Use a plain javascript object instead.")}(t);var r=function(i){var a=this;if(i instanceof r)return i;if(!(this instanceof r))return new r(i);if(!n){n=!0;var s=Object.keys(t),c=o._indices={};o._name=e,o._keys=s,o._defaultValues=t;for(var u=0;u<s.length;u++){var l=s[u];c[l]=u,o[l]?"object"==typeof console&&console.warn&&console.warn("Cannot define "+dr(this)+' with property "'+l+'" since that property name is part of the Record API.'):yr(o,l)}}return this.__ownerID=void 0,this._values=rn().withMutations((function(t){t.setSize(a._keys.length),E(i).forEach((function(e,n){t.set(a._indices[n],e===a._defaultValues[n]?void 0:e)}))})),this},o=r.prototype=Object.create(pr);return o.constructor=r,e&&(r.displayName=e),r};lr.prototype.toString=function(){for(var t,e=dr(this)+" { ",n=this._keys,r=0,o=n.length;r!==o;r++)e+=(r?", ":"")+(t=n[r])+": "+ee(this.get(t));return e+" }"},lr.prototype.equals=function(t){return this===t||O(t)&&hr(this).equals(hr(t))},lr.prototype.hashCode=function(){return hr(this).hashCode()},lr.prototype.has=function(t){return this._indices.hasOwnProperty(t)},lr.prototype.get=function(t,e){if(!this.has(t))return e;var n=this._indices[t],r=this._values.get(n);return void 0===r?this._defaultValues[t]:r},lr.prototype.set=function(t,e){if(this.has(t)){var n=this._values.set(this._indices[t],e===this._defaultValues[t]?void 0:e);if(n!==this._values&&!this.__ownerID)return fr(this,n)}return this},lr.prototype.remove=function(t){return this.set(t)},lr.prototype.clear=function(){var t=this._values.clear().setSize(this._keys.length);return this.__ownerID?this:fr(this,t)},lr.prototype.wasAltered=function(){return this._values.wasAltered()},lr.prototype.toSeq=function(){return hr(this)},lr.prototype.toJS=function(){return An(this)},lr.prototype.entries=function(){return this.__iterator(2)},lr.prototype.__iterator=function(t,e){return hr(this).__iterator(t,e)},lr.prototype.__iterate=function(t,e){return hr(this).__iterate(t,e)},lr.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._values.__ensureOwner(t);return t?fr(this,e,t):(this.__ownerID=t,this._values=e,this)},lr.isRecord=O,lr.getDescriptiveName=dr;var pr=lr.prototype;function fr(t,e,n){var r=Object.create(Object.getPrototypeOf(t));return r._values=e,r.__ownerID=n,r}function dr(t){return t.constructor.displayName||t.constructor.name||"Record"}function hr(t){return tt(t._keys.map((function(e){return[e,t.get(e)]})))}function yr(t,e){try{Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){Vt(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}catch(t){}}pr[D]=!0,pr.delete=pr.remove,pr.deleteIn=pr.removeIn=fe,pr.getIn=qn,pr.hasIn=Qn.hasIn,pr.merge=ge,pr.mergeWith=me,pr.mergeIn=Ce,pr.mergeDeep=xe,pr.mergeDeepWith=ke,pr.mergeDeepIn=je,pr.setIn=le,pr.update=he,pr.updateIn=ye,pr.withMutations=De,pr.asMutable=Oe,pr.asImmutable=Ie,pr[T]=pr.entries,pr.toJSON=pr.toObject=Qn.toObject,pr.inspect=pr.toSource=function(){return this.toString()};var gr,mr=function(t){function e(t,n){if(!(this instanceof e))return new e(t,n);if(this._value=t,this.size=void 0===n?1/0:Math.max(0,n),0===this.size){if(gr)return gr;gr=this}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},e.prototype.get=function(t,e){return this.has(t)?this._value:e},e.prototype.includes=function(t){return st(this._value,t)},e.prototype.slice=function(t,n){var r=this.size;return p(t,n,r)?this:new e(this._value,d(n,r)-f(t,r))},e.prototype.reverse=function(){return this},e.prototype.indexOf=function(t){return st(this._value,t)?0:-1},e.prototype.lastIndexOf=function(t){return st(this._value,t)?this.size:-1},e.prototype.__iterate=function(t,e){for(var n=this.size,r=0;r!==n&&!1!==t(this._value,e?n-++r:r++,this););return r},e.prototype.__iterator=function(t,e){var n=this,r=this.size,o=0;return new z((function(){return o===r?{value:void 0,done:!0}:R(t,e?r-++o:o++,n._value)}))},e.prototype.equals=function(t){return t instanceof e?st(this._value,t._value):Ln(t)},e}(Q);function vr(t,e){return br([],e||_r,t,"",e&&e.length>2?[]:void 0,{"":t})}function br(t,e,n,r,o,i){if("string"!=typeof n&&!I(n)&&(q(n)||B(n)||$t(n))){if(~t.indexOf(n))throw new TypeError("Cannot convert circular structure to Immutable");t.push(n),o&&""!==r&&o.push(r);var a=e.call(i,r,Y(n).map((function(r,i){return br(t,e,r,i,o,n)})),o&&o.slice());return t.pop(),o&&o.pop(),a}return n}function _r(t,e){return w(e)?e.toList():b(e)?e.toMap():e.toSet()}var wr="4.1.0",Sr=M;const Mr={version:wr,Collection:M,Iterable:M,Seq:Y,Map:Ne,OrderedMap:vn,List:rn,Stack:En,Set:Tn,OrderedSet:ir,Record:lr,Range:Kn,Repeat:mr,is:st,fromJS:vr,hash:pt,isImmutable:I,isCollection:m,isKeyed:b,isIndexed:w,isAssociative:S,isOrdered:N,isValueObject:at,isPlainObject:$t,isSeq:j,isList:nn,isMap:ot,isOrderedMap:it,isStack:Mn,isSet:On,isOrderedSet:In,isRecord:O,get:re,getIn:Hn,has:ne,hasIn:Yn,merge:be,mergeDeep:we,mergeWith:_e,mergeDeepWith:Se,remove:ie,removeIn:pe,set:ae,setIn:ue,update:de,updateIn:se}},56784:t=>{"use strict";t.exports=function(t,e,n,r,o,i,a,s){if(!t){var c;if(void 0===e)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,i,a,s],l=0;(c=new Error(e.replace(/%s/g,(function(){return u[l++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},54516:t=>{"use strict";var e=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function o(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(t){r[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,i){for(var a,s,c=o(t),u=1;u<arguments.length;u++){for(var l in a=Object(arguments[u]))n.call(a,l)&&(c[l]=a[l]);if(e){s=e(a);for(var p=0;p<s.length;p++)r.call(a,s[p])&&(c[s[p]]=a[s[p]])}}return c}},459:(t,e,n)=>{"use strict";var r=n(15704);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function e(){return t}t.isRequired=t;var n={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},60216:(t,e,n)=>{t.exports=n(459)()},15704:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},67392:(t,e,n)=>{"use strict";var r=n(54516),o=n(1024);function i(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a="function"==typeof Symbol&&Symbol.for,s=a?Symbol.for("react.portal"):60106,c=a?Symbol.for("react.fragment"):60107,u=a?Symbol.for("react.strict_mode"):60108,l=a?Symbol.for("react.profiler"):60114,p=a?Symbol.for("react.provider"):60109,f=a?Symbol.for("react.context"):60110,d=a?Symbol.for("react.concurrent_mode"):60111,h=a?Symbol.for("react.forward_ref"):60112,y=a?Symbol.for("react.suspense"):60113,g=a?Symbol.for("react.suspense_list"):60120,m=a?Symbol.for("react.memo"):60115,v=a?Symbol.for("react.lazy"):60116,b=a?Symbol.for("react.fundamental"):60117,_=a?Symbol.for("react.scope"):60119,w=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function S(t){if(null==t)return null;if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case c:return"Fragment";case s:return"Portal";case l:return"Profiler";case u:return"StrictMode";case y:return"Suspense";case g:return"SuspenseList"}if("object"==typeof t)switch(t.$$typeof){case f:return"Context.Consumer";case p:return"Context.Provider";case h:var e=t.render;return e=e.displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case m:return S(t.type);case v:if(t=1===t._status?t._result:null)return S(t)}return null}w.hasOwnProperty("ReactCurrentDispatcher")||(w.ReactCurrentDispatcher={current:null}),w.hasOwnProperty("ReactCurrentBatchConfig")||(w.ReactCurrentBatchConfig={suspense:null});var M={};function E(t,e){for(var n=0|t._threadCount;n<=e;n++)t[n]=t._currentValue2,t._threadCount=n+1}for(var x=new Uint16Array(16),k=0;15>k;k++)x[k]=k+1;x[15]=0;var C=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,j=Object.prototype.hasOwnProperty,D={},O={};function I(t){return!!j.call(O,t)||!j.call(D,t)&&(C.test(t)?O[t]=!0:(D[t]=!0,!1))}function L(t,e,n,r,o,i){this.acceptsBooleans=2===e||3===e||4===e,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=t,this.type=e,this.sanitizeURL=i}var N={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(t){N[t]=new L(t,0,!1,t,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(t){var e=t[0];N[e]=new L(e,1,!1,t[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(t){N[t]=new L(t,2,!1,t.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(t){N[t]=new L(t,2,!1,t,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(t){N[t]=new L(t,3,!1,t.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(t){N[t]=new L(t,3,!0,t,null,!1)})),["capture","download"].forEach((function(t){N[t]=new L(t,4,!1,t,null,!1)})),["cols","rows","size","span"].forEach((function(t){N[t]=new L(t,6,!1,t,null,!1)})),["rowSpan","start"].forEach((function(t){N[t]=new L(t,5,!1,t.toLowerCase(),null,!1)}));var A=/[\-:]([a-z])/g;function T(t){return t[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(t){var e=t.replace(A,T);N[e]=new L(e,1,!1,t,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(t){var e=t.replace(A,T);N[e]=new L(e,1,!1,t,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(t){var e=t.replace(A,T);N[e]=new L(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(t){N[t]=new L(t,1,!1,t.toLowerCase(),null,!1)})),N.xlinkHref=new L("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(t){N[t]=new L(t,1,!1,t.toLowerCase(),null,!0)}));var z=/["'&<>]/;function R(t){if("boolean"==typeof t||"number"==typeof t)return""+t;t=""+t;var e=z.exec(t);if(e){var n,r="",o=0;for(n=e.index;n<t.length;n++){switch(t.charCodeAt(n)){case 34:e=""";break;case 38:e="&";break;case 39:e="'";break;case 60:e="<";break;case 62:e=">";break;default:continue}o!==n&&(r+=t.substring(o,n)),o=n+1,r+=e}t=o!==n?r+t.substring(o,n):r}return t}function P(t,e){var n,r=N.hasOwnProperty(t)?N[t]:null;return(n="style"!==t)&&(n=null!==r?0===r.type:2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])),n||function(t,e,n,r){if(null==e||function(t,e,n,r){if(null!==n&&0===n.type)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return null!==n?!n.acceptsBooleans:"data-"!==(t=t.toLowerCase().slice(0,5))&&"aria-"!==t;default:return!1}}(t,e,n))return!0;if(null!==n)switch(n.type){case 3:return!e;case 4:return!1===e;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}(t,e,r)?"":null!==r?(t=r.attributeName,3===(n=r.type)||4===n&&!0===e?t+'=""':(r.sanitizeURL&&(e=""+e),t+'="'+R(e)+'"')):I(t)?t+'="'+R(e)+'"':""}var B="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},F=null,U=null,K=null,H=!1,q=!1,Y=null,W=0;function Q(){if(null===F)throw Error(i(321));return F}function Z(){if(0<W)throw Error(i(312));return{memoizedState:null,queue:null,next:null}}function V(){return null===K?null===U?(H=!1,U=K=Z()):(H=!0,K=U):null===K.next?(H=!1,K=K.next=Z()):(H=!0,K=K.next),K}function G(t,e,n,r){for(;q;)q=!1,W+=1,K=null,n=t(e,r);return U=F=null,W=0,K=Y=null,n}function J(t,e){return"function"==typeof e?e(t):e}function X(t,e,n){if(F=Q(),K=V(),H){var r=K.queue;if(e=r.dispatch,null!==Y&&void 0!==(n=Y.get(r))){Y.delete(r),r=K.memoizedState;do{r=t(r,n.action),n=n.next}while(null!==n);return K.memoizedState=r,[r,e]}return[K.memoizedState,e]}return t=t===J?"function"==typeof e?e():e:void 0!==n?n(e):e,K.memoizedState=t,t=(t=K.queue={last:null,dispatch:null}).dispatch=$.bind(null,F,t),[K.memoizedState,t]}function $(t,e,n){if(!(25>W))throw Error(i(301));if(t===F)if(q=!0,t={action:n,next:null},null===Y&&(Y=new Map),void 0===(n=Y.get(e)))Y.set(e,t);else{for(e=n;null!==e.next;)e=e.next;e.next=t}}function tt(){}var et=0,nt={readContext:function(t){var e=et;return E(t,e),t[e]},useContext:function(t){Q();var e=et;return E(t,e),t[e]},useMemo:function(t,e){if(F=Q(),e=void 0===e?null:e,null!==(K=V())){var n=K.memoizedState;if(null!==n&&null!==e){t:{var r=n[1];if(null===r)r=!1;else{for(var o=0;o<r.length&&o<e.length;o++)if(!B(e[o],r[o])){r=!1;break t}r=!0}}if(r)return n[0]}}return t=t(),K.memoizedState=[t,e],t},useReducer:X,useRef:function(t){F=Q();var e=(K=V()).memoizedState;return null===e?(t={current:t},K.memoizedState=t):e},useState:function(t){return X(J,t)},useLayoutEffect:function(){},useCallback:function(t){return t},useImperativeHandle:tt,useEffect:tt,useDebugValue:tt,useResponder:function(t,e){return{props:e,responder:t}},useDeferredValue:function(t){return Q(),t},useTransition:function(){return Q(),[function(t){t()},!1]}},rt="http://www.w3.org/1999/xhtml";function ot(t){switch(t){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}var it={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},at=r({menuitem:!0},it),st={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ct=["Webkit","ms","Moz","O"];Object.keys(st).forEach((function(t){ct.forEach((function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),st[e]=st[t]}))}));var ut=/([A-Z])/g,lt=/^ms-/,pt=o.Children.toArray,ft=w.ReactCurrentDispatcher,dt={listing:!0,pre:!0,textarea:!0},ht=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,yt={},gt={},mt=Object.prototype.hasOwnProperty,vt={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function bt(t,e){if(void 0===t)throw Error(i(152,S(e)||"Component"))}var _t=function(){function t(t,e){o.isValidElement(t)?t.type!==c?t=[t]:(t=t.props.children,t=o.isValidElement(t)?[t]:pt(t)):t=pt(t),t={type:null,domNamespace:rt,children:t,childIndex:0,context:M,footer:""};var n=x[0];if(0===n){var r=x,a=2*(n=r.length);if(!(65536>=a))throw Error(i(304));var s=new Uint16Array(a);for(s.set(r),(x=s)[0]=n+1,r=n;r<a-1;r++)x[r]=r+1;x[a-1]=0}else x[0]=x[n];this.threadID=n,this.stack=[t],this.exhausted=!1,this.currentSelectValue=null,this.previousWasTextNode=!1,this.makeStaticMarkup=e,this.suspenseDepth=0,this.contextIndex=-1,this.contextStack=[],this.contextValueStack=[]}var e=t.prototype;return e.destroy=function(){if(!this.exhausted){this.exhausted=!0,this.clearProviders();var t=this.threadID;x[t]=x[0],x[0]=t}},e.pushProvider=function(t){var e=++this.contextIndex,n=t.type._context,r=this.threadID;E(n,r);var o=n[r];this.contextStack[e]=n,this.contextValueStack[e]=o,n[r]=t.props.value},e.popProvider=function(){var t=this.contextIndex,e=this.contextStack[t],n=this.contextValueStack[t];this.contextStack[t]=null,this.contextValueStack[t]=null,this.contextIndex--,e[this.threadID]=n},e.clearProviders=function(){for(var t=this.contextIndex;0<=t;t--)this.contextStack[t][this.threadID]=this.contextValueStack[t]},e.read=function(t){if(this.exhausted)return null;var e=et;et=this.threadID;var n=ft.current;ft.current=nt;try{for(var r=[""],o=!1;r[0].length<t;){if(0===this.stack.length){this.exhausted=!0;var a=this.threadID;x[a]=x[0],x[0]=a;break}var s=this.stack[this.stack.length-1];if(o||s.childIndex>=s.children.length){var c=s.footer;if(""!==c&&(this.previousWasTextNode=!1),this.stack.pop(),"select"===s.type)this.currentSelectValue=null;else if(null!=s.type&&null!=s.type.type&&s.type.type.$$typeof===p)this.popProvider(s.type);else if(s.type===y){this.suspenseDepth--;var u=r.pop();if(o){o=!1;var l=s.fallbackFrame;if(!l)throw Error(i(303));this.stack.push(l),r[this.suspenseDepth]+="\x3c!--$!--\x3e";continue}r[this.suspenseDepth]+=u}r[this.suspenseDepth]+=c}else{var f=s.children[s.childIndex++],d="";try{d+=this.render(f,s.context,s.domNamespace)}catch(t){if(null!=t&&"function"==typeof t.then)throw Error(i(294));throw t}r.length<=this.suspenseDepth&&r.push(""),r[this.suspenseDepth]+=d}}return r[0]}finally{ft.current=n,et=e}},e.render=function(t,e,n){if("string"==typeof t||"number"==typeof t)return""==(n=""+t)?"":this.makeStaticMarkup?R(n):this.previousWasTextNode?"\x3c!-- --\x3e"+R(n):(this.previousWasTextNode=!0,R(n));if(t=(e=function(t,e,n){function a(o,a){var s=a.prototype&&a.prototype.isReactComponent,c=function(t,e,n,r){if(r&&"object"==typeof(r=t.contextType)&&null!==r)return E(r,n),r[n];if(t=t.contextTypes){for(var o in n={},t)n[o]=e[o];e=n}else e=M;return e}(a,e,n,s),u=[],l=!1,p={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===u)return null},enqueueReplaceState:function(t,e){l=!0,u=[e]},enqueueSetState:function(t,e){if(null===u)return null;u.push(e)}};if(s){if(s=new a(o.props,c,p),"function"==typeof a.getDerivedStateFromProps){var f=a.getDerivedStateFromProps.call(null,o.props,s.state);null!=f&&(s.state=r({},s.state,f))}}else if(F={},s=a(o.props,c,p),null==(s=G(a,o.props,s,c))||null==s.render)return void bt(t=s,a);if(s.props=o.props,s.context=c,s.updater=p,void 0===(p=s.state)&&(s.state=p=null),"function"==typeof s.UNSAFE_componentWillMount||"function"==typeof s.componentWillMount)if("function"==typeof s.componentWillMount&&"function"!=typeof a.getDerivedStateFromProps&&s.componentWillMount(),"function"==typeof s.UNSAFE_componentWillMount&&"function"!=typeof a.getDerivedStateFromProps&&s.UNSAFE_componentWillMount(),u.length){p=u;var d=l;if(u=null,l=!1,d&&1===p.length)s.state=p[0];else{f=d?p[0]:s.state;var h=!0;for(d=d?1:0;d<p.length;d++){var y=p[d];null!=(y="function"==typeof y?y.call(s,f,o.props,c):y)&&(h?(h=!1,f=r({},f,y)):r(f,y))}s.state=f}}else u=null;if(bt(t=s.render(),a),"function"==typeof s.getChildContext&&"object"==typeof(o=a.childContextTypes)){var g=s.getChildContext();for(var m in g)if(!(m in o))throw Error(i(108,S(a)||"Unknown",m))}g&&(e=r({},e,g))}for(;o.isValidElement(t);){var s=t,c=s.type;if("function"!=typeof c)break;a(s,c)}return{child:t,context:e}}(t,e,this.threadID)).child,e=e.context,null===t||!1===t)return"";if(!o.isValidElement(t)){if(null!=t&&null!=t.$$typeof){if((n=t.$$typeof)===s)throw Error(i(257));throw Error(i(258,n.toString()))}return t=pt(t),this.stack.push({type:null,domNamespace:n,children:t,childIndex:0,context:e,footer:""}),""}var a=t.type;if("string"==typeof a)return this.renderDOM(t,e,n);switch(a){case u:case d:case l:case g:case c:return t=pt(t.props.children),this.stack.push({type:null,domNamespace:n,children:t,childIndex:0,context:e,footer:""}),"";case y:throw Error(i(294))}if("object"==typeof a&&null!==a)switch(a.$$typeof){case h:F={};var w=a.render(t.props,t.ref);return w=G(a.render,t.props,w,t.ref),w=pt(w),this.stack.push({type:null,domNamespace:n,children:w,childIndex:0,context:e,footer:""}),"";case m:return t=[o.createElement(a.type,r({ref:t.ref},t.props))],this.stack.push({type:null,domNamespace:n,children:t,childIndex:0,context:e,footer:""}),"";case p:return n={type:t,domNamespace:n,children:a=pt(t.props.children),childIndex:0,context:e,footer:""},this.pushProvider(t),this.stack.push(n),"";case f:a=t.type,w=t.props;var x=this.threadID;return E(a,x),a=pt(w.children(a[x])),this.stack.push({type:t,domNamespace:n,children:a,childIndex:0,context:e,footer:""}),"";case b:throw Error(i(338));case v:switch(function(t){if(-1===t._status){t._status=0;var e=t._ctor;e=e(),t._result=e,e.then((function(e){0===t._status&&(e=e.default,t._status=1,t._result=e)}),(function(e){0===t._status&&(t._status=2,t._result=e)}))}}(a=t.type),a._status){case 1:return t=[o.createElement(a._result,r({ref:t.ref},t.props))],this.stack.push({type:null,domNamespace:n,children:t,childIndex:0,context:e,footer:""}),"";case 2:throw a._result;default:throw Error(i(295))}case _:throw Error(i(343))}throw Error(i(130,null==a?a:typeof a,""))},e.renderDOM=function(t,e,n){var a=t.type.toLowerCase();if(n===rt&&ot(a),!yt.hasOwnProperty(a)){if(!ht.test(a))throw Error(i(65,a));yt[a]=!0}var s=t.props;if("input"===a)s=r({type:void 0},s,{defaultChecked:void 0,defaultValue:void 0,value:null!=s.value?s.value:s.defaultValue,checked:null!=s.checked?s.checked:s.defaultChecked});else if("textarea"===a){var c=s.value;if(null==c){c=s.defaultValue;var u=s.children;if(null!=u){if(null!=c)throw Error(i(92));if(Array.isArray(u)){if(!(1>=u.length))throw Error(i(93));u=u[0]}c=""+u}null==c&&(c="")}s=r({},s,{value:void 0,children:""+c})}else if("select"===a)this.currentSelectValue=null!=s.value?s.value:s.defaultValue,s=r({},s,{value:void 0});else if("option"===a){u=this.currentSelectValue;var l=function(t){if(null==t)return t;var e="";return o.Children.forEach(t,(function(t){null!=t&&(e+=t)})),e}(s.children);if(null!=u){var p=null!=s.value?s.value+"":l;if(c=!1,Array.isArray(u)){for(var f=0;f<u.length;f++)if(""+u[f]===p){c=!0;break}}else c=""+u===p;s=r({selected:void 0,children:void 0},s,{selected:c,children:l})}}if(c=s){if(at[a]&&(null!=c.children||null!=c.dangerouslySetInnerHTML))throw Error(i(137,a,""));if(null!=c.dangerouslySetInnerHTML){if(null!=c.children)throw Error(i(60));if("object"!=typeof c.dangerouslySetInnerHTML||!("__html"in c.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=c.style&&"object"!=typeof c.style)throw Error(i(62,""))}for(_ in c=s,u=this.makeStaticMarkup,l=1===this.stack.length,p="<"+t.type,c)if(mt.call(c,_)){var d=c[_];if(null!=d){if("style"===_){f=void 0;var h="",y="";for(f in d)if(d.hasOwnProperty(f)){var g=0===f.indexOf("--"),m=d[f];if(null!=m){if(g)var v=f;else if(v=f,gt.hasOwnProperty(v))v=gt[v];else{var b=v.replace(ut,"-$1").toLowerCase().replace(lt,"-ms-");v=gt[v]=b}h+=y+v+":",y=f,h+=g=null==m||"boolean"==typeof m||""===m?"":g||"number"!=typeof m||0===m||st.hasOwnProperty(y)&&st[y]?(""+m).trim():m+"px",y=";"}}d=h||null}f=null;t:if(g=a,m=c,-1===g.indexOf("-"))g="string"==typeof m.is;else switch(g){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":g=!1;break t;default:g=!0}g?vt.hasOwnProperty(_)||(f=I(f=_)&&null!=d?f+'="'+R(d)+'"':""):f=P(_,d),f&&(p+=" "+f)}}u||l&&(p+=' data-reactroot=""');var _=p;c="",it.hasOwnProperty(a)?_+="/>":(_+=">",c="</"+t.type+">");t:{if(null!=(u=s.dangerouslySetInnerHTML)){if(null!=u.__html){u=u.__html;break t}}else if("string"==typeof(u=s.children)||"number"==typeof u){u=R(u);break t}u=null}return null!=u?(s=[],dt[a]&&"\n"===u.charAt(0)&&(_+="\n"),_+=u):s=pt(s.children),t=t.type,n=null==n||"http://www.w3.org/1999/xhtml"===n?ot(t):"http://www.w3.org/2000/svg"===n&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":n,this.stack.push({domNamespace:n,type:a,children:s,childIndex:0,context:e,footer:c}),this.previousWasTextNode=!1,_},t}(),wt={renderToString:function(t){t=new _t(t,!1);try{return t.read(1/0)}finally{t.destroy()}},renderToStaticMarkup:function(t){t=new _t(t,!0);try{return t.read(1/0)}finally{t.destroy()}},renderToNodeStream:function(){throw Error(i(207))},renderToStaticNodeStream:function(){throw Error(i(208))},version:"16.11.0"},St={default:wt},Mt=St&&wt||St;t.exports=Mt.default||Mt},74161:(t,e,n)=>{"use strict";t.exports=n(67392)},10671:(t,e,n)=>{window,t.exports=function(t,e,n){return i={},r.m=o=[function(t,e,n){t.exports=n(9)()},function(e,n){e.exports=t},function(t,e,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var i=typeof r;if("string"==i||"number"==i)t.push(r);else if(Array.isArray(r)&&r.length){var a=o.apply(null,r);a&&t.push(a)}else if("object"==i)for(var s in r)n.call(r,s)&&r[s]&&t.push(s)}}return t.join(" ")}t.exports?(o.default=o,t.exports=o):void 0===(r=function(){return o}.apply(e,[]))||(t.exports=r)}()},function(t,n){t.exports=e},function(t,e,n){function r(t){if(s[t])return s[t].exports;var e=s[t]={i:t,l:!1,exports:{}};return a[t].call(e.exports,e,e.exports,r),e.l=!0,e.exports}var o,i,a,s;window,t.exports=(o=n(3),i=n(5),s={},r.m=a=[function(t,e){t.exports=o},function(t,e){t.exports=i},function(t,e,n){t.exports=n(3)},function(t,e,n){"use strict";n.r(e);var r=n(0),o=n(1);function i(t){var e=t.getSelection(),n=t.getCurrentContent(),r=e.getStartKey(),o=e.getEndKey(),i=n.getBlockMap();return i.toSeq().skipUntil((function(t,e){return e===r})).takeUntil((function(t,e){return e===o})).concat([[o,i.get(o)]])}function a(t){return i(t).toList()}function s(t){if(t)return a(t).get(0)}function c(t){if(t){var e=s(t),n=t.getCurrentContent().getBlockMap().toSeq().toList(),r=0;if(n.forEach((function(t,n){t.get("key")===e.get("key")&&(r=n-1)})),-1<r)return n.get(r)}}function u(t){return t?t.getCurrentContent().getBlockMap().toList():new o.List}function l(t){var e=a(t);if(!e.some((function(t){return t.type!==e.get(0).type})))return e.get(0).type}function p(t){var e=r.RichUtils.tryToRemoveBlockStyle(t);return e?r.EditorState.push(t,e,"change-block-type"):t}function f(t){var e="",n=t.getSelection(),r=n.getAnchorOffset(),o=n.getFocusOffset(),i=a(t);if(0<i.size){if(n.getIsBackward()){var s=r;r=o,o=s}for(var c=0;c<i.size;c+=1){var u=0===c?r:0,l=c===i.size-1?o:i.get(c).getText().length;e+=i.get(c).getText().slice(u,l)}}return e}function d(t){var e=t.getCurrentContent(),n=t.getSelection(),o=r.Modifier.removeRange(e,n,"forward"),i=o.getSelectionAfter(),a=o.getBlockForKey(i.getStartKey());return o=r.Modifier.insertText(o,i,"\n",a.getInlineStyleAt(i.getStartOffset()),null),r.EditorState.push(t,o,"insert-fragment")}function h(t){var e=r.Modifier.splitBlock(t.getCurrentContent(),t.getSelection());return p(r.EditorState.push(t,e,"split-block"))}function y(t){var e=t.getCurrentContent().getBlockMap().toList(),n=t.getSelection().merge({anchorKey:e.first().get("key"),anchorOffset:0,focusKey:e.last().get("key"),focusOffset:e.last().getLength()}),o=r.Modifier.removeRange(t.getCurrentContent(),n,"forward");return r.EditorState.push(t,o,"remove-range")}function g(t,e){var n=r.Modifier.setBlockData(t.getCurrentContent(),t.getSelection(),e);return r.EditorState.push(t,n,"change-block-data")}function m(t){var e=new o.Map({}),n=a(t);if(n&&0<n.size)for(var r=function(t){var r=n.get(t).getData();if(!r||0===r.size)return e=e.clear(),"break";if(0===t)e=r;else if(e.forEach((function(t,n){r.get(n)&&r.get(n)===t||(e=e.delete(n))})),0===e.size)return e=e.clear(),"break"},i=0;i<n.size&&"break"!==r(i);i+=1);return e}var v=Object(o.Map)({code:{element:"pre"}}),b=r.DefaultDraftBlockRenderMap.merge(v);function _(t){if(t){var e=t.getType();return"unordered-list-item"===e||"ordered-list-item"===e}return!1}function w(t,e,n){var o,a=t.getSelection();o=a.getIsBackward()?a.getFocusKey():a.getAnchorKey();var s=t.getCurrentContent(),c=s.getBlockForKey(o),u=c.getType();if("unordered-list-item"!==u&&"ordered-list-item"!==u)return t;var l=s.getBlockBefore(o);if(!l)return t;if(l.getType()!==u)return t;var p=c.getDepth();if(1===e&&p===n)return t;var f,d,h,y,g,m,v,b=Math.min(l.getDepth()+1,n),_=(d=e,h=b,y=(f=t).getSelection(),m=(g=f.getCurrentContent()).getBlockMap(),v=i(f).map((function(t){var e=t.getDepth()+d;return e=Math.max(0,Math.min(e,h)),t.set("depth",e)})),m=m.merge(v),g.merge({blockMap:m,selectionBefore:y,selectionAfter:y}));return r.EditorState.push(t,_,"adjust-depth")}function S(t,e){var n;return 13===(n=e).which&&(n.getModifierState("Shift")||n.getModifierState("Alt")||n.getModifierState("Control"))?t.getSelection().isCollapsed()?r.RichUtils.insertSoftNewline(t):d(t):function(t){var e=t.getSelection();if(e.isCollapsed()){var n=t.getCurrentContent(),r=e.getStartKey(),o=n.getBlockForKey(r);if(!_(o)&&"unstyled"!==o.getType()&&o.getLength()===e.getStartOffset())return h(t);if(_(o)&&0===o.getLength()){var i=o.getDepth();if(0===i)return p(t);if(0<i)return w(t,-1,i)}}}(t)}function M(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function E(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function x(t){return(x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function k(t){var e=t.getSelection();if(e.isCollapsed()){var n={},r=t.getCurrentInlineStyle().toList().toJS();if(r)return["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","CODE","SUPERSCRIPT","SUBSCRIPT"].forEach((function(t){n[t]=0<=r.indexOf(t)})),n}var o=e.getStartOffset(),i=e.getEndOffset(),s=a(t);if(0<s.size){var c=function(){for(var t={BOLD:!0,ITALIC:!0,UNDERLINE:!0,STRIKETHROUGH:!0,CODE:!0,SUPERSCRIPT:!0,SUBSCRIPT:!0},e=0;e<s.size;e+=1){var n=0===e?o:0,r=e===s.size-1?i:s.get(e).getText().length;n===r&&0===n?(n=1,r=2):n===r&&--n;for(var a=function(n){var r=s.get(e).getInlineStyleAt(n);["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","CODE","SUPERSCRIPT","SUBSCRIPT"].forEach((function(e){t[e]=t[e]&&r.get(e)===e}))},c=n;c<r;c+=1)a(c)}return{v:t}}();if("object"===x(c))return c.v}return{}}function C(t){var e,n=t.getSelection(),r=n.getStartOffset(),o=n.getEndOffset();r===o&&0===r?o=1:r===o&&--r;for(var i=s(t),a=r;a<o;a+=1){var c=i.getEntityAt(a);if(!c){e=void 0;break}if(a===r)e=c;else if(e!==c){e=void 0;break}}return e}function j(t,e){var n,r=s(t);return r.findEntityRanges((function(t){return t.get("entity")===e}),(function(t,e){n={start:t,end:e,text:r.get("text").slice(t,e)}})),n}function D(t,e,n){I[t]["".concat(t.toLowerCase(),"-").concat(n)]=E({},"".concat(e),n)}function O(){return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?M(Object(n),!0).forEach((function(e){E(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},I.color,{},I.bgcolor,{},I.fontSize,{},I.fontFamily,{CODE:I.CODE,SUPERSCRIPT:I.SUPERSCRIPT,SUBSCRIPT:I.SUBSCRIPT})}var I={color:{},bgcolor:{},fontSize:{},fontFamily:{},CODE:{fontFamily:"monospace",wordWrap:"break-word",background:"#f1f1f1",borderRadius:3,padding:"1px 3px"},SUPERSCRIPT:{fontSize:11,position:"relative",top:-8,display:"inline-flex"},SUBSCRIPT:{fontSize:11,position:"relative",bottom:-8,display:"inline-flex"}};function L(t,e,n){var o=t.getSelection(),i=Object.keys(I[e]).reduce((function(t,e){return r.Modifier.removeInlineStyle(t,o,e)}),t.getCurrentContent()),a=r.EditorState.push(t,i,"changeinline-style"),s=t.getCurrentInlineStyle();if(o.isCollapsed()&&(a=s.reduce((function(t,e){return r.RichUtils.toggleInlineStyle(t,e)}),a)),"SUPERSCRIPT"===e||"SUBSCRIPT"==e)s.has(n)||(a=r.RichUtils.toggleInlineStyle(a,n));else{var c="bgcolor"===e?"backgroundColor":e;s.has("".concat(c,"-").concat(n))||(a=r.RichUtils.toggleInlineStyle(a,"".concat(e.toLowerCase(),"-").concat(n)),D(e,c,n))}return a}function N(t){t&&t.getCurrentContent().getBlockMap().map((function(t){return t.get("characterList")})).toList().flatten().forEach((function(t){t&&0===t.indexOf("color-")?D("color","color",t.substr(6)):t&&0===t.indexOf("bgcolor-")?D("bgcolor","backgroundColor",t.substr(8)):t&&0===t.indexOf("fontsize-")?D("fontSize","fontSize",+t.substr(9)):t&&0===t.indexOf("fontfamily-")&&D("fontFamily","fontFamily",t.substr(11))}))}function A(t,e,n){var r=t.getInlineStyleAt(n).toList().filter((function(t){return t.startsWith(e.toLowerCase())}));if(r&&0<r.size)return r.get(0)}function T(t,e){if(t&&e&&0<e.length){var n=function(){var n=t.getSelection(),r={};if(n.isCollapsed())return e.forEach((function(e){r[e]=function(t,e){var n=t.getCurrentInlineStyle().toList().filter((function(t){return t.startsWith(e.toLowerCase())}));if(n&&0<n.size)return n.get(0)}(t,e)})),{v:r};var o=n.getStartOffset(),i=n.getEndOffset(),s=a(t);if(0<s.size){for(var c=function(t){var n=0===t?o:0,a=t===s.size-1?i:s.get(t).getText().length;n===a&&0===n?(n=1,a=2):n===a&&--n;for(var c=function(o){o===n?e.forEach((function(e){r[e]=A(s.get(t),e,o)})):e.forEach((function(e){r[e]&&r[e]!==A(s.get(t),e,o)&&(r[e]=void 0)}))},u=n;u<a;u+=1)c(u)},u=0;u<s.size;u+=1)c(u);return{v:r}}}();if("object"===x(n))return n.v}return{}}function z(t){var e=t.getCurrentInlineStyle(),n=t.getCurrentContent();return e.forEach((function(e){n=r.Modifier.removeInlineStyle(n,t.getSelection(),e)})),r.EditorState.push(t,n,"change-inline-style")}n.d(e,"isListBlock",(function(){return _})),n.d(e,"changeDepth",(function(){return w})),n.d(e,"handleNewLine",(function(){return S})),n.d(e,"getEntityRange",(function(){return j})),n.d(e,"getCustomStyleMap",(function(){return O})),n.d(e,"toggleCustomInlineStyle",(function(){return L})),n.d(e,"getSelectionEntity",(function(){return C})),n.d(e,"extractInlineStyle",(function(){return N})),n.d(e,"removeAllInlineStyles",(function(){return z})),n.d(e,"getSelectionInlineStyle",(function(){return k})),n.d(e,"getSelectionCustomInlineStyle",(function(){return T})),n.d(e,"getSelectedBlocksMap",(function(){return i})),n.d(e,"getSelectedBlocksList",(function(){return a})),n.d(e,"getSelectedBlock",(function(){return s})),n.d(e,"getBlockBeforeSelectedBlock",(function(){return c})),n.d(e,"getAllBlocks",(function(){return u})),n.d(e,"getSelectedBlocksType",(function(){return l})),n.d(e,"removeSelectedBlocksStyle",(function(){return p})),n.d(e,"getSelectionText",(function(){return f})),n.d(e,"addLineBreakRemovingSelection",(function(){return d})),n.d(e,"insertNewUnstyledBlock",(function(){return h})),n.d(e,"clearEditorContent",(function(){return y})),n.d(e,"setBlockData",(function(){return g})),n.d(e,"getSelectedBlocksMetadata",(function(){return m})),n.d(e,"blockRenderMap",(function(){return b}))}],r.c=s,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=2))},function(t,e){t.exports=n},function(t,e,n){function r(t){if(s[t])return s[t].exports;var e=s[t]={i:t,l:!1,exports:{}};return a[t].call(e.exports,e,e.exports,r),e.l=!0,e.exports}var o,i,a,s;window,t.exports=(o=n(5),i=n(3),s={},r.m=a=[function(t,e){t.exports=o},function(t,e){t.exports=i},function(t,e,n){t.exports=n(3)},function(t,e,n){"use strict";n.r(e);var r=n(1),o=n(0),i=function(t,e,n){var r,i=t.textContent;return""===i.trim()?{chunk:(r=n,{text:" ",inlines:[new o.OrderedSet],entities:[r],blocks:[]})}:{chunk:{text:i,inlines:Array(i.length).fill(e),entities:Array(i.length).fill(n),blocks:[]}}},a=function(){return{text:"\n",inlines:[new o.OrderedSet],entities:new Array(1),blocks:[]}},s=function(t,e){return{text:"",inlines:[],entities:[],blocks:[{type:t,depth:0,data:e||new o.Map({})}]}},c=function(t,e,n){return{text:"\r",inlines:[],entities:[],blocks:[{type:t,depth:Math.max(0,Math.min(4,e)),data:n||new o.Map({})}]}},u=function(t){return{text:"\r ",inlines:[new o.OrderedSet],entities:[t],blocks:[{type:"atomic",depth:0,data:new o.Map({})}]}},l=function(t,e){return{text:t.text+e.text,inlines:t.inlines.concat(e.inlines),entities:t.entities.concat(e.entities),blocks:t.blocks.concat(e.blocks)}},p=new o.Map({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},"unordered-list-item":{element:"li",wrapper:"ul"},"ordered-list-item":{element:"li",wrapper:"ol"},blockquote:{element:"blockquote"},code:{element:"pre"},atomic:{element:"figure"},unstyled:{element:"p",aliasedElements:["div"]}}),f={code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",strong:"BOLD",ins:"UNDERLINE",sub:"SUBSCRIPT",sup:"SUPERSCRIPT"};function d(t){return t.style.textAlign?new o.Map({"text-align":t.style.textAlign}):t.style.marginLeft?new o.Map({"margin-left":t.style.marginLeft}):void 0}var h=function(t){var e=void 0;if(t instanceof HTMLAnchorElement){var n={};e=t.dataset&&void 0!==t.dataset.mention?(n.url=t.href,n.text=t.innerHTML,n.value=t.dataset.value,r.Entity.__create("MENTION","IMMUTABLE",n)):(n.url=t.getAttribute&&t.getAttribute("href")||t.href,n.title=t.innerHTML,n.targetOption=t.target,r.Entity.__create("LINK","MUTABLE",n))}return e};n.d(e,"default",(function(){return m}));var y=new RegExp(" ","g"),g=!0;function m(t,e){var n,m,v=(n=e,(m=function(t){var e,n=null;return document.implementation&&document.implementation.createHTMLDocument&&((e=document.implementation.createHTMLDocument("foo")).documentElement.innerHTML=t,n=e.getElementsByTagName("body")[0]),n}(t.trim().replace(y," ")))?(g=!0,{chunk:function t(e,n,o,y,m,v){var b=e.nodeName.toLowerCase();if(v){var _=v(b,e);if(_){var w=r.Entity.__create(_.type,_.mutability,_.data||{});return{chunk:u(w)}}}if("#text"===b&&"\n"!==e.textContent)return i(e,n,m);if("br"===b)return{chunk:a()};if("img"===b&&e instanceof HTMLImageElement){var S={};S.src=e.getAttribute&&e.getAttribute("src")||e.src,S.alt=e.alt,S.height=e.style.height,S.width=e.style.width,e.style.float&&(S.alignment=e.style.float);var M=r.Entity.__create("IMAGE","MUTABLE",S);return{chunk:u(M)}}if("video"===b&&e instanceof HTMLVideoElement){var E={};E.src=e.getAttribute&&e.getAttribute("src")||e.src,E.alt=e.alt,E.height=e.style.height,E.width=e.style.width,e.style.float&&(E.alignment=e.style.float);var x=r.Entity.__create("VIDEO","MUTABLE",E);return{chunk:u(x)}}if("iframe"===b&&e instanceof HTMLIFrameElement){var k={};k.src=e.getAttribute&&e.getAttribute("src")||e.src,k.height=e.height,k.width=e.width;var C=r.Entity.__create("EMBEDDED_LINK","MUTABLE",k);return{chunk:u(C)}}var j,D=function(t,e){var n=p.filter((function(n){return n.element===t&&(!n.wrapper||n.wrapper===e)||n.wrapper===t||n.aliasedElements&&-1<n.aliasedElements.indexOf(t)})).keySeq().toSet().toArray();if(1===n.length)return n[0]}(b,y);D&&("ul"===b||"ol"===b?(y=b,o+=1):("unordered-list-item"!==D&&"ordered-list-item"!==D&&(y="",o=-1),g?(j=s(D,d(e)),g=!1):j=c(D,o,d(e)))),j=j||{text:"",inlines:[],entities:[],blocks:[]},n=function(t,e,n){var r,o=f[t];if(o)r=n.add(o).toOrderedSet();else if(e instanceof HTMLElement){var i=e;r=(r=n).withMutations((function(t){var e=i.style.color,n=i.style.backgroundColor,r=i.style.fontSize,o=i.style.fontFamily.replace(/^"|"$/g,""),a=i.style.fontWeight,s=i.style.textDecoration,c=i.style.fontStyle;e&&t.add("color-".concat(e.replace(/ /g,""))),n&&t.add("bgcolor-".concat(n.replace(/ /g,""))),r&&t.add("fontsize-".concat(r.replace(/px$/g,""))),o&&t.add("fontfamily-".concat(o)),"bold"===a&&t.add(f.strong),"underline"===s&&t.add(f.ins),"italic"===c&&t.add(f.em)})).toOrderedSet()}return r}(b,e,n);for(var O=e.firstChild;O;){var I=t(O,n,o,y,h(O)||m,v).chunk;j=l(j,I),O=O.nextSibling}return{chunk:j}}(m,new o.OrderedSet,-1,"",void 0,n).chunk}):null);if(v){var b=v.chunk,_=new o.OrderedMap({});b.entities&&b.entities.forEach((function(t){t&&(_=_.set(t,r.Entity.__get(t)))}));var w=0;return{contentBlocks:b.text.split("\r").map((function(t,e){var n=w+t.length,i=b&&b.inlines.slice(w,n),a=b&&b.entities.slice(w,n),s=new o.List(i.map((function(t,e){var n={style:t,entity:null};return a[e]&&(n.entity=a[e]),r.CharacterMetadata.create(n)})));return w=n,new r.ContentBlock({key:Object(r.genKey)(),type:b&&b.blocks[e]&&b.blocks[e].type||"unstyled",depth:b&&b.blocks[e]&&b.blocks[e].depth,data:b&&b.blocks[e]&&b.blocks[e].data||new o.Map({}),text:t,characterList:s})})),entityMap:_}}return null}}],r.c=s,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=2))},function(t,e,n){"use strict";function r(t){return Array.prototype.slice.call(arguments,1).forEach((function(e){e&&Object.keys(e).forEach((function(n){t[n]=e[n]}))})),t}function o(t){return Object.prototype.toString.call(t)}function i(t){return"[object Function]"===o(t)}function a(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var s={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},c={"http:":{validate:function(t,e,n){var r=t.slice(e);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,n){var r=t.slice(e);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?3<=e&&":"===t[e-3]||3<=e&&"/"===t[e-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,n){var r=t.slice(e);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},u="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function l(t){var e=t.re=n(21)(t.__opts__),r=t.__tlds__.slice();function s(t){return t.replace("%TLDS%",e.src_tlds)}t.onCompile(),t.__tlds_replaced__||r.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),r.push(e.src_xn),e.src_tlds=r.join("|"),e.email_fuzzy=RegExp(s(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(s(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(s(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(s(e.tpl_host_fuzzy_test),"i");var c=[];function u(t,e){throw new Error('(LinkifyIt) Invalid schema "'+t+'": '+e)}t.__compiled__={},Object.keys(t.__schemas__).forEach((function(e){var n=t.__schemas__[e];if(null!==n){var r,a={validate:null,link:null};if(t.__compiled__[e]=a,"[object Object]"===o(n))return"[object RegExp]"===o(n.validate)?a.validate=(r=n.validate,function(t,e){var n=t.slice(e);return r.test(n)?n.match(r)[0].length:0}):i(n.validate)?a.validate=n.validate:u(e,n),void(i(n.normalize)?a.normalize=n.normalize:n.normalize?u(e,n):a.normalize=function(t,e){e.normalize(t)});"[object String]"!==o(n)?u(e,n):c.push(e)}})),c.forEach((function(e){t.__compiled__[t.__schemas__[e]]&&(t.__compiled__[e].validate=t.__compiled__[t.__schemas__[e]].validate,t.__compiled__[e].normalize=t.__compiled__[t.__schemas__[e]].normalize)})),t.__compiled__[""]={validate:null,normalize:function(t,e){e.normalize(t)}};var l,p=Object.keys(t.__compiled__).filter((function(e){return 0<e.length&&t.__compiled__[e]})).map(a).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+p+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+p+")","ig"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),(l=t).__index__=-1,l.__text_cache__=""}function p(t,e){var n=t.__index__,r=t.__last_index__,o=t.__text_cache__.slice(n,r);this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=r+e,this.raw=o,this.text=o,this.url=o}function f(t,e){var n=new p(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function d(t,e){if(!(this instanceof d))return new d(t,e);var n;e||(n=t,Object.keys(n||{}).reduce((function(t,e){return t||s.hasOwnProperty(e)}),!1)&&(e=t,t={})),this.__opts__=r({},s,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},c,t),this.__compiled__={},this.__tlds__=u,this.__tlds_replaced__=!1,this.re={},l(this)}d.prototype.add=function(t,e){return this.__schemas__[t]=e,l(this),this},d.prototype.set=function(t){return this.__opts__=r(this.__opts__,t),this},d.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;var e,n,r,o,i,a,s,c;if(this.re.schema_test.test(t))for((s=this.re.schema_search).lastIndex=0;null!==(e=s.exec(t));)if(o=this.testSchemaAt(t,e[2],s.lastIndex)){this.__schema__=e[2],this.__index__=e.index+e[1].length,this.__last_index__=e.index+e[0].length+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&0<=(c=t.search(this.re.host_fuzzy_test))&&(this.__index__<0||c<this.__index__)&&null!==(n=t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(i=n.index+n[1].length,(this.__index__<0||i<this.__index__)&&(this.__schema__="",this.__index__=i,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&0<=t.indexOf("@")&&null!==(r=t.match(this.re.email_fuzzy))&&(i=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||i<this.__index__||i===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=a)),0<=this.__index__},d.prototype.pretest=function(t){return this.re.pretest.test(t)},d.prototype.testSchemaAt=function(t,e,n){return this.__compiled__[e.toLowerCase()]?this.__compiled__[e.toLowerCase()].validate(t,n,this):0},d.prototype.match=function(t){var e=0,n=[];0<=this.__index__&&this.__text_cache__===t&&(n.push(f(this,e)),e=this.__last_index__);for(var r=e?t.slice(e):t;this.test(r);)n.push(f(this,e)),r=r.slice(this.__last_index__),e+=this.__last_index__;return n.length?n:null},d.prototype.tlds=function(t,e){return t=Array.isArray(t)?t:[t],e?this.__tlds__=this.__tlds__.concat(t).sort().filter((function(t,e,n){return t!==n[e-1]})).reverse():(this.__tlds__=t.slice(),this.__tlds_replaced__=!0),l(this),this},d.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),"mailto:"!==t.schema||/^mailto:/i.test(t.url)||(t.url="mailto:"+t.url)},d.prototype.onCompile=function(){},t.exports=d},function(t,e,n){t.exports=n(40)},function(t,e,n){"use strict";var r=n(10);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function e(){return t}var n={array:t.isRequired=t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n}},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){"use strict";t.exports=function(t){var e={};e.src_Any=n(22).source,e.src_Cc=n(23).source,e.src_Z=n(24).source,e.src_P=n(25).source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|");return e.src_pseudo_letter="(?:(?![><|]|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|[><|]|"+e.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!"+e.src_ZCc+"|[.]).|"+(t&&t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+e.src_ZCc+").|\\!(?!"+e.src_ZCc+"|[!]).|\\?(?!"+e.src_ZCc+"|[?]).)+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy='(^|[><|]|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}},function(t,e){t.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},function(t,e){t.exports=/[\0-\x1F\x7F-\x9F]/},function(t,e){t.exports=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/},function(t,e){t.exports=/[!-#%-\*,-/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E44\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD807[\uDC41-\uDC45\uDC70\uDC71]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){"use strict";n.r(e);var r=n(1),o=n.n(r),i=n(0),a=n.n(i),s=n(3),c=n(4),u=n(2),l=n.n(u);function p(){var t=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,p),this.callBacks=[],this.suggestionCallback=void 0,this.editorFlag=!1,this.suggestionFlag=!1,this.closeAllModals=function(e){t.callBacks.forEach((function(t){t(e)}))},this.init=function(e){var n=document.getElementById(e);n&&n.addEventListener("click",(function(){t.editorFlag=!0})),document&&(document.addEventListener("click",(function(){t.editorFlag?t.editorFlag=!1:(t.closeAllModals(),t.suggestionCallback&&t.suggestionCallback())})),document.addEventListener("keydown",(function(e){"Escape"===e.key&&t.closeAllModals()})))},this.onEditorClick=function(){t.closeModals(),!t.suggestionFlag&&t.suggestionCallback?t.suggestionCallback():t.suggestionFlag=!1},this.closeModals=function(e){t.closeAllModals(e)},this.registerCallBack=function(e){t.callBacks.push(e)},this.deregisterCallBack=function(e){t.callBacks=t.callBacks.filter((function(t){return t!==e}))},this.setSuggestionCallback=function(e){t.suggestionCallback=e},this.removeSuggestionCallback=function(){t.suggestionCallback=void 0},this.onSuggestionClick=function(){t.suggestionFlag=!0}}function f(){var t=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f),this.inputFocused=!1,this.editorMouseDown=!1,this.onEditorMouseDown=function(){t.editorFocused=!0},this.onInputMouseDown=function(){t.inputFocused=!0},this.isEditorBlur=function(e){return"INPUT"!==e.target.tagName&&"LABEL"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName||t.editorFocused?!("INPUT"===e.target.tagName&&"LABEL"===e.target.tagName&&"TEXTAREA"===e.target.tagName||t.inputFocused||(t.editorFocused=!1)):!(t.inputFocused=!1)},this.isEditorFocused=function(){return!t.inputFocused||(t.inputFocused=!1)},this.isToolbarFocused=function(){return!t.editorFocused||(t.editorFocused=!1)},this.isInputFocused=function(){return t.inputFocused}}var d,h=[],y={onKeyDown:function(t){h.forEach((function(e){e(t)}))},registerCallBack:function(t){h.push(t)},deregisterCallBack:function(t){h=h.filter((function(e){return e!==t}))}},g=function(){d=!0},m=function(){d=!1},v=function(){return d};function b(t){var e=t.getData()&&t.getData().get("text-align");return e?"rdw-".concat(e,"-aligned-block"):""}function _(t,e){if(t)for(var n in t)!{}.hasOwnProperty.call(t,n)||e(n,t[n])}function w(t,e){var n=!1;if(t)for(var r in t)if({}.hasOwnProperty.call(t,r)&&e===r){n=!0;break}return n}function S(t){t.stopPropagation()}function M(t){return t[t.options[0]].icon}function E(t,e){if(t&&void 0===e)return t;var n={};return _(t,(function(t,r){var o;o=r,"[object Object]"===Object.prototype.toString.call(o)?n[t]=E(r,e[t]):n[t]=void 0!==e[t]?e[t]:r})),n}var x=n(6),k=n.n(x),C=n(5);function j(t){return(j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function D(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function O(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function I(t,e){return!e||"object"!==j(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function L(t){return(L=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function N(t,e){return(N=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}n(11);var A=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=I(this,(e=L(t)).call.apply(e,[this].concat(o)))).onClick=function(){var t=n.props,e=t.disabled,r=t.onClick,o=t.value;e||r(o)},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&N(t,e)}(t,r.Component),e=t,(n=[{key:"render",value:function(){var t,e=this.props,n=e.children,r=e.className,i=e.activeClassName,a=e.active,s=e.disabled,c=e.title;return o.a.createElement("div",{className:l()("rdw-option-wrapper",r,(D(t={},"rdw-option-active ".concat(i),a),D(t,"rdw-option-disabled",s),t)),onClick:this.onClick,"aria-selected":a,title:c},n)}}])&&O(e.prototype,n),t}();function T(t){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function z(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function R(t,e){return!e||"object"!==T(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function P(t){return(P=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function B(t,e){return(B=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}A.propTypes={onClick:a.a.func.isRequired,children:a.a.any,value:a.a.string,className:a.a.string,activeClassName:a.a.string,active:a.a.bool,disabled:a.a.bool,title:a.a.string},A.defaultProps={activeClassName:""},n(12);var F=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=R(this,(e=P(t)).call.apply(e,[this].concat(o)))).state={highlighted:-1},n.onChange=function(t){var e=n.props.onChange;e&&e(t),n.toggleExpansion()},n.setHighlighted=function(t){n.setState({highlighted:t})},n.toggleExpansion=function(){var t=n.props,e=t.doExpand,r=t.doCollapse;t.expanded?r():e()},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&B(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.expanded;t.expanded&&!e&&this.setState({highlighted:-1})}},{key:"render",value:function(){var t=this,e=this.props,n=e.expanded,r=e.children,i=e.className,a=e.optionWrapperClassName,s=e.ariaLabel,c=e.onExpandEvent,u=e.title,p=this.state.highlighted,f=r.slice(1,r.length);return o.a.createElement("div",{className:l()("rdw-dropdown-wrapper",i),"aria-expanded":n,"aria-label":s||"rdw-dropdown"},o.a.createElement("a",{className:"rdw-dropdown-selectedtext",onClick:c,title:u},r[0],o.a.createElement("div",{className:l()({"rdw-dropdown-carettoclose":n,"rdw-dropdown-carettoopen":!n})})),n?o.a.createElement("ul",{className:l()("rdw-dropdown-optionwrapper",a),onClick:S},o.a.Children.map(f,(function(e,n){return e&&o.a.cloneElement(e,{onSelect:t.onChange,highlighted:p===n,setHighlighted:t.setHighlighted,index:n})}))):void 0)}}])&&z(e.prototype,n),t}();function U(t){return(U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function K(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function H(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function q(t,e){return!e||"object"!==U(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function Y(t){return(Y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function W(t,e){return(W=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}F.propTypes={children:a.a.any,onChange:a.a.func,className:a.a.string,expanded:a.a.bool,doExpand:a.a.func,doCollapse:a.a.func,onExpandEvent:a.a.func,optionWrapperClassName:a.a.string,ariaLabel:a.a.string,title:a.a.string},n(13);var Q=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=q(this,(e=Y(t)).call.apply(e,[this].concat(o)))).onClick=function(t){var e=n.props,r=e.onSelect,o=e.onClick,i=e.value;e.disabled||(r&&r(i),o&&(t.stopPropagation(),o(i)))},n.setHighlighted=function(){var t=n.props;(0,t.setHighlighted)(t.index)},n.resetHighlighted=function(){(0,n.props.setHighlighted)(-1)},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&W(t,e)}(t,r.Component),e=t,(n=[{key:"render",value:function(){var t,e=this.props,n=e.children,r=e.active,i=e.disabled,a=e.highlighted,s=e.className,c=e.activeClassName,u=e.disabledClassName,p=e.highlightedClassName,f=e.title;return o.a.createElement("li",{className:l()("rdw-dropdownoption-default",s,(K(t={},"rdw-dropdownoption-active ".concat(c),r),K(t,"rdw-dropdownoption-highlighted ".concat(p),a),K(t,"rdw-dropdownoption-disabled ".concat(u),i),t)),onMouseEnter:this.setHighlighted,onMouseLeave:this.resetHighlighted,onClick:this.onClick,title:f},n)}}])&&H(e.prototype,n),t}();function Z(t){return(Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function V(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function G(t,e){return!e||"object"!==Z(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function J(t){return(J=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function X(t,e){return(X=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Q.propTypes={children:a.a.any,value:a.a.any,onClick:a.a.func,onSelect:a.a.func,setHighlighted:a.a.func,index:a.a.number,disabled:a.a.bool,active:a.a.bool,highlighted:a.a.bool,className:a.a.string,activeClassName:a.a.string,disabledClassName:a.a.string,highlightedClassName:a.a.string,title:a.a.string},Q.defaultProps={activeClassName:"",disabledClassName:"",highlightedClassName:""},n(14);var $=function(){function t(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),G(this,J(t).apply(this,arguments))}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&X(t,e)}(t,r.Component),e=t,(n=[{key:"renderInFlatList",value:function(){var t=this.props,e=t.config,n=t.currentState,r=t.onChange,i=t.translations;return o.a.createElement("div",{className:l()("rdw-inline-wrapper",e.className),"aria-label":"rdw-inline-control"},e.options.map((function(t,a){return o.a.createElement(A,{key:a,value:t,onClick:r,className:l()(e[t].className),active:!0===n[t]||"MONOSPACE"===t&&n.CODE,title:e[t].title||i["components.controls.inline.".concat(t)]},o.a.createElement("img",{alt:"",src:e[t].icon}))})))}},{key:"renderInDropDown",value:function(){var t=this.props,e=t.config,n=t.expanded,r=t.doExpand,i=t.onExpandEvent,a=t.doCollapse,s=t.currentState,c=t.onChange,u=t.translations,p=e.className,f=e.dropdownClassName,d=e.title;return o.a.createElement(F,{className:l()("rdw-inline-dropdown",p),optionWrapperClassName:l()(f),onChange:c,expanded:n,doExpand:r,doCollapse:a,onExpandEvent:i,"aria-label":"rdw-inline-control",title:d},o.a.createElement("img",{src:M(e),alt:""}),e.options.map((function(t,n){return o.a.createElement(Q,{key:n,value:t,className:l()("rdw-inline-dropdownoption",e[t].className),active:!0===s[t]||"MONOSPACE"===t&&s.CODE,title:e[t].title||u["components.controls.inline.".concat(t)]},o.a.createElement("img",{src:e[t].icon,alt:""}))})))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&V(e.prototype,n),t}();function tt(t){return(tt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function et(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function nt(t){return(nt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function rt(t,e){return(rt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}$.propTypes={expanded:a.a.bool,doExpand:a.a.func,doCollapse:a.a.func,onExpandEvent:a.a.func,config:a.a.object,onChange:a.a.func,currentState:a.a.object,translations:a.a.object};var ot=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==tt(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,nt(t).call(this,e))).onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.toggleInlineStyle=function(t){var e="monospace"===t?"CODE":t.toUpperCase(),r=n.props,o=r.editorState,i=r.onChange,a=s.RichUtils.toggleInlineStyle(o,e);if("subscript"===t||"superscript"===t){var c="subscript"===t?"SUPERSCRIPT":"SUBSCRIPT",u=s.Modifier.removeInlineStyle(a.getCurrentContent(),a.getSelection(),c);a=s.EditorState.push(a,u,"change-inline-style")}a&&i(a)},n.changeKeys=function(t){if(t){var e={};return _(t,(function(t,n){e["CODE"===t?"monospace":t.toLowerCase()]=n})),e}},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})};var r=n.props,o=r.editorState,i=r.modalHandler;return n.state={currentStyles:o?n.changeKeys(Object(c.getSelectionInlineStyle)(o)):{}},i.registerCallBack(n.expandCollapse),n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rt(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&e!==t.editorState&&this.setState({currentStyles:this.changeKeys(Object(c.getSelectionInlineStyle)(e))})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state,i=r.expanded,a=r.currentStyles,s=e.component||$;return o.a.createElement(s,{config:e,translations:n,currentState:a,expanded:i,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.toggleInlineStyle})}}])&&et(e.prototype,n),t}();function it(t){return(it="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function at(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function st(t){return(st=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ct(t,e){return(ct=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}ot.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object},n(15);var ut=function(){function t(e){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==it(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,st(t).call(this,e))).getBlockTypes=function(t){return[{label:"Normal",displayName:t["components.controls.blocktype.normal"]},{label:"H1",displayName:t["components.controls.blocktype.h1"]},{label:"H2",displayName:t["components.controls.blocktype.h2"]},{label:"H3",displayName:t["components.controls.blocktype.h3"]},{label:"H4",displayName:t["components.controls.blocktype.h4"]},{label:"H5",displayName:t["components.controls.blocktype.h5"]},{label:"H6",displayName:t["components.controls.blocktype.h6"]},{label:"Blockquote",displayName:t["components.controls.blocktype.blockquote"]},{label:"Code",displayName:t["components.controls.blocktype.code"]}]},n.state={blockTypes:n.getBlockTypes(e.translations)},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ct(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.translations;e!==t.translations&&this.setState({blockTypes:this.getBlockTypes(e)})}},{key:"renderFlat",value:function(t){var e=this.props,n=e.config.className,r=e.onChange,i=e.currentState.blockType;return o.a.createElement("div",{className:l()("rdw-inline-wrapper",n)},t.map((function(t,e){return o.a.createElement(A,{key:e,value:t.label,active:i===t.label,onClick:r},t.displayName)})))}},{key:"renderInDropdown",value:function(t){var e=this.props,n=e.config,r=n.className,i=n.dropdownClassName,a=n.title,s=e.currentState.blockType,c=e.expanded,u=e.doExpand,p=e.onExpandEvent,f=e.doCollapse,d=e.onChange,h=e.translations,y=this.state.blockTypes.filter((function(t){return t.label===s})),g=y&&y[0]&&y[0].displayName;return o.a.createElement("div",{className:"rdw-block-wrapper","aria-label":"rdw-block-control"},o.a.createElement(F,{className:l()("rdw-block-dropdown",r),optionWrapperClassName:l()(i),onChange:d,expanded:c,doExpand:u,doCollapse:f,onExpandEvent:p,title:a||h["components.controls.blocktype.blocktype"]},o.a.createElement("span",null,g||h["components.controls.blocktype.blocktype"]),t.map((function(t,e){return o.a.createElement(Q,{active:s===t.label,value:t.label,key:e},t.displayName)}))))}},{key:"render",value:function(){var t=this.props.config,e=t.inDropdown,n=this.state.blockTypes.filter((function(e){var n=e.label;return-1<t.options.indexOf(n)}));return e?this.renderInDropdown(n):this.renderFlat(n)}}])&&at(e.prototype,n),t}();ut.propTypes={expanded:a.a.bool,onExpandEvent:a.a.func,doExpand:a.a.func,doCollapse:a.a.func,onChange:a.a.func,config:a.a.object,currentState:a.a.object,translations:a.a.object};var lt=ut;function pt(t){return(pt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ft(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function dt(t){return(dt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ht(t,e){return(ht=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var yt=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==pt(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,dt(t).call(this,e))).onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.blocksTypes=[{label:"Normal",style:"unstyled"},{label:"H1",style:"header-one"},{label:"H2",style:"header-two"},{label:"H3",style:"header-three"},{label:"H4",style:"header-four"},{label:"H5",style:"header-five"},{label:"H6",style:"header-six"},{label:"Blockquote",style:"blockquote"},{label:"Code",style:"code"}],n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})},n.toggleBlockType=function(t){var e=n.blocksTypes.find((function(e){return e.label===t})).style,r=n.props,o=r.editorState,i=r.onChange,a=s.RichUtils.toggleBlockType(o,e);a&&i(a)};var r=e.editorState,o=e.modalHandler;return n.state={expanded:!1,currentBlockType:r?Object(c.getSelectedBlocksType)(r):"unstyled"},o.registerCallBack(n.expandCollapse),n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ht(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&e!==t.editorState&&this.setState({currentBlockType:Object(c.getSelectedBlocksType)(e)})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state,i=r.expanded,a=r.currentBlockType,s=e.component||lt,c=this.blocksTypes.find((function(t){return t.style===a}));return o.a.createElement(s,{config:e,translations:n,currentState:{blockType:c&&c.label},onChange:this.toggleBlockType,expanded:i,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&ft(e.prototype,n),t}();yt.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object,modalHandler:a.a.object,config:a.a.object,translations:a.a.object};var gt=yt;function mt(t){return(mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function vt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function bt(t,e){return!e||"object"!==mt(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function _t(t){return(_t=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function wt(t,e){return(wt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}n(16);var St=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=bt(this,(e=_t(t)).call.apply(e,[this].concat(o)))).state={defaultFontSize:void 0},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wt(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidMount",value:function(){var t=document.getElementsByClassName("DraftEditor-root");if(t&&0<t.length){var e=window.getComputedStyle(t[0]).getPropertyValue("font-size");e=e.substring(0,e.length-2),this.setState({defaultFontSize:e})}}},{key:"render",value:function(){var t=this.props,e=t.config,n=e.icon,r=e.className,i=e.dropdownClassName,a=e.options,s=e.title,c=t.onChange,u=t.expanded,p=t.doCollapse,f=t.onExpandEvent,d=t.doExpand,h=t.translations,y=this.props.currentState.fontSize,g=this.state.defaultFontSize;return g=Number(g),y=y||a&&0<=a.indexOf(g)&&g,o.a.createElement("div",{className:"rdw-fontsize-wrapper","aria-label":"rdw-font-size-control"},o.a.createElement(F,{className:l()("rdw-fontsize-dropdown",r),optionWrapperClassName:l()(i),onChange:c,expanded:u,doExpand:d,doCollapse:p,onExpandEvent:f,title:s||h["components.controls.fontsize.fontsize"]},y?o.a.createElement("span",null,y):o.a.createElement("img",{src:n,alt:""}),a.map((function(t,e){return o.a.createElement(Q,{className:"rdw-fontsize-option",active:y===t,value:t,key:e},t)}))))}}])&&vt(e.prototype,n),t}();function Mt(t){return(Mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Et(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function xt(t){return(xt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function kt(t,e){return(kt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}St.propTypes={expanded:a.a.bool,onExpandEvent:a.a.func,doExpand:a.a.func,doCollapse:a.a.func,onChange:a.a.func,config:a.a.object,currentState:a.a.object,translations:a.a.object};var Ct=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==Mt(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,xt(t).call(this,e))).onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})},n.toggleFontSize=function(t){var e=n.props,r=e.editorState,o=e.onChange,i=Object(c.toggleCustomInlineStyle)(r,"fontSize",t);i&&o(i)};var r=e.editorState,o=e.modalHandler;return n.state={expanded:void 0,currentFontSize:r?Object(c.getSelectionCustomInlineStyle)(r,["FONTSIZE"]).FONTSIZE:void 0},o.registerCallBack(n.expandCollapse),n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&kt(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&e!==t.editorState&&this.setState({currentFontSize:Object(c.getSelectionCustomInlineStyle)(e,["FONTSIZE"]).FONTSIZE})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state,i=r.expanded,a=r.currentFontSize,s=e.component||St,c=a&&Number(a.substring(9));return o.a.createElement(s,{config:e,translations:n,currentState:{fontSize:c},onChange:this.toggleFontSize,expanded:i,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&Et(e.prototype,n),t}();function jt(t){return(jt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Dt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ot(t,e){return!e||"object"!==jt(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function It(t){return(It=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Lt(t,e){return(Lt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Ct.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object,modalHandler:a.a.object,config:a.a.object,translations:a.a.object},n(17);var Nt=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=Ot(this,(e=It(t)).call.apply(e,[this].concat(o)))).state={defaultFontFamily:void 0},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Lt(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidMount",value:function(){var t=document.getElementsByClassName("DraftEditor-root");if(t&&0<t.length){var e=window.getComputedStyle(t[0]).getPropertyValue("font-family");this.setState({defaultFontFamily:e})}}},{key:"render",value:function(){var t=this.state.defaultFontFamily,e=this.props,n=e.config,r=n.className,i=n.dropdownClassName,a=n.options,s=n.title,c=e.translations,u=e.onChange,p=e.expanded,f=e.doCollapse,d=e.onExpandEvent,h=e.doExpand,y=this.props.currentState.fontFamily;return y=y||a&&t&&a.some((function(e){return e.toLowerCase()===t.toLowerCase()}))&&t,o.a.createElement("div",{className:"rdw-fontfamily-wrapper","aria-label":"rdw-font-family-control"},o.a.createElement(F,{className:l()("rdw-fontfamily-dropdown",r),optionWrapperClassName:l()("rdw-fontfamily-optionwrapper",i),onChange:u,expanded:p,doExpand:h,doCollapse:f,onExpandEvent:d,title:s||c["components.controls.fontfamily.fontfamily"]},o.a.createElement("span",{className:"rdw-fontfamily-placeholder"},y||c["components.controls.fontfamily.fontfamily"]),a.map((function(t,e){return o.a.createElement(Q,{active:y===t,value:t,key:e},t)}))))}}])&&Dt(e.prototype,n),t}();Nt.propTypes={expanded:a.a.bool,onExpandEvent:a.a.func,doExpand:a.a.func,doCollapse:a.a.func,onChange:a.a.func,config:a.a.object,currentState:a.a.object,translations:a.a.object};var At=Nt;function Tt(t){return(Tt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function zt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Rt(t){return(Rt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Pt(t,e){return(Pt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var Bt=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==Tt(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,Rt(t).call(this,e))).onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})},n.toggleFontFamily=function(t){var e=n.props,r=e.editorState,o=e.onChange,i=Object(c.toggleCustomInlineStyle)(r,"fontFamily",t);i&&o(i)};var r=e.editorState,o=e.modalHandler;return n.state={expanded:void 0,currentFontFamily:r?Object(c.getSelectionCustomInlineStyle)(r,["FONTFAMILY"]).FONTFAMILY:void 0},o.registerCallBack(n.expandCollapse),n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pt(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&e!==t.editorState&&this.setState({currentFontFamily:Object(c.getSelectionCustomInlineStyle)(e,["FONTFAMILY"]).FONTFAMILY})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state,i=r.expanded,a=r.currentFontFamily,s=e.component||At,c=a&&a.substring(11);return o.a.createElement(s,{translations:n,config:e,currentState:{fontFamily:c},onChange:this.toggleFontFamily,expanded:i,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&zt(e.prototype,n),t}();function Ft(t){return(Ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ut(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Kt(t,e){return!e||"object"!==Ft(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function Ht(t){return(Ht=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function qt(t,e){return(qt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Bt.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object,modalHandler:a.a.object,config:a.a.object,translations:a.a.object},n(18);var Yt=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=Kt(this,(e=Ht(t)).call.apply(e,[this].concat(o)))).options=["unordered","ordered","indent","outdent"],n.toggleBlockType=function(t){(0,n.props.onChange)(t)},n.indent=function(){(0,n.props.onChange)("indent")},n.outdent=function(){(0,n.props.onChange)("outdent")},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qt(t,e)}(t,r.Component),e=t,(n=[{key:"renderInFlatList",value:function(){var t=this.props,e=t.config,n=t.currentState.listType,r=t.translations,i=t.indentDisabled,a=t.outdentDisabled,s=e.options,c=e.unordered,u=e.ordered,p=e.indent,f=e.outdent,d=e.className;return o.a.createElement("div",{className:l()("rdw-list-wrapper",d),"aria-label":"rdw-list-control"},0<=s.indexOf("unordered")&&o.a.createElement(A,{value:"unordered",onClick:this.toggleBlockType,className:l()(c.className),active:"unordered"===n,title:c.title||r["components.controls.list.unordered"]},o.a.createElement("img",{src:c.icon,alt:""})),0<=s.indexOf("ordered")&&o.a.createElement(A,{value:"ordered",onClick:this.toggleBlockType,className:l()(u.className),active:"ordered"===n,title:u.title||r["components.controls.list.ordered"]},o.a.createElement("img",{src:u.icon,alt:""})),0<=s.indexOf("indent")&&o.a.createElement(A,{onClick:this.indent,disabled:i,className:l()(p.className),title:p.title||r["components.controls.list.indent"]},o.a.createElement("img",{src:p.icon,alt:""})),0<=s.indexOf("outdent")&&o.a.createElement(A,{onClick:this.outdent,disabled:a,className:l()(f.className),title:f.title||r["components.controls.list.outdent"]},o.a.createElement("img",{src:f.icon,alt:""})))}},{key:"renderInDropDown",value:function(){var t=this,e=this.props,n=e.config,r=e.expanded,i=e.doCollapse,a=e.doExpand,s=e.onExpandEvent,c=e.onChange,u=e.currentState.listType,p=e.translations,f=n.options,d=n.className,h=n.dropdownClassName,y=n.title;return o.a.createElement(F,{className:l()("rdw-list-dropdown",d),optionWrapperClassName:l()(h),onChange:c,expanded:r,doExpand:a,doCollapse:i,onExpandEvent:s,"aria-label":"rdw-list-control",title:y||p["components.controls.list.list"]},o.a.createElement("img",{src:M(n),alt:""}),this.options.filter((function(t){return 0<=f.indexOf(t)})).map((function(e,r){return o.a.createElement(Q,{key:r,value:e,disabled:t.props["".concat(e,"Disabled")],className:l()("rdw-list-dropdownOption",n[e].className),active:u===e,title:n[e].title||p["components.controls.list.".concat(e)]},o.a.createElement("img",{src:n[e].icon,alt:""}))})))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&Ut(e.prototype,n),t}();function Wt(t){return(Wt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Qt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Zt(t){return(Zt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Vt(t,e){return(Vt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Yt.propTypes={expanded:a.a.bool,doExpand:a.a.func,doCollapse:a.a.func,onExpandEvent:a.a.func,config:a.a.object,onChange:a.a.func,currentState:a.a.object,translations:a.a.object,indentDisabled:a.a.bool,outdentDisabled:a.a.bool};var Gt=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==Wt(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,Zt(t).call(this,e))).onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.onChange=function(t){"unordered"===t?n.toggleBlockType("unordered-list-item"):"ordered"===t?n.toggleBlockType("ordered-list-item"):"indent"===t?n.adjustDepth(1):n.adjustDepth(-1)},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})},n.toggleBlockType=function(t){var e=n.props,r=e.onChange,o=e.editorState,i=s.RichUtils.toggleBlockType(o,t);i&&r(i)},n.adjustDepth=function(t){var e=n.props,r=e.onChange,o=e.editorState,i=Object(c.changeDepth)(o,t,4);i&&r(i)},n.isIndentDisabled=function(){var t=n.props.editorState,e=n.state.currentBlock,r=Object(c.getBlockBeforeSelectedBlock)(t);return!r||!Object(c.isListBlock)(e)||r.get("type")!==e.get("type")||r.get("depth")<e.get("depth")},n.isOutdentDisabled=function(){var t=n.state.currentBlock;return!t||!Object(c.isListBlock)(t)||t.get("depth")<=0};var r=n.props,o=r.editorState,i=r.modalHandler;return n.state={expanded:!1,currentBlock:o?Object(c.getSelectedBlock)(o):void 0},i.registerCallBack(n.expandCollapse),n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vt(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&e!==t.editorState&&this.setState({currentBlock:Object(c.getSelectedBlock)(e)})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t,e=this.props,n=e.config,r=e.translations,i=this.state,a=i.expanded,s=i.currentBlock,c=n.component||Yt;"unordered-list-item"===s.get("type")?t="unordered":"ordered-list-item"===s.get("type")&&(t="ordered");var u=this.isIndentDisabled(),l=this.isOutdentDisabled();return o.a.createElement(c,{config:n,translations:r,currentState:{listType:t},expanded:a,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.onChange,indentDisabled:u,outdentDisabled:l})}}])&&Qt(e.prototype,n),t}();function Jt(t){return(Jt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Xt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function $t(t,e){return!e||"object"!==Jt(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function te(t){return(te=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ee(t,e){return(ee=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Gt.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object},n(19);var ne=function(){function t(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),$t(this,te(t).apply(this,arguments))}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ee(t,e)}(t,r.Component),e=t,(n=[{key:"renderInFlatList",value:function(){var t=this.props,e=t.config,n=e.options,r=e.left,i=e.center,a=e.right,s=e.justify,c=e.className,u=t.onChange,p=t.currentState.textAlignment,f=t.translations;return o.a.createElement("div",{className:l()("rdw-text-align-wrapper",c),"aria-label":"rdw-textalign-control"},0<=n.indexOf("left")&&o.a.createElement(A,{value:"left",className:l()(r.className),active:"left"===p,onClick:u,title:r.title||f["components.controls.textalign.left"]},o.a.createElement("img",{src:r.icon,alt:""})),0<=n.indexOf("center")&&o.a.createElement(A,{value:"center",className:l()(i.className),active:"center"===p,onClick:u,title:i.title||f["components.controls.textalign.center"]},o.a.createElement("img",{src:i.icon,alt:""})),0<=n.indexOf("right")&&o.a.createElement(A,{value:"right",className:l()(a.className),active:"right"===p,onClick:u,title:a.title||f["components.controls.textalign.right"]},o.a.createElement("img",{src:a.icon,alt:""})),0<=n.indexOf("justify")&&o.a.createElement(A,{value:"justify",className:l()(s.className),active:"justify"===p,onClick:u,title:s.title||f["components.controls.textalign.justify"]},o.a.createElement("img",{src:s.icon,alt:""})))}},{key:"renderInDropDown",value:function(){var t=this.props,e=t.config,n=t.expanded,r=t.doExpand,i=t.onExpandEvent,a=t.doCollapse,s=t.currentState.textAlignment,c=t.onChange,u=t.translations,p=e.options,f=e.left,d=e.center,h=e.right,y=e.justify,g=e.className,m=e.dropdownClassName,v=e.title;return o.a.createElement(F,{className:l()("rdw-text-align-dropdown",g),optionWrapperClassName:l()(m),onChange:c,expanded:n,doExpand:r,doCollapse:a,onExpandEvent:i,"aria-label":"rdw-textalign-control",title:v||u["components.controls.textalign.textalign"]},o.a.createElement("img",{src:s&&e[s]&&e[s].icon||M(e),alt:""}),0<=p.indexOf("left")&&o.a.createElement(Q,{value:"left",active:"left"===s,className:l()("rdw-text-align-dropdownOption",f.className),title:f.title||u["components.controls.textalign.left"]},o.a.createElement("img",{src:f.icon,alt:""})),0<=p.indexOf("center")&&o.a.createElement(Q,{value:"center",active:"center"===s,className:l()("rdw-text-align-dropdownOption",d.className),title:d.title||u["components.controls.textalign.center"]},o.a.createElement("img",{src:d.icon,alt:""})),0<=p.indexOf("right")&&o.a.createElement(Q,{value:"right",active:"right"===s,className:l()("rdw-text-align-dropdownOption",h.className),title:h.title||u["components.controls.textalign.right"]},o.a.createElement("img",{src:h.icon,alt:""})),0<=p.indexOf("justify")&&o.a.createElement(Q,{value:"justify",active:"justify"===s,className:l()("rdw-text-align-dropdownOption",y.className),title:y.title||u["components.controls.textalign.justify"]},o.a.createElement("img",{src:y.icon,alt:""})))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&Xt(e.prototype,n),t}();function re(t){return(re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function oe(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ie(t){return(ie=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ae(t,e){return(ae=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}ne.propTypes={expanded:a.a.bool,doExpand:a.a.func,doCollapse:a.a.func,onExpandEvent:a.a.func,config:a.a.object,onChange:a.a.func,currentState:a.a.object,translations:a.a.object};var se=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==re(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,ie(t).call(this,e))).onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})},n.addBlockAlignmentData=function(t){var e=n.props,r=e.editorState;(0,e.onChange)(n.state.currentTextAlignment!==t?Object(c.setBlockData)(r,{"text-align":t}):Object(c.setBlockData)(r,{"text-align":void 0}))};var r=n.props.modalHandler;return n.state={currentTextAlignment:void 0},r.registerCallBack(n.expandCollapse),n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ae(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e!==t.editorState&&this.setState({currentTextAlignment:Object(c.getSelectedBlocksMetadata)(e).get("text-align")})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state,i=r.expanded,a=r.currentTextAlignment,s=e.component||ne;return o.a.createElement(s,{config:e,translations:n,expanded:i,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,currentState:{textAlignment:a},onChange:this.addBlockAlignmentData})}}])&&oe(e.prototype,n),t}();function ce(t){return(ce="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ue(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function le(t,e){return!e||"object"!==ce(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function pe(t){return(pe=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function fe(t,e){return(fe=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}se.propTypes={editorState:a.a.object.isRequired,onChange:a.a.func.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object},n(20);var de=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return(n=le(this,(e=pe(t)).call.apply(e,[this].concat(i)))).state={currentStyle:"color"},n.onChange=function(t){(0,n.props.onChange)(n.state.currentStyle,t)},n.setCurrentStyleColor=function(){n.setState({currentStyle:"color"})},n.setCurrentStyleBgcolor=function(){n.setState({currentStyle:"bgcolor"})},n.renderModal=function(){var t=n.props,e=t.config,r=e.popupClassName,i=e.colors,a=t.currentState,s=a.color,c=a.bgColor,u=t.translations,p=n.state.currentStyle,f="color"===p?s:c;return o.a.createElement("div",{className:l()("rdw-colorpicker-modal",r),onClick:S},o.a.createElement("span",{className:"rdw-colorpicker-modal-header"},o.a.createElement("span",{className:l()("rdw-colorpicker-modal-style-label",{"rdw-colorpicker-modal-style-label-active":"color"===p}),onClick:n.setCurrentStyleColor},u["components.controls.colorpicker.text"]),o.a.createElement("span",{className:l()("rdw-colorpicker-modal-style-label",{"rdw-colorpicker-modal-style-label-active":"bgcolor"===p}),onClick:n.setCurrentStyleBgcolor},u["components.controls.colorpicker.background"])),o.a.createElement("span",{className:"rdw-colorpicker-modal-options"},i.map((function(t,e){return o.a.createElement(A,{value:t,key:e,className:"rdw-colorpicker-option",activeClassName:"rdw-colorpicker-option-active",active:f===t,onClick:n.onChange},o.a.createElement("span",{style:{backgroundColor:t},className:"rdw-colorpicker-cube"}))}))))},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fe(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){this.props.expanded&&!t.expanded&&this.setState({currentStyle:"color"})}},{key:"render",value:function(){var t=this.props,e=t.config,n=e.icon,r=e.className,i=e.title,a=t.expanded,s=t.onExpandEvent,c=t.translations;return o.a.createElement("div",{className:"rdw-colorpicker-wrapper","aria-haspopup":"true","aria-expanded":a,"aria-label":"rdw-color-picker",title:i||c["components.controls.colorpicker.colorpicker"]},o.a.createElement(A,{onClick:s,className:l()(r)},o.a.createElement("img",{src:n,alt:""})),a?this.renderModal():void 0)}}])&&ue(e.prototype,n),t}();de.propTypes={expanded:a.a.bool,onExpandEvent:a.a.func,onChange:a.a.func,config:a.a.object,currentState:a.a.object,translations:a.a.object};var he=de;function ye(t){return(ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ge(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function me(t){return(me=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ve(t,e){return(ve=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var be=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==ye(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,me(t).call(this,e))).state={expanded:!1,currentColor:void 0,currentBgColor:void 0},n.onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})},n.toggleColor=function(t,e){var r=n.props,o=r.editorState,i=r.onChange,a=Object(c.toggleCustomInlineStyle)(o,t,e);a&&i(a),n.doCollapse()};var r=e.editorState,o=e.modalHandler,i={expanded:!1,currentColor:void 0,currentBgColor:void 0};return r&&(i.currentColor=Object(c.getSelectionCustomInlineStyle)(r,["COLOR"]).COLOR,i.currentBgColor=Object(c.getSelectionCustomInlineStyle)(r,["BGCOLOR"]).BGCOLOR),n.state=i,o.registerCallBack(n.expandCollapse),n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ve(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&e!==t.editorState&&this.setState({currentColor:Object(c.getSelectionCustomInlineStyle)(e,["COLOR"]).COLOR,currentBgColor:Object(c.getSelectionCustomInlineStyle)(e,["BGCOLOR"]).BGCOLOR})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state,i=r.currentColor,a=r.currentBgColor,s=r.expanded,c=e.component||he,u=i&&i.substring(6),l=a&&a.substring(8);return o.a.createElement(c,{config:e,translations:n,onChange:this.toggleColor,expanded:s,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,currentState:{color:u,bgColor:l}})}}])&&ge(e.prototype,n),t}();be.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object};var _e=be,we=n(7),Se=n.n(we);function Me(t){return(Me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ee(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function xe(t,e){return!e||"object"!==Me(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function ke(t){return(ke=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Ce(t,e){return(Ce=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}n(26);var je=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=xe(this,(e=ke(t)).call.apply(e,[this].concat(o)))).state={showModal:!1,linkTarget:"",linkTitle:"",linkTargetOption:n.props.config.defaultTargetOption},n.removeLink=function(){(0,n.props.onChange)("unlink")},n.addLink=function(){var t=n.props.onChange,e=n.state;t("link",e.linkTitle,e.linkTarget,e.linkTargetOption)},n.updateValue=function(t){var e,r,o;n.setState((e={},r="".concat(t.target.name),o=t.target.value,r in e?Object.defineProperty(e,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[r]=o,e))},n.updateTargetOption=function(t){n.setState({linkTargetOption:t.target.checked?"_blank":"_self"})},n.hideModal=function(){n.setState({showModal:!1})},n.signalExpandShowModal=function(){var t=n.props,e=t.onExpandEvent,r=t.currentState,o=r.link,i=r.selectionText,a=n.state.linkTargetOption;e(),n.setState({showModal:!0,linkTarget:o&&o.target||"",linkTargetOption:o&&o.targetOption||a,linkTitle:o&&o.title||i})},n.forceExpandAndShowModal=function(){var t=n.props,e=t.doExpand,r=t.currentState,o=r.link,i=r.selectionText,a=n.state.linkTargetOption;e(),n.setState({showModal:!0,linkTarget:o&&o.target,linkTargetOption:o&&o.targetOption||a,linkTitle:o&&o.title||i})},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ce(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){t.expanded&&!this.props.expanded&&this.setState({showModal:!1,linkTarget:"",linkTitle:"",linkTargetOption:this.props.config.defaultTargetOption})}},{key:"renderAddLinkModal",value:function(){var t=this.props,e=t.config.popupClassName,n=t.doCollapse,r=t.translations,i=this.state,a=i.linkTitle,s=i.linkTarget,c=i.linkTargetOption;return o.a.createElement("div",{className:l()("rdw-link-modal",e),onClick:S},o.a.createElement("label",{className:"rdw-link-modal-label",htmlFor:"linkTitle"},r["components.controls.link.linkTitle"]),o.a.createElement("input",{id:"linkTitle",className:"rdw-link-modal-input",onChange:this.updateValue,onBlur:this.updateValue,name:"linkTitle",value:a}),o.a.createElement("label",{className:"rdw-link-modal-label",htmlFor:"linkTarget"},r["components.controls.link.linkTarget"]),o.a.createElement("input",{id:"linkTarget",className:"rdw-link-modal-input",onChange:this.updateValue,onBlur:this.updateValue,name:"linkTarget",value:s}),o.a.createElement("label",{className:"rdw-link-modal-target-option",htmlFor:"openLinkInNewWindow"},o.a.createElement("input",{id:"openLinkInNewWindow",type:"checkbox",defaultChecked:"_blank"===c,value:"_blank",onChange:this.updateTargetOption}),o.a.createElement("span",null,r["components.controls.link.linkTargetOption"])),o.a.createElement("span",{className:"rdw-link-modal-buttonsection"},o.a.createElement("button",{className:"rdw-link-modal-btn",onClick:this.addLink,disabled:!s||!a},r["generic.add"]),o.a.createElement("button",{className:"rdw-link-modal-btn",onClick:n},r["generic.cancel"])))}},{key:"renderInFlatList",value:function(){var t=this.props,e=t.config,n=e.options,r=e.link,i=e.unlink,a=e.className,s=t.currentState,c=t.expanded,u=t.translations,p=this.state.showModal;return o.a.createElement("div",{className:l()("rdw-link-wrapper",a),"aria-label":"rdw-link-control"},0<=n.indexOf("link")&&o.a.createElement(A,{value:"unordered-list-item",className:l()(r.className),onClick:this.signalExpandShowModal,"aria-haspopup":"true","aria-expanded":p,title:r.title||u["components.controls.link.link"]},o.a.createElement("img",{src:r.icon,alt:""})),0<=n.indexOf("unlink")&&o.a.createElement(A,{disabled:!s.link,value:"ordered-list-item",className:l()(i.className),onClick:this.removeLink,title:i.title||u["components.controls.link.unlink"]},o.a.createElement("img",{src:i.icon,alt:""})),c&&p?this.renderAddLinkModal():void 0)}},{key:"renderInDropDown",value:function(){var t=this.props,e=t.expanded,n=t.onExpandEvent,r=t.doCollapse,i=t.doExpand,a=t.onChange,s=t.config,c=t.currentState,u=t.translations,p=s.options,f=s.link,d=s.unlink,h=s.className,y=s.dropdownClassName,g=s.title,m=this.state.showModal;return o.a.createElement("div",{className:"rdw-link-wrapper","aria-haspopup":"true","aria-label":"rdw-link-control","aria-expanded":e,title:g},o.a.createElement(F,{className:l()("rdw-link-dropdown",h),optionWrapperClassName:l()(y),onChange:a,expanded:e&&!m,doExpand:i,doCollapse:r,onExpandEvent:n},o.a.createElement("img",{src:M(s),alt:""}),0<=p.indexOf("link")&&o.a.createElement(Q,{onClick:this.forceExpandAndShowModal,className:l()("rdw-link-dropdownoption",f.className),title:f.title||u["components.controls.link.link"]},o.a.createElement("img",{src:f.icon,alt:""})),0<=p.indexOf("unlink")&&o.a.createElement(Q,{onClick:this.removeLink,disabled:!c.link,className:l()("rdw-link-dropdownoption",d.className),title:d.title||u["components.controls.link.unlink"]},o.a.createElement("img",{src:d.icon,alt:""}))),e&&m?this.renderAddLinkModal():void 0)}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&Ee(e.prototype,n),t}();je.propTypes={expanded:a.a.bool,doExpand:a.a.func,doCollapse:a.a.func,onExpandEvent:a.a.func,config:a.a.object,onChange:a.a.func,currentState:a.a.object,translations:a.a.object};var De=je;function Oe(t){return(Oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ie(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Le(t){return(Le=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Ne(t,e){return(Ne=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Ae(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Te(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ze(t){var e=Re.match(t.target);return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ae(Object(n),!0).forEach((function(e){Te(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ae(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},t,{target:e&&e[0]&&e[0].url||t.target})}var Re=Se()(),Pe=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==Oe(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,Le(t).call(this,e))).onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.onChange=function(t,e,r,o){var i=n.props.config.linkCallback;if("link"===t){var a=(i||ze)({title:e,target:r,targetOption:o});n.addLink(a.title,a.target,a.targetOption)}else n.removeLink()},n.getCurrentValues=function(){var t=n.props.editorState,e=n.state.currentEntity,r=t.getCurrentContent(),o={};if(e&&"LINK"===r.getEntity(e).get("type")){o.link={};var i=e&&Object(c.getEntityRange)(t,e);o.link.target=e&&r.getEntity(e).get("data").url,o.link.targetOption=e&&r.getEntity(e).get("data").targetOption,o.link.title=i&&i.text}return o.selectionText=Object(c.getSelectionText)(t),o},n.doExpand=function(){n.setState({expanded:!0})},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.doCollapse=function(){n.setState({expanded:!1})},n.removeLink=function(){var t=n.props,e=t.editorState,r=t.onChange,o=n.state.currentEntity,i=e.getSelection();if(o){var a=Object(c.getEntityRange)(e,o);i=i.getIsBackward()?i.merge({anchorOffset:a.end,focusOffset:a.start}):i.merge({anchorOffset:a.start,focusOffset:a.end}),r(s.RichUtils.toggleLink(e,i,null))}},n.addLink=function(t,e,r){var o=n.props,i=o.editorState,a=o.onChange,u=n.state.currentEntity,l=i.getSelection();if(u){var p=Object(c.getEntityRange)(i,u);l=l.getIsBackward()?l.merge({anchorOffset:p.end,focusOffset:p.start}):l.merge({anchorOffset:p.start,focusOffset:p.end})}var f=i.getCurrentContent().createEntity("LINK","MUTABLE",{url:e,targetOption:r}).getLastCreatedEntityKey(),d=s.Modifier.replaceText(i.getCurrentContent(),l,"".concat(t),i.getCurrentInlineStyle(),f),h=s.EditorState.push(i,d,"insert-characters");l=h.getSelection().merge({anchorOffset:l.get("anchorOffset")+t.length,focusOffset:l.get("anchorOffset")+t.length}),h=s.EditorState.acceptSelection(h,l),d=s.Modifier.insertText(h.getCurrentContent(),l," ",h.getCurrentInlineStyle(),void 0),a(s.EditorState.push(h,d,"insert-characters")),n.doCollapse()};var r=n.props,o=r.editorState,i=r.modalHandler;return n.state={expanded:!1,link:void 0,selectionText:void 0,currentEntity:o?Object(c.getSelectionEntity)(o):void 0},i.registerCallBack(n.expandCollapse),n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ne(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&e!==t.editorState&&this.setState({currentEntity:Object(c.getSelectionEntity)(e)})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state.expanded,i=this.getCurrentValues(),a=i.link,s=i.selectionText,c=e.component||De;return o.a.createElement(c,{config:e,translations:n,expanded:r,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,currentState:{link:a,selectionText:s},onChange:this.onChange})}}])&&Ie(e.prototype,n),t}();Pe.propTypes={editorState:a.a.object.isRequired,onChange:a.a.func.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object};var Be=Pe;function Fe(t){return(Fe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ue(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ke(t,e){return!e||"object"!==Fe(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function He(t){return(He=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function qe(t,e){return(qe=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}n(27);var Ye=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=Ke(this,(e=He(t)).call.apply(e,[this].concat(o)))).state={embeddedLink:"",height:n.props.config.defaultSize.height,width:n.props.config.defaultSize.width},n.onChange=function(){var t=n.props.onChange,e=n.state;t(e.embeddedLink,e.height,e.width)},n.updateValue=function(t){var e,r,o;n.setState((e={},r="".concat(t.target.name),o=t.target.value,r in e?Object.defineProperty(e,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[r]=o,e))},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qe(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props,n=e.expanded,r=e.config;if(!n&&t.expanded){var o=r.defaultSize,i=o.height,a=o.width;this.setState({embeddedLink:"",height:i,width:a})}}},{key:"rendeEmbeddedLinkModal",value:function(){var t=this.state,e=t.embeddedLink,n=t.height,r=t.width,i=this.props,a=i.config.popupClassName,s=i.doCollapse,c=i.translations;return o.a.createElement("div",{className:l()("rdw-embedded-modal",a),onClick:S},o.a.createElement("div",{className:"rdw-embedded-modal-header"},o.a.createElement("span",{className:"rdw-embedded-modal-header-option"},c["components.controls.embedded.embeddedlink"],o.a.createElement("span",{className:"rdw-embedded-modal-header-label"}))),o.a.createElement("div",{className:"rdw-embedded-modal-link-section"},o.a.createElement("span",{className:"rdw-embedded-modal-link-input-wrapper"},o.a.createElement("input",{className:"rdw-embedded-modal-link-input",placeholder:c["components.controls.embedded.enterlink"],onChange:this.updateValue,onBlur:this.updateValue,value:e,name:"embeddedLink"}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),o.a.createElement("div",{className:"rdw-embedded-modal-size"},o.a.createElement("span",null,o.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:n,name:"height",className:"rdw-embedded-modal-size-input",placeholder:"Height"}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),o.a.createElement("span",null,o.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:r,name:"width",className:"rdw-embedded-modal-size-input",placeholder:"Width"}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")))),o.a.createElement("span",{className:"rdw-embedded-modal-btn-section"},o.a.createElement("button",{type:"button",className:"rdw-embedded-modal-btn",onClick:this.onChange,disabled:!e||!n||!r},c["generic.add"]),o.a.createElement("button",{type:"button",className:"rdw-embedded-modal-btn",onClick:s},c["generic.cancel"])))}},{key:"render",value:function(){var t=this.props,e=t.config,n=e.icon,r=e.className,i=e.title,a=t.expanded,s=t.onExpandEvent,c=t.translations;return o.a.createElement("div",{className:"rdw-embedded-wrapper","aria-haspopup":"true","aria-expanded":a,"aria-label":"rdw-embedded-control"},o.a.createElement(A,{className:l()(r),value:"unordered-list-item",onClick:s,title:i||c["components.controls.embedded.embedded"]},o.a.createElement("img",{src:n,alt:""})),a?this.rendeEmbeddedLinkModal():void 0)}}])&&Ue(e.prototype,n),t}();Ye.propTypes={expanded:a.a.bool,onExpandEvent:a.a.func,onChange:a.a.func,config:a.a.object,translations:a.a.object,doCollapse:a.a.func};var We=Ye;function Qe(t){return(Qe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ze(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ve(t,e){return!e||"object"!==Qe(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function Ge(t){return(Ge=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Je(t,e){return(Je=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var Xe=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=Ve(this,(e=Ge(t)).call.apply(e,[this].concat(o)))).state={expanded:!1},n.onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})},n.addEmbeddedLink=function(t,e,r){var o=n.props,i=o.editorState,a=o.onChange,c=o.config.embedCallback,u=c?c(t):t,l=i.getCurrentContent().createEntity("EMBEDDED_LINK","MUTABLE",{src:u,height:e,width:r}).getLastCreatedEntityKey();a(s.AtomicBlockUtils.insertAtomicBlock(i,l," ")),n.doCollapse()},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Je(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidMount",value:function(){this.props.modalHandler.registerCallBack(this.expandCollapse)}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state.expanded,i=e.component||We;return o.a.createElement(i,{config:e,translations:n,onChange:this.addEmbeddedLink,expanded:r,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&Ze(e.prototype,n),t}();Xe.propTypes={editorState:a.a.object.isRequired,onChange:a.a.func.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object};var $e=Xe;function tn(t){return(tn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function en(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function nn(t,e){return!e||"object"!==tn(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function rn(t){return(rn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function on(t,e){return(on=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}n(28);var an=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=nn(this,(e=rn(t)).call.apply(e,[this].concat(o)))).onChange=function(t){(0,n.props.onChange)(t.target.innerHTML)},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&on(t,e)}(t,r.Component),e=t,(n=[{key:"renderEmojiModal",value:function(){var t=this,e=this.props.config,n=e.popupClassName,r=e.emojis;return o.a.createElement("div",{className:l()("rdw-emoji-modal",n),onClick:S},r.map((function(e,n){return o.a.createElement("span",{key:n,className:"rdw-emoji-icon",alt:"",onClick:t.onChange},e)})))}},{key:"render",value:function(){var t=this.props,e=t.config,n=e.icon,r=e.className,i=e.title,a=t.expanded,s=t.onExpandEvent,c=t.translations;return o.a.createElement("div",{className:"rdw-emoji-wrapper","aria-haspopup":"true","aria-label":"rdw-emoji-control","aria-expanded":a,title:i||c["components.controls.emoji.emoji"]},o.a.createElement(A,{className:l()(r),value:"unordered-list-item",onClick:s},o.a.createElement("img",{src:n,alt:""})),a?this.renderEmojiModal():void 0)}}])&&en(e.prototype,n),t}();an.propTypes={expanded:a.a.bool,onExpandEvent:a.a.func,onChange:a.a.func,config:a.a.object,translations:a.a.object};var sn=an;function cn(t){return(cn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function un(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ln(t,e){return!e||"object"!==cn(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function pn(t){return(pn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function fn(t,e){return(fn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var dn=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=ln(this,(e=pn(t)).call.apply(e,[this].concat(o)))).state={expanded:!1},n.onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})},n.addEmoji=function(t){var e=n.props,r=e.editorState,o=e.onChange,i=s.Modifier.replaceText(r.getCurrentContent(),r.getSelection(),t,r.getCurrentInlineStyle());o(s.EditorState.push(r,i,"insert-characters")),n.doCollapse()},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fn(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidMount",value:function(){this.props.modalHandler.registerCallBack(this.expandCollapse)}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state.expanded,i=e.component||sn;return o.a.createElement(i,{config:e,translations:n,onChange:this.addEmoji,expanded:r,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onCollpase:this.closeModal})}}])&&un(e.prototype,n),t}();function hn(){return o.a.createElement("div",{className:"rdw-spinner"},o.a.createElement("div",{className:"rdw-bounce1"}),o.a.createElement("div",{className:"rdw-bounce2"}),o.a.createElement("div",{className:"rdw-bounce3"}))}function yn(t){return(yn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function gn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function mn(t,e){return!e||"object"!==yn(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function vn(t){return(vn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function bn(t,e){return(bn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}dn.propTypes={editorState:a.a.object.isRequired,onChange:a.a.func.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object},n(29),n(30);var _n=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=mn(this,(e=vn(t)).call.apply(e,[this].concat(o)))).state={imgSrc:"",dragEnter:!1,uploadHighlighted:n.props.config.uploadEnabled&&!!n.props.config.uploadCallback,showImageLoading:!1,height:n.props.config.defaultSize.height,width:n.props.config.defaultSize.width,alt:""},n.onDragEnter=function(t){n.stopPropagation(t),n.setState({dragEnter:!0})},n.onImageDrop=function(t){var e,r;t.preventDefault(),t.stopPropagation(),n.setState({dragEnter:!1}),r=t.dataTransfer.items?(e=t.dataTransfer.items,!0):(e=t.dataTransfer.files,!1);for(var o=0;o<e.length;o+=1)if((!r||"file"===e[o].kind)&&e[o].type.match("^image/")){var i=r?e[o].getAsFile():e[o];n.uploadImage(i)}},n.showImageUploadOption=function(){n.setState({uploadHighlighted:!0})},n.addImageFromState=function(){var t=n.state,e=t.imgSrc,r=t.alt,o=n.state,i=o.height,a=o.width,s=n.props.onChange;isNaN(i)||(i+="px"),isNaN(a)||(a+="px"),s(e,i,a,r)},n.showImageURLOption=function(){n.setState({uploadHighlighted:!1})},n.toggleShowImageLoading=function(){var t=!n.state.showImageLoading;n.setState({showImageLoading:t})},n.updateValue=function(t){var e,r,o;n.setState((e={},r="".concat(t.target.name),o=t.target.value,r in e?Object.defineProperty(e,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[r]=o,e))},n.selectImage=function(t){t.target.files&&0<t.target.files.length&&n.uploadImage(t.target.files[0])},n.uploadImage=function(t){n.toggleShowImageLoading(),(0,n.props.config.uploadCallback)(t).then((function(t){var e=t.data;n.setState({showImageLoading:!1,dragEnter:!1,imgSrc:e.link||e.url}),n.fileUpload=!1})).catch((function(){n.setState({showImageLoading:!1,dragEnter:!1})}))},n.fileUploadClick=function(t){n.fileUpload=!0,t.stopPropagation()},n.stopPropagation=function(t){n.fileUpload?n.fileUpload=!1:(t.preventDefault(),t.stopPropagation())},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&bn(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.config;t.expanded&&!this.props.expanded?this.setState({imgSrc:"",dragEnter:!1,uploadHighlighted:e.uploadEnabled&&!!e.uploadCallback,showImageLoading:!1,height:e.defaultSize.height,width:e.defaultSize.width,alt:""}):e.uploadCallback===t.config.uploadCallback&&e.uploadEnabled===t.config.uploadEnabled||this.setState({uploadHighlighted:e.uploadEnabled&&!!e.uploadCallback})}},{key:"renderAddImageModal",value:function(){var t=this.state,e=t.imgSrc,n=t.uploadHighlighted,r=t.showImageLoading,i=t.dragEnter,a=t.height,s=t.width,c=t.alt,u=this.props,p=u.config,f=p.popupClassName,d=p.uploadCallback,h=p.uploadEnabled,y=p.urlEnabled,g=p.previewImage,m=p.inputAccept,v=p.alt,b=u.doCollapse,_=u.translations;return o.a.createElement("div",{className:l()("rdw-image-modal",f),onClick:this.stopPropagation},o.a.createElement("div",{className:"rdw-image-modal-header"},h&&d&&o.a.createElement("span",{onClick:this.showImageUploadOption,className:"rdw-image-modal-header-option"},_["components.controls.image.fileUpload"],o.a.createElement("span",{className:l()("rdw-image-modal-header-label",{"rdw-image-modal-header-label-highlighted":n})})),y&&o.a.createElement("span",{onClick:this.showImageURLOption,className:"rdw-image-modal-header-option"},_["components.controls.image.byURL"],o.a.createElement("span",{className:l()("rdw-image-modal-header-label",{"rdw-image-modal-header-label-highlighted":!n})}))),n?o.a.createElement("div",{onClick:this.fileUploadClick},o.a.createElement("div",{onDragEnter:this.onDragEnter,onDragOver:this.stopPropagation,onDrop:this.onImageDrop,className:l()("rdw-image-modal-upload-option",{"rdw-image-modal-upload-option-highlighted":i})},o.a.createElement("label",{htmlFor:"file",className:"rdw-image-modal-upload-option-label"},g&&e?o.a.createElement("img",{src:e,alt:e,className:"rdw-image-modal-upload-option-image-preview"}):e||_["components.controls.image.dropFileText"])),o.a.createElement("input",{type:"file",id:"file",accept:m,onChange:this.selectImage,className:"rdw-image-modal-upload-option-input"})):o.a.createElement("div",{className:"rdw-image-modal-url-section"},o.a.createElement("input",{className:"rdw-image-modal-url-input",placeholder:_["components.controls.image.enterlink"],name:"imgSrc",onChange:this.updateValue,onBlur:this.updateValue,value:e}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),v.present&&o.a.createElement("div",{className:"rdw-image-modal-size"},o.a.createElement("span",{className:"rdw-image-modal-alt-lbl"},"Alt Text"),o.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:c,name:"alt",className:"rdw-image-modal-alt-input",placeholder:"alt"}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},v.mandatory&&"*")),o.a.createElement("div",{className:"rdw-image-modal-size"},"↕ ",o.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:a,name:"height",className:"rdw-image-modal-size-input",placeholder:"Height"}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")," ↔ ",o.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:s,name:"width",className:"rdw-image-modal-size-input",placeholder:"Width"}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),o.a.createElement("span",{className:"rdw-image-modal-btn-section"},o.a.createElement("button",{className:"rdw-image-modal-btn",onClick:this.addImageFromState,disabled:!e||!a||!s||v.mandatory&&!c},_["generic.add"]),o.a.createElement("button",{className:"rdw-image-modal-btn",onClick:b},_["generic.cancel"])),r?o.a.createElement("div",{className:"rdw-image-modal-spinner"},o.a.createElement(hn,null)):void 0)}},{key:"render",value:function(){var t=this.props,e=t.config,n=e.icon,r=e.className,i=e.title,a=t.expanded,s=t.onExpandEvent,c=t.translations;return o.a.createElement("div",{className:"rdw-image-wrapper","aria-haspopup":"true","aria-expanded":a,"aria-label":"rdw-image-control"},o.a.createElement(A,{className:l()(r),value:"unordered-list-item",onClick:s,title:i||c["components.controls.image.image"]},o.a.createElement("img",{src:n,alt:""})),a?this.renderAddImageModal():void 0)}}])&&gn(e.prototype,n),t}();_n.propTypes={expanded:a.a.bool,onExpandEvent:a.a.func,doCollapse:a.a.func,onChange:a.a.func,config:a.a.object,translations:a.a.object};var wn=_n;function Sn(t){return(Sn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Mn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function En(t){return(En=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function xn(t,e){return(xn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var kn=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==Sn(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,En(t).call(this,e))).onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.addImage=function(t,e,r,o){var i=n.props,a=i.editorState,c=i.onChange,u={src:t,height:e,width:r};i.config.alt.present&&(u.alt=o);var l=a.getCurrentContent().createEntity("IMAGE","MUTABLE",u).getLastCreatedEntityKey();c(s.AtomicBlockUtils.insertAtomicBlock(a,l," ")),n.doCollapse()};var r=n.props.modalHandler;return n.state={expanded:!1},r.registerCallBack(n.expandCollapse),n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xn(t,e)}(t,r.Component),e=t,(n=[{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state.expanded,i=e.component||wn;return o.a.createElement(i,{config:e,translations:n,onChange:this.addImage,expanded:r,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&Mn(e.prototype,n),t}();function Cn(t){var e=t.config,n=t.onChange,r=t.translations,i=e.icon,a=e.className,s=e.title;return o.a.createElement("div",{className:"rdw-remove-wrapper","aria-label":"rdw-remove-control"},o.a.createElement(A,{className:l()(a),onClick:n,title:s||r["components.controls.remove.remove"]},o.a.createElement("img",{src:i,alt:""})))}kn.propTypes={editorState:a.a.object.isRequired,onChange:a.a.func.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object};var jn=kn;n(31),Cn.propTypes={onChange:a.a.func,config:a.a.object,translations:a.a.object};var Dn=Cn;function On(t){return(On="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function In(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ln(t,e){return!e||"object"!==On(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function Nn(t){return(Nn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function An(t,e){return(An=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var Tn=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=Ln(this,(e=Nn(t)).call.apply(e,[this].concat(o)))).state={expanded:!1},n.onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.removeInlineStyles=function(){var t=n.props,e=t.editorState;(0,t.onChange)(n.removeAllInlineStyles(e))},n.removeAllInlineStyles=function(t){var e=t.getCurrentContent();return["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","MONOSPACE","SUPERSCRIPT","SUBSCRIPT"].forEach((function(n){e=s.Modifier.removeInlineStyle(e,t.getSelection(),n)})),_(Object(c.getSelectionCustomInlineStyle)(t,["FONTSIZE","FONTFAMILY","COLOR","BGCOLOR"]),(function(n,r){r&&(e=s.Modifier.removeInlineStyle(e,t.getSelection(),r))})),s.EditorState.push(t,e,"change-inline-style")},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&An(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidMount",value:function(){this.props.modalHandler.registerCallBack(this.expandCollapse)}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state.expanded,i=e.component||Dn;return o.a.createElement(i,{config:e,translations:n,expanded:r,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.removeInlineStyles})}}])&&In(e.prototype,n),t}();function zn(t){return(zn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Rn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Pn(t,e){return!e||"object"!==zn(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function Bn(t){return(Bn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Fn(t,e){return(Fn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Tn.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object.isRequired,config:a.a.object,translations:a.a.object,modalHandler:a.a.object},n(32);var Un=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=Pn(this,(e=Bn(t)).call.apply(e,[this].concat(o)))).onChange=function(t){(0,n.props.onChange)(t)},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fn(t,e)}(t,r.Component),e=t,(n=[{key:"renderInDropDown",value:function(){var t=this.props,e=t.config,n=t.expanded,r=t.doExpand,i=t.onExpandEvent,a=t.doCollapse,s=t.currentState,c=s.undoDisabled,u=s.redoDisabled,p=t.translations,f=e.options,d=e.undo,h=e.redo,y=e.className,g=e.dropdownClassName,m=e.title;return o.a.createElement(F,{className:l()("rdw-history-dropdown",y),optionWrapperClassName:l()(g),expanded:n,doExpand:r,doCollapse:a,onExpandEvent:i,"aria-label":"rdw-history-control",title:m||p["components.controls.history.history"]},o.a.createElement("img",{src:M(e),alt:""}),0<=f.indexOf("undo")&&o.a.createElement(Q,{value:"undo",onClick:this.onChange,disabled:c,className:l()("rdw-history-dropdownoption",d.className),title:d.title||p["components.controls.history.undo"]},o.a.createElement("img",{src:d.icon,alt:""})),0<=f.indexOf("redo")&&o.a.createElement(Q,{value:"redo",onClick:this.onChange,disabled:u,className:l()("rdw-history-dropdownoption",h.className),title:h.title||p["components.controls.history.redo"]},o.a.createElement("img",{src:h.icon,alt:""})))}},{key:"renderInFlatList",value:function(){var t=this.props,e=t.config,n=e.options,r=e.undo,i=e.redo,a=e.className,s=t.currentState,c=s.undoDisabled,u=s.redoDisabled,p=t.translations;return o.a.createElement("div",{className:l()("rdw-history-wrapper",a),"aria-label":"rdw-history-control"},0<=n.indexOf("undo")&&o.a.createElement(A,{value:"undo",onClick:this.onChange,className:l()(r.className),disabled:c,title:r.title||p["components.controls.history.undo"]},o.a.createElement("img",{src:r.icon,alt:""})),0<=n.indexOf("redo")&&o.a.createElement(A,{value:"redo",onClick:this.onChange,className:l()(i.className),disabled:u,title:i.title||p["components.controls.history.redo"]},o.a.createElement("img",{src:i.icon,alt:""})))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&Rn(e.prototype,n),t}();function Kn(t){return(Kn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Hn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function qn(t){return(qn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Yn(t,e){return(Yn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Un.propTypes={expanded:a.a.bool,doExpand:a.a.func,doCollapse:a.a.func,onExpandEvent:a.a.func,config:a.a.object,onChange:a.a.func,currentState:a.a.object,translations:a.a.object};var Wn=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==Kn(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,qn(t).call(this,e))).onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.onChange=function(t){var e=n.props,r=e.editorState,o=e.onChange,i=s.EditorState[t](r);i&&o(i)},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})};var r={expanded:!(n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1}),undoDisabled:!1,redoDisabled:!1},o=e.editorState,i=e.modalHandler;return o&&(r.undoDisabled=0===o.getUndoStack().size,r.redoDisabled=0===o.getRedoStack().size),n.state=r,i.registerCallBack(n.expandCollapse),n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yn(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&t.editorState!==e&&this.setState({undoDisabled:0===e.getUndoStack().size,redoDisabled:0===e.getRedoStack().size})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state,i=r.undoDisabled,a=r.redoDisabled,s=r.expanded,c=e.component||Un;return o.a.createElement(c,{config:e,translations:n,currentState:{undoDisabled:i,redoDisabled:a},expanded:s,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.onChange})}}])&&Hn(e.prototype,n),t}();Wn.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object,modalHandler:a.a.object,config:a.a.object,translations:a.a.object};var Qn={inline:ot,blockType:gt,fontSize:Ct,fontFamily:Bt,list:Gt,textAlign:se,colorPicker:_e,link:Be,embedded:$e,emoji:dn,image:jn,remove:Tn,history:Wn};function Zn(t){return(Zn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Vn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Gn(t,e){return!e||"object"!==Zn(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function Jn(t){return(Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Xn(t,e){return(Xn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function $n(t,e,n){t.findEntityRanges((function(t){var e=t.getEntity();return null!==e&&"LINK"===n.getEntity(e).getType()}),e)}function tr(t){var e,n,i=t.showOpenOptionOnHover;return n=e=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=Gn(this,(e=Jn(t)).call.apply(e,[this].concat(o)))).state={showPopOver:!1},n.openLink=function(){var t=n.props,e=t.entityKey,r=t.contentState.getEntity(e).getData().url,o=window.open(r,"blank");o&&o.focus()},n.toggleShowPopOver=function(){var t=!n.state.showPopOver;n.setState({showPopOver:t})},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xn(t,e)}(t,r.Component),e=t,(n=[{key:"render",value:function(){var t=this.props,e=t.children,n=t.entityKey,r=t.contentState.getEntity(n).getData(),a=r.url,s=r.targetOption,c=this.state.showPopOver;return o.a.createElement("span",{className:"rdw-link-decorator-wrapper",onMouseEnter:this.toggleShowPopOver,onMouseLeave:this.toggleShowPopOver},o.a.createElement("a",{href:a,target:s},e),c&&i?o.a.createElement("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuMDcyIDBIOC45MTVhLjkyNS45MjUgMCAwIDAgMCAxLjg0OWgyLjkyNUw2Ljk2MSA2LjcyN2EuOTE4LjkxOCAwIDAgMC0uMjcuNjU0YzAgLjI0Ny4wOTUuNDguMjcuNjU0YS45MTguOTE4IDAgMCAwIC42NTQuMjcuOTE4LjkxOCAwIDAgMCAuNjUzLS4yN2w0Ljg4LTQuODh2Mi45MjZhLjkyNS45MjUgMCAwIDAgMS44NDggMFYuOTI0QS45MjUuOTI1IDAgMCAwIDE0LjA3MiAweiIvPjxwYXRoIGQ9Ik0xMC42MjMgMTMuNDExSDEuNTg1VjQuMzcyaDYuNzk4bDEuNTg0LTEuNTg0SC43OTJBLjc5Mi43OTIgMCAwIDAgMCAzLjU4djEwLjYyNGMwIC40MzcuMzU1Ljc5Mi43OTIuNzkyaDEwLjYyNGEuNzkyLjc5MiAwIDAgMCAuNzkyLS43OTJWNS4wMjlsLTEuNTg1IDEuNTg0djYuNzk4eiIvPjwvZz48L3N2Zz4=",alt:"",onClick:this.openLink,className:"rdw-link-decorator-icon"}):void 0)}}])&&Vn(e.prototype,n),t}(),e.propTypes={entityKey:a.a.string.isRequired,children:a.a.array,contentState:a.a.object},n}function er(t){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,er),this.getMentionComponent=function(){function t(t){var e=t.entityKey,r=t.children,i=t.contentState.getEntity(e).getData(),a=i.url,s=i.value;return o.a.createElement("a",{href:a||s,className:l()("rdw-mention-link",n)},r)}var n=e.className;return t.propTypes={entityKey:a.a.number,children:a.a.array,contentState:a.a.object},t},this.getMentionDecorator=function(){return{strategy:e.findMentionEntities,component:e.getMentionComponent()}},this.className=t}n(33),n(34),er.prototype.findMentionEntities=function(t,e,n){t.findEntityRanges((function(t){var e=t.getEntity();return null!==e&&"MENTION"===n.getEntity(e).getType()}),e)};var nr=er;function rr(t){return(rr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function or(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ir(t,e){return!e||"object"!==rr(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function ar(t){return(ar=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function sr(t,e){return(sr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function cr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n(35);var ur=function t(e){var n=this;cr(this,t),this.findSuggestionEntities=function(t,e){if(n.config.getEditorState()){var r=n.config,o=r.separator,i=r.trigger,a=r.getSuggestions,s=(0,r.getEditorState)().getSelection();if(s.get("anchorKey")===t.get("key")&&s.get("anchorKey")===s.get("focusKey")){var c=t.getText(),u=(c=c.substr(0,s.get("focusOffset")===c.length-1?c.length:s.get("focusOffset")+1)).lastIndexOf(o+i),l=o+i;if((void 0===u||u<0)&&c[0]===i&&(u=0,l=i),0<=u){var p=c.substr(u+l.length,c.length);a().some((function(t){return!!t.value&&(n.config.caseSensitive?0<=t.value.indexOf(p):0<=t.value.toLowerCase().indexOf(p&&p.toLowerCase()))}))&&e(0===u?0:u+1,c.length)}}}},this.getSuggestionComponent=function(){var t,e,n=this.config;return e=t=function(){function t(){var e,r;cr(this,t);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return(r=ir(this,(e=ar(t)).call.apply(e,[this].concat(i)))).state={style:{left:15},activeOption:-1,showSuggestions:!0},r.onEditorKeyDown=function(t){var e=r.state.activeOption,n={};"ArrowDown"===t.key?(t.preventDefault(),e===r.filteredSuggestions.length-1?n.activeOption=0:n.activeOption=e+1):"ArrowUp"===t.key?n.activeOption=e<=0?r.filteredSuggestions.length-1:e-1:"Escape"===t.key?(n.showSuggestions=!1,m()):"Enter"===t.key&&r.addMention(),r.setState(n)},r.onOptionMouseEnter=function(t){var e=t.target.getAttribute("data-index");r.setState({activeOption:e})},r.onOptionMouseLeave=function(){r.setState({activeOption:-1})},r.setSuggestionReference=function(t){r.suggestion=t},r.setDropdownReference=function(t){r.dropdown=t},r.closeSuggestionDropdown=function(){r.setState({showSuggestions:!1})},r.filteredSuggestions=[],r.filterSuggestions=function(t){var e=t.children[0].props.text.substr(1),o=n.getSuggestions();r.filteredSuggestions=o&&o.filter((function(t){return!e||0===e.length||(n.caseSensitive?0<=t.value.indexOf(e):0<=t.value.toLowerCase().indexOf(e&&e.toLowerCase()))}))},r.addMention=function(){var t=r.state.activeOption,e=n.getEditorState(),o=n.onChange,i=n.separator,a=n.trigger,u=r.filteredSuggestions[t];u&&function(t,e,n,r,o){var i=o.value,a=o.url,u=t.getCurrentContent().createEntity("MENTION","IMMUTABLE",{text:"".concat(r).concat(i),value:i,url:a}).getLastCreatedEntityKey(),l=Object(c.getSelectedBlock)(t).getText(),p=t.getSelection().focusOffset,f=(l.lastIndexOf(n+r,p)||0)+1,d=!1;l.length===f+1&&(p=l.length)," "===l[p]&&(d=!0);var h=t.getSelection().merge({anchorOffset:f,focusOffset:p}),y=s.EditorState.acceptSelection(t,h),g=s.Modifier.replaceText(y.getCurrentContent(),h,"".concat(r).concat(i),y.getCurrentInlineStyle(),u);y=s.EditorState.push(y,g,"insert-characters"),d||(h=y.getSelection().merge({anchorOffset:f+i.length+r.length,focusOffset:f+i.length+r.length}),y=s.EditorState.acceptSelection(y,h),g=s.Modifier.insertText(y.getCurrentContent(),h," ",y.getCurrentInlineStyle(),void 0)),e(s.EditorState.push(y,g,"insert-characters"))}(e,o,i,a,u)},r}var e,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&sr(t,e)}(t,r.Component),e=t,(i=[{key:"componentDidMount",value:function(){var t,e,r,o=n.getWrapperRef().getBoundingClientRect(),i=this.suggestion.getBoundingClientRect(),a=this.dropdown.getBoundingClientRect();o.width<i.left-o.left+a.width?e=15:t=15,o.bottom<a.bottom&&(r=0),this.setState({style:{left:t,right:e,bottom:r}}),y.registerCallBack(this.onEditorKeyDown),g(),n.modalHandler.setSuggestionCallback(this.closeSuggestionDropdown),this.filterSuggestions(this.props)}},{key:"componentDidUpdate",value:function(t){this.props.children!==t.children&&(this.filterSuggestions(t),this.setState({showSuggestions:!0}))}},{key:"componentWillUnmount",value:function(){y.deregisterCallBack(this.onEditorKeyDown),m(),n.modalHandler.removeSuggestionCallback()}},{key:"render",value:function(){var t=this,e=this.props.children,r=this.state,i=r.activeOption,a=r.showSuggestions,s=n.dropdownClassName,c=n.optionClassName;return o.a.createElement("span",{className:"rdw-suggestion-wrapper",ref:this.setSuggestionReference,onClick:n.modalHandler.onSuggestionClick,"aria-haspopup":"true","aria-label":"rdw-suggestion-popup"},o.a.createElement("span",null,e),a&&o.a.createElement("span",{className:l()("rdw-suggestion-dropdown",s),contentEditable:"false",suppressContentEditableWarning:!0,style:this.state.style,ref:this.setDropdownReference},this.filteredSuggestions.map((function(e,n){return o.a.createElement("span",{key:n,spellCheck:!1,onClick:t.addMention,"data-index":n,onMouseEnter:t.onOptionMouseEnter,onMouseLeave:t.onOptionMouseLeave,className:l()("rdw-suggestion-option",c,{"rdw-suggestion-option-active":n===i})},e.text)}))))}}])&&or(e.prototype,i),t}(),t.propTypes={children:a.a.array},e}.bind(this),this.getSuggestionDecorator=function(){return{strategy:n.findSuggestionEntities,component:n.getSuggestionComponent()}};var i=e.separator,u=e.trigger,p=e.getSuggestions,f=e.onChange,d=e.getEditorState,h=e.getWrapperRef,v=e.caseSensitive,b=e.dropdownClassName,_=e.optionClassName,w=e.modalHandler;this.config={separator:i,trigger:u,getSuggestions:p,onChange:f,getEditorState:d,getWrapperRef:h,caseSensitive:v,dropdownClassName:b,optionClassName:_,modalHandler:w}};function lr(t){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,lr),this.getHashtagComponent=function(){function t(t){var e=t.children,r=e[0].props.text;return o.a.createElement("a",{href:r,className:l()("rdw-hashtag-link",n)},e)}var n=e.className;return t.propTypes={children:a.a.object},t},this.findHashtagEntities=function(t,n){for(var r=t.getText(),o=0,i=0;0<r.length&&0<=o;)if(r[0]===e.hashCharacter?(i=o=0,r=r.substr(e.hashCharacter.length)):0<=(o=r.indexOf(e.separator+e.hashCharacter))&&(r=r.substr(o+(e.separator+e.hashCharacter).length),i+=o+e.separator.length),0<=o){var a=0<=r.indexOf(e.separator)?r.indexOf(e.separator):r.length,s=r.substr(0,a);s&&0<s.length&&(n(i,i+s.length+e.hashCharacter.length),i+=e.hashCharacter.length)}},this.getHashtagDecorator=function(){return{strategy:e.findHashtagEntities,component:e.getHashtagComponent()}},this.className=t.className,this.hashCharacter=t.hashCharacter||"#",this.separator=t.separator||" "}function pr(t){var e=t.block,n=t.contentState.getEntity(e.getEntityAt(0)).getData(),r=n.src,i=n.height,a=n.width;return o.a.createElement("iframe",{height:i,width:a,src:r,frameBorder:"0",allowFullScreen:!0,title:"Wysiwyg Embedded Content"})}n(36);pr.propTypes={block:a.a.object,contentState:a.a.object};var fr=pr;function dr(t){return(dr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function hr(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function yr(t,e){return!e||"object"!==dr(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function gr(t){return(gr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function mr(t,e){return(mr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}n(37);var vr=function(t){var e,n;return n=e=function(){function e(){var n,r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return(r=yr(this,(n=gr(e)).call.apply(n,[this].concat(i)))).state={hovered:!1},r.setEntityAlignmentLeft=function(){r.setEntityAlignment("left")},r.setEntityAlignmentRight=function(){r.setEntityAlignment("right")},r.setEntityAlignmentCenter=function(){r.setEntityAlignment("none")},r.setEntityAlignment=function(e){var n=r.props,o=n.block,i=n.contentState,a=o.getEntityAt(0);i.mergeEntityData(a,{alignment:e}),t.onChange(s.EditorState.push(t.getEditorState(),i,"change-block-data")),r.setState({dummy:!0})},r.toggleHovered=function(){var t=!r.state.hovered;r.setState({hovered:t})},r}var n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&mr(t,e)}(e,r.Component),n=e,(i=[{key:"renderAlignmentOptions",value:function(t){return o.a.createElement("div",{className:l()("rdw-image-alignment-options-popup",{"rdw-image-alignment-options-popup-right":"right"===t})},o.a.createElement(A,{onClick:this.setEntityAlignmentLeft,className:"rdw-image-alignment-option"},"L"),o.a.createElement(A,{onClick:this.setEntityAlignmentCenter,className:"rdw-image-alignment-option"},"C"),o.a.createElement(A,{onClick:this.setEntityAlignmentRight,className:"rdw-image-alignment-option"},"R"))}},{key:"render",value:function(){var e=this.props,n=e.block,r=e.contentState,i=this.state.hovered,a=t.isReadOnly,s=t.isImageAlignmentEnabled,c=r.getEntity(n.getEntityAt(0)).getData(),u=c.src,p=c.alignment,f=c.height,d=c.width,h=c.alt;return o.a.createElement("span",{onMouseEnter:this.toggleHovered,onMouseLeave:this.toggleHovered,className:l()("rdw-image-alignment",{"rdw-image-left":"left"===p,"rdw-image-right":"right"===p,"rdw-image-center":!p||"none"===p})},o.a.createElement("span",{className:"rdw-image-imagewrapper"},o.a.createElement("img",{src:u,alt:h,style:{height:f,width:d}}),!a()&&i&&s()?this.renderAlignmentOptions(p):void 0))}}])&&hr(n.prototype,i),e}(),e.propTypes={block:a.a.object,contentState:a.a.object},n},br={options:["inline","blockType","fontSize","fontFamily","list","textAlign","colorPicker","link","embedded","emoji","image","remove","history"],inline:{inDropdown:!1,className:void 0,component:void 0,dropdownClassName:void 0,options:["bold","italic","underline","strikethrough","monospace","superscript","subscript"],bold:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYuMjM2IDBjMS42NTIgMCAyLjk0LjI5OCAzLjg2Ni44OTMuOTI1LjU5NSAxLjM4OCAxLjQ4NSAxLjM4OCAyLjY2OSAwIC42MDEtLjE3MyAxLjEzOS0uNTE2IDEuNjEtLjM0My40NzQtLjg0NC44My0xLjQ5OSAxLjA2OC44NDMuMTY3IDEuNDc0LjUyMyAxLjg5NSAxLjA3MS40MTkuNTUuNjMgMS4xODMuNjMgMS45MDMgMCAxLjI0NS0uNDQ0IDIuMTg3LTEuMzMgMi44MjUtLjg4Ni42NDEtMi4xNDQuOTYxLTMuNzY5Ljk2MUgwdi0yLjE2N2gxLjQ5NFYyLjE2N0gwVjBoNi4yMzZ6TTQuMzA4IDUuNDQ2aDIuMDI0Yy43NTIgMCAxLjMzLS4xNDMgMS43MzQtLjQzLjQwNS0uMjg1LjYwOC0uNzAxLjYwOC0xLjI1IDAtLjYtLjIwNC0xLjA0NC0uNjEyLTEuMzMtLjQwOC0uMjg2LTEuMDE2LS40MjctMS44MjYtLjQyN0g0LjMwOHYzLjQzN3ptMCAxLjgwNFYxMWgyLjU5M2MuNzQ3IDAgMS4zMTQtLjE1MiAxLjcwNy0uNDUyLjM5LS4zLjU4OC0uNzQ1LjU4OC0xLjMzNCAwLS42MzYtLjE2OC0xLjEyNC0uNS0xLjQ2LS4zMzYtLjMzNS0uODY0LS41MDQtMS41ODItLjUwNEg0LjMwOHoiIGZpbGw9IiMwMDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg==",className:void 0,title:void 0},italic:{icon:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZD0iTTcgM1YyaDR2MUg5Ljc1M2wtMyAxMEg4djFINHYtMWgxLjI0N2wzLTEwSDd6Ii8+PC9zdmc+",className:void 0,title:void 0},underline:{icon:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZD0iTTYuMDQ1IDJ2Ljk5Mkw0Ljc4NSAzdjUuMTcyYzAgLjg1OS4yNDMgMS41MTIuNzI3IDEuOTU3czEuMTI0LjY2OCAxLjkxOC42NjhjLjgzNiAwIDEuNTA5LS4yMjEgMi4wMTktLjY2NC41MTEtLjQ0Mi43NjYtMS4wOTYuNzY2LTEuOTYxVjNsLTEuMjYtLjAwOFYySDEzdi45OTJMMTEuNzM5IDN2NS4xNzJjMCAxLjIzNC0uMzk4IDIuMTgxLTEuMTk1IDIuODQtLjc5Ny42NTktMS44MzUuOTg4LTMuMTE0Ljk4OC0xLjI0MiAwLTIuMjQ4LS4zMjktMy4wMTctLjk4OC0uNzY5LS42NTktMS4xNTItMS42MDUtMS4xNTItMi44NFYzTDIgMi45OTJWMmg0LjA0NXpNMiAxM2gxMXYxSDJ6Ii8+PC9zdmc+",className:void 0,title:void 0},strikethrough:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNC4wNCA1Ljk1NGg2LjIxNWE3LjQxMiA3LjQxMiAwIDAgMC0uNzk1LS40MzggMTEuOTA3IDExLjkwNyAwIDAgMC0xLjQ0Ny0uNTU3Yy0xLjE4OC0uMzQ4LTEuOTY2LS43MTEtMi4zMzQtMS4wODgtLjM2OC0uMzc3LS41NTItLjc3LS41NTItMS4xODEgMC0uNDk1LjE4Ny0uOTA2LjU2LTEuMjMyLjM4LS4zMzEuODg3LS40OTcgMS41MjMtLjQ5Ny42OCAwIDEuMjY2LjI1NSAxLjc1Ny43NjcuMjk1LjMxNS41ODIuODkxLjg2MSAxLjczbC4xMTcuMDE2LjcwMy4wNS4xLS4wMjRjLjAyOC0uMTUyLjA0Mi0uMjc5LjA0Mi0uMzggMC0uMzM3LS4wMzktLjg1Mi0uMTE3LTEuNTQ0YTkuMzc0IDkuMzc0IDAgMCAwLS4xNzYtLjk5NUM5Ljg4LjM3OSA5LjM4NS4yNDQgOS4wMTcuMTc2IDguMzY1LjA3IDcuODk5LjAxNiA3LjYyLjAxNmMtMS40NSAwLTIuNTQ1LjM1Ny0zLjI4NyAxLjA3MS0uNzQ3LjcyLTEuMTIgMS41ODktMS4xMiAyLjYwNyAwIC41MTEuMTMzIDEuMDQuNCAxLjU4Ni4xMjkuMjUzLjI3LjQ3OC40MjcuNjc0ek04LjI4IDguMTE0Yy41NzUuMjM2Ljk1Ny40MzYgMS4xNDcuNTk5LjQ1MS40MS42NzcuODUyLjY3NyAxLjMyNCAwIC4zODMtLjEzLjc0NS0uMzkzIDEuMDg4LS4yNS4zMzgtLjU5LjU4LTEuMDIuNzI2YTMuNDE2IDMuNDE2IDAgMCAxLTEuMTYzLjIyOGMtLjQwNyAwLS43NzUtLjA2Mi0xLjEwNC0uMTg2YTIuNjk2IDIuNjk2IDAgMCAxLS44NzgtLjQ4IDMuMTMzIDMuMTMzIDAgMCAxLS42Ny0uNzk0IDEuNTI3IDEuNTI3IDAgMCAxLS4xMDQtLjIyNyA1Ny41MjMgNTcuNTIzIDAgMCAwLS4xODgtLjQ3MyAyMS4zNzEgMjEuMzcxIDAgMCAwLS4yNTEtLjU5OWwtLjg1My4wMTd2LjM3MWwtLjAxNy4zMTNhOS45MiA5LjkyIDAgMCAwIDAgLjU3M2MuMDExLjI3LjAxNy43MDkuMDE3IDEuMzE2di4xMWMwIC4wNzkuMDIyLjE0LjA2Ny4xODUuMDgzLjA2OC4yODQuMTQ3LjYwMi4yMzdsMS4xNy4zMzdjLjQ1Mi4xMy45OTYuMTk0IDEuNjMyLjE5NC42ODYgMCAxLjI1Mi0uMDU5IDEuNjk4LS4xNzdhNC42OTQgNC42OTQgMCAwIDAgMS4yOC0uNTU3Yy40MDEtLjI1OS43MDUtLjQ4Ni45MTEtLjY4My4yNjgtLjI3Ni40NjYtLjU2OC41OTQtLjg3OGE0Ljc0IDQuNzQgMCAwIDAgLjM0My0xLjc4OGMwLS4yOTgtLjAyLS41NTctLjA1OC0uNzc2SDguMjgxek0xNC45MTQgNi41N2EuMjYuMjYgMCAwIDAtLjE5My0uMDc2SC4yNjhhLjI2LjI2IDAgMCAwLS4xOTMuMDc2LjI2NC4yNjQgMCAwIDAtLjA3NS4xOTR2LjU0YzAgLjA3OS4wMjUuMTQzLjA3NS4xOTRhLjI2LjI2IDAgMCAwIC4xOTMuMDc2SDE0LjcyYS4yNi4yNiAwIDAgMCAuMTkzLS4wNzYuMjY0LjI2NCAwIDAgMCAuMDc1LS4xOTR2LS41NGEuMjY0LjI2NCAwIDAgMC0uMDc1LS4xOTR6Ii8+PC9nPjwvc3ZnPg==",className:void 0,title:void 0},monospace:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzQ0NCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMS4wMjEgMi45MDZjLjE4NiAxLjIxOS4zNzIgMS41LjM3MiAyLjcxOUMxLjM5MyA2LjM3NSAwIDcuMDMxIDAgNy4wMzF2LjkzOHMxLjM5My42NTYgMS4zOTMgMS40MDZjMCAxLjIxOS0uMTg2IDEuNS0uMzcyIDIuNzE5Qy43NDMgMTQuMDYzIDEuNzY0IDE1IDIuNjkzIDE1aDEuOTV2LTEuODc1cy0xLjY3Mi4xODgtMS42NzItLjkzOGMwLS44NDMuMTg2LS44NDMuMzcyLTIuNzE4LjA5My0uODQ0LS40NjQtMS41LTEuMDIyLTEuOTY5LjU1OC0uNDY5IDEuMTE1LTEuMDMxIDEuMDIyLTEuODc1QzMuMDY0IDMuNzUgMi45NyAzLjc1IDIuOTcgMi45MDZjMC0xLjEyNSAxLjY3Mi0xLjAzMSAxLjY3Mi0xLjAzMVYwaC0xLjk1QzEuNjcgMCAuNzQzLjkzOCAxLjAyIDIuOTA2ek0xMS45NzkgMi45MDZjLS4xODYgMS4yMTktLjM3MiAxLjUtLjM3MiAyLjcxOSAwIC43NSAxLjM5MyAxLjQwNiAxLjM5MyAxLjQwNnYuOTM4cy0xLjM5My42NTYtMS4zOTMgMS40MDZjMCAxLjIxOS4xODYgMS41LjM3MiAyLjcxOS4yNzggMS45NjktLjc0MyAyLjkwNi0xLjY3MiAyLjkwNmgtMS45NXYtMS44NzVzMS42NzIuMTg4IDEuNjcyLS45MzhjMC0uODQzLS4xODYtLjg0My0uMzcyLTIuNzE4LS4wOTMtLjg0NC40NjQtMS41IDEuMDIyLTEuOTY5LS41NTgtLjQ2OS0xLjExNS0xLjAzMS0xLjAyMi0xLjg3NS4xODYtMS44NzUuMzcyLTEuODc1LjM3Mi0yLjcxOSAwLTEuMTI1LTEuNjcyLTEuMDMxLTEuNjcyLTEuMDMxVjBoMS45NWMxLjAyMiAwIDEuOTUuOTM4IDEuNjcyIDIuOTA2eiIvPjwvZz48L3N2Zz4=",className:void 0,title:void 0},superscript:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTcuMzA1IDEwLjE2NUwxMS44NjUgMTVIOS4wNTdsLTMuMTkyLTMuNTM2TDIuNzQ2IDE1SDBsNC41MjMtNC44MzVMLjIxOCA1LjYwM2gyLjc3TDUuOTg2IDguOTEgOS4wMSA1LjYwM2gyLjY0OWwtNC4zNTQgNC41NjJ6bTYuMjM0LTMuMjY5bDEuODc5LTEuMzA2Yy42NC0uNDE2IDEuMDYyLS44MDEgMS4yNjQtMS4xNTcuMjAxLS4zNTYuMzAyLS43MzguMzAyLTEuMTQ4IDAtLjY2OS0uMjM3LTEuMjEtLjcxLTEuNjItLjQ3NC0uNDExLTEuMDk3LS42MTctMS44NjgtLjYxNy0uNzQ0IDAtMS4zNC4yMDgtMS43ODUuNjI0LS40NDcuNDE2LS42NyAxLjA0My0uNjcgMS44ODFoMS40MzZjMC0uNS4wOTQtLjg0Ni4yODEtMS4wMzguMTg4LS4xOTEuNDQ1LS4yODcuNzcyLS4yODdzLjU4NS4wOTcuNzc3LjI5MmMuMTkuMTk1LjI4Ni40MzcuMjg2LjcyNiAwIC4yOS0uMDg5LjU1LS4yNjYuNzg1cy0uNjcuNjI4LTEuNDc5IDEuMTg0Yy0uNjkxLjQ3Ny0xLjYyNy45MjctMS45MDggMS4zNWwuMDE0IDEuNTY5SDE3VjYuODk2aC0zLjQ2MXoiLz48L3N2Zz4=",className:void 0,title:void 0},subscript:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTExLjg2NiAxMS42NDZIOS4wNkw1Ljg2NyA3Ljk0MmwtMy4xMjEgMy43MDRIMGw0LjUyNC01LjA2NEwuMjE4IDEuODA0aDIuNzdsMyAzLjQ2NCAzLjAyMy0zLjQ2NGgyLjY1TDcuMzA2IDYuNTgybDQuNTYgNS4wNjR6bTEuNzI1IDIuMDU4bDEuODI3LTEuMzY4Yy42NC0uNDM1IDEuMDYyLS44NCAxLjI2NC0xLjIxMi4yMDItLjM3Mi4zMDItLjc3My4zMDItMS4yMDIgMC0uNy0uMjM3LTEuMjY2LS43MS0xLjY5Ni0uNDc0LS40MzEtMS4wOTctLjY0Ni0xLjg2OS0uNjQ2LS43NDQgMC0xLjM0LjIxOC0xLjc4NS42NTMtLjQ0Ni40MzYtLjY3IDEuMDkyLS42NyAxLjk3aDEuNDM2YzAtLjUyNC4wOTQtLjg4Ni4yODEtMS4wODcuMTg4LS4yLjQ0NS0uMzAxLjc3Mi0uMzAxcy41ODYuMTAyLjc3Ny4zMDZjLjE5LjIwNC4yODYuNDU4LjI4Ni43NiAwIC4zMDMtLjA4OC41NzctLjI2Ni44MjItLjE3Ny4yNDUtLjY3LjY1OC0xLjQ3OCAxLjI0LS42OTIuNS0xLjYyOC45NzEtMS45MSAxLjQxM0wxMS44NjQgMTVIMTd2LTEuMjk2aC0zLjQxeiIvPjwvc3ZnPg==",className:void 0,title:void 0}},blockType:{inDropdown:!0,options:["Normal","H1","H2","H3","H4","H5","H6","Blockquote","Code"],className:void 0,component:void 0,dropdownClassName:void 0,title:void 0},fontSize:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTEuOTIxIDMuMTE5YS40MjcuNDI3IDAgMCAwIC4zMzUuMTY0aC45N2EuNDI2LjQyNiAwIDAgMCAuMzA0LS4xMy40NDEuNDQxIDAgMCAwIC4xMjUtLjMxbC4wMDItMi40MWEuNDM0LjQzNCAwIDAgMC0uNDMtLjQzMkguNDNBLjQzNC40MzQgMCAwIDAgMCAuNDR2Mi40MDZjMCAuMjQyLjE5Mi40MzguNDMuNDM4aC45N2MuMTMgMCAuMjU0LS4wNi4zMzUtLjE2NWwuNzMtLjkzSDUuNTR2MTEuMzZjMCAuMjQxLjE5Mi40MzcuNDMuNDM3aDEuNzE3Yy4yMzcgMCAuNDMtLjE5Ni40My0uNDM3VjIuMTg4aDMuMDdsLjczNC45MzF6TTEzLjg5OCAxMS4yNjNhLjQyNS40MjUgMCAwIDAtLjQ4Mi0uMTQ2bC0uNTQ3LjE5NFY5LjYxN2EuNDQyLjQ0MiAwIDAgMC0uMTI2LS4zMS40MjYuNDI2IDAgMCAwLS4zMDQtLjEyN2gtLjQyOWEuNDM0LjQzNCAwIDAgMC0uNDMuNDM3djEuNjk0bC0uNTQ3LS4xOTRhLjQyNS40MjUgMCAwIDAtLjQ4MS4xNDYuNDQ0LjQ0NCAwIDAgMC0uMDE2LjUxMmwxLjMzMiAyLjAxN2EuNDI3LjQyNyAwIDAgMCAuNzEzIDBsMS4zMzMtMi4wMTdhLjQ0NC40NDQgMCAwIDAtLjAxNi0uNTEyeiIvPjwvZz48L3N2Zz4=",options:[8,9,10,11,12,14,16,18,24,30,36,48,60,72,96],className:void 0,component:void 0,dropdownClassName:void 0,title:void 0},fontFamily:{options:["Arial","Georgia","Impact","Tahoma","Times New Roman","Verdana"],className:void 0,component:void 0,dropdownClassName:void 0,title:void 0},list:{inDropdown:!1,className:void 0,component:void 0,dropdownClassName:void 0,options:["unordered","ordered","indent","outdent"],unordered:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMS43MiAzLjQyN2MuOTUxIDAgMS43MjItLjc2OCAxLjcyMi0xLjcwOFMyLjY3LjAxIDEuNzIuMDFDLjc3LjAwOCAwIC43NzUgMCAxLjcxNWMwIC45NC43NzQgMS43MTEgMS43MiAxLjcxMXptMC0yLjYyNWMuNTEgMCAuOTIyLjQxMi45MjIuOTE0YS45Mi45MiAwIDAgMS0xLjg0MiAwIC45Mi45MiAwIDAgMSAuOTItLjkxNHpNMS43MiA4LjcwM2MuOTUxIDAgMS43MjItLjc2OCAxLjcyMi0xLjcwOFMyLjY3IDUuMjg3IDEuNzIgNS4yODdDLjc3IDUuMjg3IDAgNi4wNTIgMCA2Ljk5NXMuNzc0IDEuNzA4IDEuNzIgMS43MDh6bTAtMi42MjJjLjUxIDAgLjkyMi40MTIuOTIyLjkxNGEuOTIuOTIgMCAwIDEtMS44NDIgMGMwLS41MDUuNDE1LS45MTQuOTItLjkxNHpNMS43MiAxMy45ODJjLjk1MSAwIDEuNzIyLS43NjggMS43MjItMS43MDggMC0uOTQzLS43NzQtMS43MDgtMS43MjEtMS43MDgtLjk0NyAwLTEuNzIxLjc2OC0xLjcyMSAxLjcwOHMuNzc0IDEuNzA4IDEuNzIgMS43MDh6bTAtMi42MjVjLjUxIDAgLjkyMi40MTIuOTIyLjkxNGEuOTIuOTIgMCAxIDEtMS44NDIgMCAuOTIuOTIgMCAwIDEgLjkyLS45MTR6TTUuNzQ0IDIuMTE1aDkuODQ1YS40LjQgMCAwIDAgLjQwMS0uMzk5LjQuNCAwIDAgMC0uNDAxLS4zOTlINS43NDRhLjQuNCAwIDAgMC0uNDAyLjM5OS40LjQgMCAwIDAgLjQwMi4zOTl6TTUuNzQ0IDcuMzk0aDkuODQ1YS40LjQgMCAwIDAgLjQwMS0uMzk5LjQuNCAwIDAgMC0uNDAxLS4zOThINS43NDRhLjQuNCAwIDAgMC0uNDAyLjM5OC40LjQgMCAwIDAgLjQwMi4zOTl6TTUuNzQ0IDEyLjY3aDkuODQ1YS40LjQgMCAwIDAgLjQwMS0uMzk5LjQuNCAwIDAgMC0uNDAxLS4zOTlINS43NDRhLjQuNCAwIDAgMC0uNDAyLjQuNC40IDAgMCAwIC40MDIuMzk4eiIvPjwvZz48L3N2Zz4=",className:void 0,title:void 0},ordered:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNC4yMDIgMS40NjZoOC4xNWMuMzM4IDAgLjYxMi0uMzIyLjYxMi0uNzIgMC0uMzk3LS4yNzQtLjcyLS42MTItLjcyaC04LjE1Yy0uMzM4IDAtLjYxMS4zMjMtLjYxMS43MiAwIC4zOTguMjczLjcyLjYxLjcyek0xMi4zNTIgNS43ODNoLTguMTVjLS4zMzggMC0uNjExLjMyMi0uNjExLjcyIDAgLjM5Ny4yNzMuNzIuNjEuNzJoOC4xNTFjLjMzOCAwIC42MTItLjMyMy42MTItLjcyIDAtLjM5OC0uMjc0LS43Mi0uNjEyLS43MnpNMTIuMzUyIDExLjU0aC04LjE1Yy0uMzM4IDAtLjYxMS4zMjItLjYxMS43MiAwIC4zOTYuMjczLjcxOS42MS43MTloOC4xNTFjLjMzOCAwIC42MTItLjMyMy42MTItLjcyIDAtLjM5Ny0uMjc0LS43Mi0uNjEyLS43MnpNLjc2NyAxLjI0OXYxLjgwMmMwIC4xOTUuMTM2LjM0My4zMTUuMzQzLjE3NiAwIC4zMTUtLjE1LjMxNS0uMzQzVi4zNTZjMC0uMTktLjEzMy0uMzM5LS4zMDItLjMzOS0uMTQ4IDAtLjIyMy4xMTgtLjI0Ny4xNTZhLjIyOC4yMjggMCAwIDAtLjAwMy4wMDVMLjU3OS42MjFhLjQ3NC40NzQgMCAwIDAtLjA5OC4yNzNjMCAuMTk0LjEyOC4zNTEuMjg2LjM1NXpNLjM1MiA4LjE5SDEuNTVjLjE1NyAwIC4yODUtLjE2Mi4yODUtLjM2MiAwLS4xOTgtLjEyOC0uMzU5LS4yODUtLjM1OUguNjh2LS4wMDZjMC0uMTA3LjIxLS4yODEuMzc4LS40MjIuMzM2LS4yNzguNzUzLS42MjUuNzUzLTEuMjI2IDAtLjU3LS4zNzYtMS0uODc0LTEtLjQ3NyAwLS44MzYuMzg1LS44MzYuODk3IDAgLjI5Ny4xNjQuNDAyLjMwNS40MDIuMiAwIC4zMjEtLjE3Ni4zMjEtLjM0NiAwLS4xMDYuMDIzLS4yMjguMjA0LS4yMjguMjQzIDAgLjI1LjI1NC4yNS4yODMgMCAuMjI4LS4yNTIuNDQyLS40OTUuNjQ5LS4zMDEuMjU1LS42NDIuNTQ0LS42NDIuOTkydi4zODRjMCAuMjA1LjE1OS4zNDMuMzA4LjM0M3pNMS43NyAxMC41NDNjMC0uNTkyLS4yOTYtLjkzMS0uODE0LS45MzEtLjY4IDAtLjg1OS41Ny0uODU5Ljg3MiAwIC4zNTEuMjIyLjM5LjMxOC4zOS4xODUgMCAuMzEtLjE0OC4zMS0uMzY2IDAtLjA4NC4wMjYtLjE4MS4yMjQtLjE4MS4xNDIgMCAuMi4wMjQuMi4yNjcgMCAuMjM3LS4wNDMuMjYzLS4yMTMuMjYzLS4xNjQgMC0uMjg4LjE1Mi0uMjg4LjM1NCAwIC4yLjEyNS4zNS4yOTEuMzUuMjI1IDAgLjI3LjEwOC4yNy4yODN2LjA3NWMwIC4yOTQtLjA5Ny4zNS0uMjc3LjM1LS4yNDggMC0uMjY3LS4xNS0uMjY3LS4xOTcgMC0uMTc0LS4wOTgtLjM1LS4zMTctLjM1LS4xOTIgMC0uMzA3LjE0MS0uMzA3LjM3OCAwIC40My4zMTMuODg4Ljg5NS44ODguNTY0IDAgLjkwMS0uNC45MDEtMS4wN3YtLjA3NGMwLS4yNzQtLjA3NC0uNTAyLS4yMTQtLjY2Ni4wOTYtLjE2My4xNDgtLjM4LjE0OC0uNjM1eiIvPjwvZz48L3N2Zz4=",className:void 0,title:void 0},indent:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNS43MTYgMy4yMTFIMTd2MS4xOTdINS43MTZ6TTAgLjAyaDE3djEuMTk3SDB6TTAgMTIuNzgzaDE3djEuMTk3SDB6TTUuNzE2IDkuNTkzSDE3djEuMTk3SDUuNzE2ek01LjcxNiA2LjQwMkgxN3YxLjE5N0g1LjcxNnpNLjE4NyA5LjQ5MUwyLjUyIDcgLjE4NyA0LjUwOXoiLz48L2c+PC9zdmc+",className:void 0,title:void 0},outdent:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNS4zOTYgMy4xOTNoMTAuNTczVjQuMzlINS4zOTZ6TS4wMzkuMDAzaDE1LjkzVjEuMkguMDM5ek0uMDM5IDEyLjc2NmgxNS45M3YxLjE5N0guMDM5ek01LjM5NiA5LjU3NWgxMC41NzN2MS4xOTdINS4zOTZ6TTUuMzk2IDYuMzg0aDEwLjU3M3YxLjE5N0g1LjM5NnpNMi4xODcgNC40OTFMMCA2Ljk4M2wyLjE4NyAyLjQ5MXoiLz48L2c+PC9zdmc+",className:void 0,title:void 0},title:void 0},textAlign:{inDropdown:!1,className:void 0,component:void 0,dropdownClassName:void 0,options:["left","center","right","justify"],left:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNOC40OTMgMTQuODg3SC4zMjZhLjMyNi4zMjYgMCAwIDEgMC0uNjUyaDguMTY3YS4zMjYuMzI2IDAgMCAxIDAgLjY1MnpNMTQuNjE4IDEwLjE2MkguMzI2YS4zMjYuMzI2IDAgMCAxIDAtLjY1M2gxNC4yOTJhLjMyNi4zMjYgMCAwIDEgMCAuNjUzek04LjQ5MyA1LjQzNUguMzI2YS4zMjYuMzI2IDAgMCAxIDAtLjY1Mmg4LjE2N2EuMzI2LjMyNiAwIDAgMSAwIC42NTJ6TTE0LjYxOC43MDlILjMyNmEuMzI2LjMyNiAwIDAgMSAwLS42NTJoMTQuMjkyYS4zMjYuMzI2IDAgMCAxIDAgLjY1MnoiLz48L2c+PC9zdmc+",className:void 0,title:void 0},center:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTEuNTU2IDE0Ljg4N0gzLjM4OGEuMzI2LjMyNiAwIDAgMSAwLS42NTJoOC4xNjdhLjMyNi4zMjYgMCAwIDEgMCAuNjUyek0xNC42MTggMTAuMTYySC4zMjZhLjMyNi4zMjYgMCAwIDEgMC0uNjUzaDE0LjI5MmEuMzI2LjMyNiAwIDAgMSAwIC42NTN6TTExLjU1NiA1LjQzNUgzLjM4OGEuMzI2LjMyNiAwIDAgMSAwLS42NTJoOC4xNjdhLjMyNi4zMjYgMCAwIDEgMCAuNjUyek0xNC42MTguNzA5SC4zMjZhLjMyNi4zMjYgMCAwIDEgMC0uNjUyaDE0LjI5MmEuMzI2LjMyNiAwIDAgMSAwIC42NTJ6Ii8+PC9nPjwvc3ZnPg==",className:void 0,title:void 0},right:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuNjE4IDE0Ljg4N0g2LjQ1YS4zMjYuMzI2IDAgMCAxIDAtLjY1Mmg4LjE2N2EuMzI2LjMyNiAwIDAgMSAwIC42NTJ6TTE0LjYxOCAxMC4xNjJILjMyNmEuMzI2LjMyNiAwIDAgMSAwLS42NTNoMTQuMjkyYS4zMjYuMzI2IDAgMCAxIDAgLjY1M3pNMTQuNjE4IDUuNDM1SDYuNDVhLjMyNi4zMjYgMCAwIDEgMC0uNjUyaDguMTY3YS4zMjYuMzI2IDAgMCAxIDAgLjY1MnpNMTQuNjE4LjcwOUguMzI2YS4zMjYuMzI2IDAgMCAxIDAtLjY1MmgxNC4yOTJhLjMyNi4zMjYgMCAwIDEgMCAuNjUyeiIvPjwvZz48L3N2Zz4=",className:void 0,title:void 0},justify:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuNjIgMTQuODg4SC4zMjVhLjMyNi4zMjYgMCAwIDEgMC0uNjUySDE0LjYyYS4zMjYuMzI2IDAgMCAxIDAgLjY1MnpNMTQuNjIgMTAuMTYySC4zMjVhLjMyNi4zMjYgMCAwIDEgMC0uNjUySDE0LjYyYS4zMjYuMzI2IDAgMCAxIDAgLjY1MnpNMTQuNjIgNS40MzZILjMyNWEuMzI2LjMyNiAwIDAgMSAwLS42NTJIMTQuNjJhLjMyNi4zMjYgMCAwIDEgMCAuNjUyek0xNC42Mi43MUguMzI1YS4zMjYuMzI2IDAgMCAxIDAtLjY1M0gxNC42MmEuMzI2LjMyNiAwIDAgMSAwIC42NTN6Ii8+PC9nPjwvc3ZnPg==",className:void 0,title:void 0},title:void 0},colorPicker:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuNDA2LjU4NWExLjk5OCAxLjk5OCAwIDAgMC0yLjgyNSAwbC0uNTQuNTRhLjc0MS43NDEgMCAxIDAtMS4wNDggMS4wNDhsLjE3NS4xNzUtNS44MjYgNS44MjUtMi4wMjIgMi4wMjNhLjkxLjkxIDAgMCAwLS4yNjYuNjAybC0uMDA1LjEwOHYuMDAybC0uMDgxIDEuODI5YS4zMDIuMzAyIDAgMCAwIC4zMDIuMzE2aC4wMTNsLjk3LS4wNDQuNTkyLS4wMjYuMjY4LS4wMTJjLjI5Ny0uMDEzLjU3OS0uMTM3Ljc5LS4zNDdsNy43Ny03Ljc3LjE0Ni4xNDRhLjc0Ljc0IDAgMCAwIDEuMDQ4IDBjLjI5LS4yOS4yOS0uNzU5IDAtMS4wNDhsLjU0LS41NGMuNzgtLjc4Ljc4LTIuMDQ0IDAtMi44MjV6TTguNzk1IDcuMzMzbC0yLjczLjUxNSA0LjQ1Mi00LjQ1MiAxLjEwOCAxLjEwNy0yLjgzIDIuODN6TTIuMDggMTMuNjczYy0xLjE0OCAwLTIuMDguMjk1LTIuMDguNjYgMCAuMzYzLjkzMi42NTggMi4wOC42NTggMS4xNSAwIDIuMDgtLjI5NCAyLjA4LS42NTkgMC0uMzY0LS45My0uNjU5LTIuMDgtLjY1OXoiLz48L2c+PC9zdmc+",className:void 0,component:void 0,popupClassName:void 0,colors:["rgb(97,189,109)","rgb(26,188,156)","rgb(84,172,210)","rgb(44,130,201)","rgb(147,101,184)","rgb(71,85,119)","rgb(204,204,204)","rgb(65,168,95)","rgb(0,168,133)","rgb(61,142,185)","rgb(41,105,176)","rgb(85,57,130)","rgb(40,50,78)","rgb(0,0,0)","rgb(247,218,100)","rgb(251,160,38)","rgb(235,107,86)","rgb(226,80,65)","rgb(163,143,132)","rgb(239,239,239)","rgb(255,255,255)","rgb(250,197,28)","rgb(243,121,52)","rgb(209,72,65)","rgb(184,49,47)","rgb(124,112,107)","rgb(209,213,216)"],title:void 0},link:{inDropdown:!1,className:void 0,component:void 0,popupClassName:void 0,dropdownClassName:void 0,showOpenOptionOnHover:!0,defaultTargetOption:"_self",options:["link","unlink"],link:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEzLjk2Ny45NUEzLjIyNiAzLjIyNiAwIDAgMCAxMS42Ny4wMDJjLS44NyAwLTEuNjg2LjMzNy0yLjI5Ny45NDhMNy4xMDUgMy4yMThBMy4yNDcgMy4yNDcgMCAwIDAgNi4yNCA2LjI0YTMuMjI1IDMuMjI1IDAgMCAwLTMuMDIyLjg2NUwuOTUgOS4zNzNhMy4yNTMgMy4yNTMgMCAwIDAgMCA0LjU5NCAzLjIyNiAzLjIyNiAwIDAgMCAyLjI5Ny45NDhjLjg3IDAgMS42ODYtLjMzNiAyLjI5OC0uOTQ4TDcuODEyIDExLjdhMy4yNDcgMy4yNDcgMCAwIDAgLjg2NS0zLjAyMyAzLjIyNSAzLjIyNSAwIDAgMCAzLjAyMi0uODY1bDIuMjY4LTIuMjY3YTMuMjUyIDMuMjUyIDAgMCAwIDAtNC41OTV6TTcuMTA1IDEwLjk5M0w0LjgzNyAxMy4yNmEyLjIzMyAyLjIzMyAwIDAgMS0xLjU5LjY1NSAyLjIzMyAyLjIzMyAwIDAgMS0xLjU5LS42NTUgMi4yNTIgMi4yNTIgMCAwIDEgMC0zLjE4bDIuMjY4LTIuMjY4YTIuMjMyIDIuMjMyIDAgMCAxIDEuNTktLjY1NWMuNDMgMCAuODQxLjEyIDEuMTk1LjM0M0w0Ljc3MiA5LjQzOGEuNS41IDAgMSAwIC43MDcuNzA3bDEuOTM5LTEuOTM4Yy41NDUuODY4LjQ0MiAyLjAzLS4zMTMgMi43ODV6bTYuMTU1LTYuMTU1bC0yLjI2OCAyLjI2N2EyLjIzMyAyLjIzMyAwIDAgMS0xLjU5LjY1NWMtLjQzMSAwLS44NDEtLjEyLTEuMTk1LS4zNDNsMS45MzgtMS45MzhhLjUuNSAwIDEgMC0uNzA3LS43MDdMNy40OTkgNi43MWEyLjI1MiAyLjI1MiAwIDAgMSAuMzEzLTIuNzg1bDIuMjY3LTIuMjY4YTIuMjMzIDIuMjMzIDAgMCAxIDEuNTktLjY1NSAyLjIzMyAyLjIzMyAwIDAgMSAyLjI0NiAyLjI0NWMwIC42MDMtLjIzMiAxLjE2OC0uNjU1IDEuNTl6IiBmaWxsPSIjMDAwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4=",className:void 0,title:void 0},unlink:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTMuOTU2IDEuMDM3YTMuNTUgMy41NSAwIDAgMC01LjAxNCAwTDYuNDM2IDMuNTQ0YS41NDUuNTQ1IDAgMSAwIC43Ny43N2wyLjUwOC0yLjUwNmEyLjQzOCAyLjQzOCAwIDAgMSAxLjczNS0uNzE1Yy42NTggMCAxLjI3NS4yNTQgMS43MzYuNzE1LjQ2LjQ2MS43MTUgMS4wNzguNzE1IDEuNzM2IDAgLjY1OC0uMjU0IDEuMjc0LS43MTUgMS43MzVMOS45MDcgOC41NThhMi40NTggMi40NTggMCAwIDEtMy40NzIgMCAuNTQ1LjU0NSAwIDEgMC0uNzcxLjc3MSAzLjUzNCAzLjUzNCAwIDAgMCAyLjUwNyAxLjAzN2MuOTA4IDAgMS44MTYtLjM0NiAyLjUwNy0xLjAzN2wzLjI3OC0zLjI3OGEzLjUyIDMuNTIgMCAwIDAgMS4wMzUtMi41MDdjMC0uOTUtLjM2Ny0xLjg0LTEuMDM1LTIuNTA3eiIvPjxwYXRoIGQ9Ik03LjQgMTEuMDY1bC0yLjEyMiAyLjEyYTIuNDM3IDIuNDM3IDAgMCAxLTEuNzM1LjcxNiAyLjQzNyAyLjQzNyAwIDAgMS0xLjczNi0uNzE1IDIuNDU3IDIuNDU3IDAgMCAxIDAtMy40NzFsMy4wODYtMy4wODZhMi40MzggMi40MzggMCAwIDEgMS43MzUtLjcxNWMuNjU4IDAgMS4yNzUuMjU0IDEuNzM2LjcxNWEuNTQ1LjU0NSAwIDEgMCAuNzcxLS43NzEgMy41NSAzLjU1IDAgMCAwLTUuMDE0IDBMMS4wMzYgOC45NDRBMy41MiAzLjUyIDAgMCAwIDAgMTEuNDVjMCAuOTUuMzY3IDEuODQgMS4wMzUgMi41MDdhMy41MiAzLjUyIDAgMCAwIDIuNTA2IDEuMDM1Yy45NSAwIDEuODQtLjM2OCAyLjUwNy0xLjAzNWwyLjEyMi0yLjEyMWEuNTQ1LjU0NSAwIDAgMC0uNzcxLS43NzF6TTkuMjc0IDEyLjAwMmEuNTQ2LjU0NiAwIDAgMC0uNTQ2LjU0NXYxLjYzN2EuNTQ2LjU0NiAwIDAgMCAxLjA5MSAwdi0xLjYzN2EuNTQ1LjU0NSAwIDAgMC0uNTQ1LS41NDV6TTExLjIzIDExLjYxNmEuNTQ1LjU0NSAwIDEgMC0uNzcyLjc3MmwxLjE1NyAxLjE1NmEuNTQzLjU0MyAwIDAgMCAuNzcxIDAgLjU0NS41NDUgMCAwIDAgMC0uNzdsLTEuMTU2LTEuMTU4ek0xMi41MzcgOS44MkgxMC45YS41NDYuNTQ2IDAgMCAwIDAgMS4wOTFoMS42MzdhLjU0Ni41NDYgMCAwIDAgMC0xLjA5ek00LjkxIDMuNTQ3YS41NDYuNTQ2IDAgMCAwIC41NDUtLjU0NVYxLjM2NmEuNTQ2LjU0NiAwIDAgMC0xLjA5IDB2MS42MzZjMCAuMzAxLjI0NC41NDUuNTQ1LjU0NXpNMi44ODggMy45MzNhLjU0My41NDMgMCAwIDAgLjc3MSAwIC41NDUuNTQ1IDAgMCAwIDAtLjc3MUwyLjUwMiAyLjAwNWEuNTQ1LjU0NSAwIDEgMC0uNzcxLjc3bDEuMTU3IDEuMTU4ek0xLjYyOCA1LjczaDEuNjM2YS41NDYuNTQ2IDAgMCAwIDAtMS4wOTJIMS42MjhhLjU0Ni41NDYgMCAwIDAgMCAxLjA5MXoiLz48L2c+PC9zdmc+",className:void 0,title:void 0},linkCallback:void 0},emoji:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTciIHZpZXdCb3g9IjE1LjcyOSAyMi4wODIgMTcgMTciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTI5LjcwOCAyNS4xMDRjLTMuMDIxLTMuMDIyLTcuOTM3LTMuMDIyLTEwLjk1OCAwLTMuMDIxIDMuMDItMy4wMiA3LjkzNiAwIDEwLjk1OCAzLjAyMSAzLjAyIDcuOTM3IDMuMDIgMTAuOTU4LS4wMDEgMy4wMi0zLjAyMSAzLjAyLTcuOTM2IDAtMTAuOTU3em0tLjg0NSAxMC4xMTJhNi41NiA2LjU2IDAgMCAxLTkuMjY4IDAgNi41NiA2LjU2IDAgMCAxIDAtOS4yNjcgNi41NiA2LjU2IDAgMCAxIDkuMjY4IDAgNi41NiA2LjU2IDAgMCAxIDAgOS4yNjd6bS03LjUyNC02LjczYS45MDYuOTA2IDAgMSAxIDEuODExIDAgLjkwNi45MDYgMCAwIDEtMS44MTEgMHptNC4xMDYgMGEuOTA2LjkwNiAwIDEgMSAxLjgxMiAwIC45MDYuOTA2IDAgMCAxLTEuODEyIDB6bTIuMTQxIDMuNzA4Yy0uNTYxIDEuMjk4LTEuODc1IDIuMTM3LTMuMzQ4IDIuMTM3LTEuNTA1IDAtMi44MjctLjg0My0zLjM2OS0yLjE0N2EuNDM4LjQzOCAwIDAgMSAuODEtLjMzNmMuNDA1Ljk3NiAxLjQxIDEuNjA3IDIuNTU5IDEuNjA3IDEuMTIzIDAgMi4xMjEtLjYzMSAyLjU0NC0xLjYwOGEuNDM4LjQzOCAwIDAgMSAuODA0LjM0N3oiLz48L3N2Zz4=",className:void 0,component:void 0,popupClassName:void 0,emojis:["😀","😁","😂","😃","😉","😋","😎","😍","😗","🤗","🤔","😣","😫","😴","😌","🤓","😛","😜","😠","😇","😷","😈","👻","😺","😸","😹","😻","😼","😽","🙀","🙈","🙉","🙊","👼","👮","🕵","💂","👳","🎅","👸","👰","👲","🙍","🙇","🚶","🏃","💃","⛷","🏂","🏌","🏄","🚣","🏊","⛹","🏋","🚴","👫","💪","👈","👉","👆","🖕","👇","🖖","🤘","🖐","👌","👍","👎","✊","👊","👏","🙌","🙏","🐵","🐶","🐇","🐥","🐸","🐌","🐛","🐜","🐝","🍉","🍄","🍔","🍤","🍨","🍪","🎂","🍰","🍾","🍷","🍸","🍺","🌍","🚑","⏰","🌙","🌝","🌞","⭐","🌟","🌠","🌨","🌩","⛄","🔥","🎄","🎈","🎉","🎊","🎁","🎗","🏀","🏈","🎲","🔇","🔈","📣","🔔","🎵","🎷","💰","🖊","📅","✅","❎","💯"],title:void 0},embedded:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYuNzA4IDYuNjE1YS40MzYuNDM2IDAgMCAwLS41NDMuMjkxbC0xLjgzIDYuMDQ1YS40MzYuNDM2IDAgMCAwIC44MzMuMjUyTDcgNy4xNmEuNDM2LjQzNiAwIDAgMC0uMjktLjU0NHpNOC45MzEgNi42MTVhLjQzNi40MzYgMCAwIDAtLjU0My4yOTFsLTEuODMgNi4wNDVhLjQzNi40MzYgMCAwIDAgLjgzNC4yNTJsMS44My02LjA0NGEuNDM2LjQzNiAwIDAgMC0uMjktLjU0NHoiLz48cGF0aCBkPSJNMTYuNTY0IDBILjQzNkEuNDM2LjQzNiAwIDAgMCAwIC40MzZ2MTYuMTI4YzAgLjI0LjE5NS40MzYuNDM2LjQzNmgxNi4xMjhjLjI0IDAgLjQzNi0uMTk1LjQzNi0uNDM2Vi40MzZBLjQzNi40MzYgMCAwIDAgMTYuNTY0IDB6TTMuNDg3Ljg3MmgxMC4wMjZ2MS43NDNIMy40ODdWLjg3MnptLTIuNjE1IDBoMS43NDN2MS43NDNILjg3MlYuODcyem0xNS4yNTYgMTUuMjU2SC44NzJWMy40ODhoMTUuMjU2djEyLjY0em0wLTEzLjUxM2gtMS43NDNWLjg3MmgxLjc0M3YxLjc0M3oiLz48Y2lyY2xlIGN4PSI5My44NjciIGN5PSIyNDUuMDY0IiByPSIxMy4xMjgiIHRyYW5zZm9ybT0ibWF0cml4KC4wMzMyIDAgMCAuMDMzMiAwIDApIi8+PGNpcmNsZSBjeD0iOTMuODY3IiBjeT0iMzYwLjU5MiIgcj0iMTMuMTI4IiB0cmFuc2Zvcm09Im1hdHJpeCguMDMzMiAwIDAgLjAzMzIgMCAwKSIvPjxwYXRoIGQ9Ik0xNC4yNTQgMTIuNjQxSDEwLjJhLjQzNi40MzYgMCAwIDAgMCAuODcyaDQuMDU0YS40MzYuNDM2IDAgMCAwIDAtLjg3MnoiLz48L3N2Zz4=",className:void 0,component:void 0,popupClassName:void 0,embedCallback:void 0,defaultSize:{height:"auto",width:"auto"},title:void 0},image:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuNzQxIDBILjI2Qy4xMTYgMCAwIC4xMzYgMCAuMzA0djEzLjM5MmMwIC4xNjguMTE2LjMwNC4yNTkuMzA0SDE0Ljc0Yy4xNDMgMCAuMjU5LS4xMzYuMjU5LS4zMDRWLjMwNEMxNSAuMTM2IDE0Ljg4NCAwIDE0Ljc0MSAwem0tLjI1OCAxMy4zOTFILjUxN1YuNjFoMTMuOTY2VjEzLjM5eiIvPjxwYXRoIGQ9Ik00LjEzOCA2LjczOGMuNzk0IDAgMS40NC0uNzYgMS40NC0xLjY5NXMtLjY0Ni0xLjY5NS0xLjQ0LTEuNjk1Yy0uNzk0IDAtMS40NC43Ni0xLjQ0IDEuNjk1IDAgLjkzNC42NDYgMS42OTUgMS40NCAxLjY5NXptMC0yLjc4MWMuNTA5IDAgLjkyMy40ODcuOTIzIDEuMDg2IDAgLjU5OC0uNDE0IDEuMDg2LS45MjMgMS4wODYtLjUwOSAwLS45MjMtLjQ4Ny0uOTIzLTEuMDg2IDAtLjU5OS40MTQtMS4wODYuOTIzLTEuMDg2ek0xLjgxIDEyLjE3NGMuMDYgMCAuMTIyLS4wMjUuMTcxLS4wNzZMNi4yIDcuNzI4bDIuNjY0IDMuMTM0YS4yMzIuMjMyIDAgMCAwIC4zNjYgMCAuMzQzLjM0MyAwIDAgMCAwLS40M0w3Ljk4NyA4Ljk2OWwyLjM3NC0zLjA2IDIuOTEyIDMuMTQyYy4xMDYuMTEzLjI3LjEwNS4zNjYtLjAyYS4zNDMuMzQzIDAgMCAwLS4wMTYtLjQzbC0zLjEwNC0zLjM0N2EuMjQ0LjI0NCAwIDAgMC0uMTg2LS4wOC4yNDUuMjQ1IDAgMCAwLS4xOC4xTDcuNjIyIDguNTM3IDYuMzk0IDcuMDk0YS4yMzIuMjMyIDAgMCAwLS4zNTQtLjAxM2wtNC40IDQuNTZhLjM0My4zNDMgMCAwIDAtLjAyNC40My4yNDMuMjQzIDAgMCAwIC4xOTQuMTAzeiIvPjwvZz48L3N2Zz4=",className:void 0,component:void 0,popupClassName:void 0,urlEnabled:!0,uploadEnabled:!0,previewImage:!1,alignmentEnabled:!0,uploadCallback:void 0,inputAccept:"image/gif,image/jpeg,image/jpg,image/png,image/svg",alt:{present:!1,mandatory:!1},defaultSize:{height:"auto",width:"auto"},title:void 0},remove:{icon:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNSIgaGVpZ2h0PSIxNSIgdmlld0JveD0iMCAwIDE2IDE2Ij48cGF0aCBkPSJNOC4xIDE0bDYuNC03LjJjLjYtLjcuNi0xLjgtLjEtMi41bC0yLjctMi43Yy0uMy0uNC0uOC0uNi0xLjMtLjZIOC42Yy0uNSAwLTEgLjItMS40LjZMLjUgOS4yYy0uNi43LS42IDEuOS4xIDIuNWwyLjcgMi43Yy4zLjQuOC42IDEuMy42SDE2di0xSDguMXptLTEuMy0uMXMwLS4xIDAgMGwtMi43LTIuN2MtLjQtLjQtLjQtLjkgMC0xLjNMNy41IDZoLTFsLTMgMy4zYy0uNi43LS42IDEuNy4xIDIuNEw1LjkgMTRINC42Yy0uMiAwLS40LS4xLS42LS4yTDEuMiAxMWMtLjMtLjMtLjMtLjggMC0xLjFMNC43IDZoMS44TDEwIDJoMUw3LjUgNmwzLjEgMy43LTMuNSA0Yy0uMS4xLS4yLjEtLjMuMnoiLz48L3N2Zz4=",className:void 0,component:void 0,title:void 0},history:{inDropdown:!1,className:void 0,component:void 0,dropdownClassName:void 0,options:["undo","redo"],undo:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTcgMTQuODc1YzIuNjcyIDAgNC44NDYtMi4xNDUgNC44NDYtNC43ODEgMC0yLjYzNy0yLjE3NC00Ljc4MS00Ljg0Ni00Ljc4MVY4LjVMMS42MTUgNC4yNSA3IDB2My4xODhjMy44NiAwIDcgMy4wOTggNyA2LjkwNlMxMC44NiAxNyA3IDE3cy03LTMuMDk4LTctNi45MDZoMi4xNTRjMCAyLjYzNiAyLjE3NCA0Ljc4MSA0Ljg0NiA0Ljc4MXoiIGZpbGw9IiMwMDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg==",className:void 0,title:void 0},redo:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYuNTA0IDEzLjk3N2E0LjQ5NyA0LjQ5NyAwIDAgMS00LjQ5Mi00LjQ5MiA0LjQ5NyA0LjQ5NyAwIDAgMSA0LjQ5Mi00LjQ5M3YyLjk5NWw0Ljk5LTMuOTkzTDYuNTA0IDB2Mi45OTVhNi40OTYgNi40OTYgMCAwIDAtNi40ODggNi40OWMwIDMuNTc4IDIuOTEgNi40OSA2LjQ4OCA2LjQ5YTYuNDk2IDYuNDk2IDAgMCAwIDYuNDg3LTYuNDloLTEuOTk2YTQuNDk3IDQuNDk3IDAgMCAxLTQuNDkxIDQuNDkyeiIgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+",className:void 0,title:void 0},title:void 0}},_r={en:{"generic.add":"Add","generic.cancel":"Cancel","components.controls.blocktype.h1":"H1","components.controls.blocktype.h2":"H2","components.controls.blocktype.h3":"H3","components.controls.blocktype.h4":"H4","components.controls.blocktype.h5":"H5","components.controls.blocktype.h6":"H6","components.controls.blocktype.blockquote":"Blockquote","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"Block Type","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Color Picker","components.controls.colorpicker.text":"Text","components.controls.colorpicker.background":"Highlight","components.controls.embedded.embedded":"Embedded","components.controls.embedded.embeddedlink":"Embedded Link","components.controls.embedded.enterlink":"Enter link","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Font","components.controls.fontsize.fontsize":"Font Size","components.controls.history.history":"History","components.controls.history.undo":"Undo","components.controls.history.redo":"Redo","components.controls.image.image":"Image","components.controls.image.fileUpload":"File Upload","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Drop the file or click to upload","components.controls.inline.bold":"Bold","components.controls.inline.italic":"Italic","components.controls.inline.underline":"Underline","components.controls.inline.strikethrough":"Strikethrough","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Superscript","components.controls.inline.subscript":"Subscript","components.controls.link.linkTitle":"Link Title","components.controls.link.linkTarget":"Link Target","components.controls.link.linkTargetOption":"Open link in new window","components.controls.link.link":"Link","components.controls.link.unlink":"Unlink","components.controls.list.list":"List","components.controls.list.unordered":"Unordered","components.controls.list.ordered":"Ordered","components.controls.list.indent":"Indent","components.controls.list.outdent":"Outdent","components.controls.remove.remove":"Remove","components.controls.textalign.textalign":"Text Align","components.controls.textalign.left":"Left","components.controls.textalign.center":"Center","components.controls.textalign.right":"Right","components.controls.textalign.justify":"Justify"},fr:{"generic.add":"Ok","generic.cancel":"Annuler","components.controls.blocktype.h1":"Titre 1","components.controls.blocktype.h2":"Titre 2","components.controls.blocktype.h3":"Titre 3","components.controls.blocktype.h4":"Titre 4","components.controls.blocktype.h5":"Titre 5","components.controls.blocktype.h6":"Titre 6","components.controls.blocktype.blockquote":"Citation","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"Type bloc","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Palette de couleur","components.controls.colorpicker.text":"Texte","components.controls.colorpicker.background":"Fond","components.controls.embedded.embedded":"Embedded","components.controls.embedded.embeddedlink":"Lien iFrame","components.controls.embedded.enterlink":"Entrer le lien","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Police","components.controls.fontsize.fontsize":"Taille de police","components.controls.history.history":"Historique","components.controls.history.undo":"Précédent","components.controls.history.redo":"Suivant","components.controls.image.image":"Image","components.controls.image.fileUpload":"Téléchargement","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Glisser une image ou cliquer pour télécharger","components.controls.inline.bold":"Gras","components.controls.inline.italic":"Italique","components.controls.inline.underline":"Souligner","components.controls.inline.strikethrough":"Barrer","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Exposant","components.controls.inline.subscript":"Indice","components.controls.link.linkTitle":"Titre du lien","components.controls.link.linkTarget":"Cible du lien","components.controls.link.linkTargetOption":"Ouvrir le lien dans une nouvelle fenêtre","components.controls.link.link":"Lier","components.controls.link.unlink":"Délier","components.controls.list.list":"Liste","components.controls.list.unordered":"Désordonnée","components.controls.list.ordered":"Ordonnée","components.controls.list.indent":"Augmenter le retrait","components.controls.list.outdent":"Diminuer le retrait","components.controls.remove.remove":"Supprimer","components.controls.textalign.textalign":"Alignement du texte","components.controls.textalign.left":"Gauche","components.controls.textalign.center":"Centre","components.controls.textalign.right":"Droite","components.controls.textalign.justify":"Justifier"},zh:{"generic.add":"添加","generic.cancel":"取消","components.controls.blocktype.h1":"标题1","components.controls.blocktype.h2":"标题2","components.controls.blocktype.h3":"标题3","components.controls.blocktype.h4":"标题4","components.controls.blocktype.h5":"标题5","components.controls.blocktype.h6":"标题6","components.controls.blocktype.blockquote":"引用","components.controls.blocktype.code":"源码","components.controls.blocktype.blocktype":"样式","components.controls.blocktype.normal":"正文","components.controls.colorpicker.colorpicker":"选色器","components.controls.colorpicker.text":"文字","components.controls.colorpicker.background":"背景","components.controls.embedded.embedded":"内嵌","components.controls.embedded.embeddedlink":"内嵌网页","components.controls.embedded.enterlink":"输入网页地址","components.controls.emoji.emoji":"表情符号","components.controls.fontfamily.fontfamily":"字体","components.controls.fontsize.fontsize":"字号","components.controls.history.history":"历史","components.controls.history.undo":"撤销","components.controls.history.redo":"恢复","components.controls.image.image":"图片","components.controls.image.fileUpload":"来自文件","components.controls.image.byURL":"在线图片","components.controls.image.dropFileText":"点击或者拖拽文件上传","components.controls.inline.bold":"粗体","components.controls.inline.italic":"斜体","components.controls.inline.underline":"下划线","components.controls.inline.strikethrough":"删除线","components.controls.inline.monospace":"等宽字体","components.controls.inline.superscript":"上标","components.controls.inline.subscript":"下标","components.controls.link.linkTitle":"超链接","components.controls.link.linkTarget":"输入链接地址","components.controls.link.linkTargetOption":"在新窗口中打开链接","components.controls.link.link":"链接","components.controls.link.unlink":"删除链接","components.controls.list.list":"列表","components.controls.list.unordered":"项目符号","components.controls.list.ordered":"编号","components.controls.list.indent":"增加缩进量","components.controls.list.outdent":"减少缩进量","components.controls.remove.remove":"清除格式","components.controls.textalign.textalign":"文本对齐","components.controls.textalign.left":"文本左对齐","components.controls.textalign.center":"居中","components.controls.textalign.right":"文本右对齐","components.controls.textalign.justify":"两端对齐"},ru:{"generic.add":"Добавить","generic.cancel":"Отменить","components.controls.blocktype.h1":"Заголовок 1","components.controls.blocktype.h2":"Заголовок 2","components.controls.blocktype.h3":"Заголовок 3","components.controls.blocktype.h4":"Заголовок 4","components.controls.blocktype.h5":"Заголовок 5","components.controls.blocktype.h6":"Заголовок 6","components.controls.blocktype.blockquote":"Цитата","components.controls.blocktype.code":"Код","components.controls.blocktype.blocktype":"Форматирование","components.controls.blocktype.normal":"Обычный","components.controls.colorpicker.colorpicker":"Выбор цвета","components.controls.colorpicker.text":"Текст","components.controls.colorpicker.background":"Фон","components.controls.embedded.embedded":"Встраивание","components.controls.embedded.embeddedlink":"Ссылка в iFrame","components.controls.embedded.enterlink":"Вставьте ссылку","components.controls.emoji.emoji":"Эмодзи","components.controls.fontfamily.fontfamily":"Шрифт","components.controls.fontsize.fontsize":"Размер шрифта","components.controls.history.history":"История","components.controls.history.undo":"Отменить","components.controls.history.redo":"Вернуть","components.controls.image.image":"Изображение","components.controls.image.fileUpload":"Файлы","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Переместите в эту область файлы или кликните для загрузки","components.controls.inline.bold":"Жирный","components.controls.inline.italic":"Курсив","components.controls.inline.underline":"Подчеркивание","components.controls.inline.strikethrough":"Зачеркивание","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Верхний индекс","components.controls.inline.subscript":"Нижний индекс","components.controls.link.linkTitle":"Текст","components.controls.link.linkTarget":"Адрес ссылки","components.controls.link.linkTargetOption":"Открывать в новом окне","components.controls.link.link":"Ссылка","components.controls.link.unlink":"Убрать ссылку","components.controls.list.list":"Список","components.controls.list.unordered":"Неупорядоченный","components.controls.list.ordered":"Упорядоченный","components.controls.list.indent":"Отступ","components.controls.list.outdent":"Выступ","components.controls.remove.remove":"Удалить","components.controls.textalign.textalign":"Выравнивание текста","components.controls.textalign.left":"Слева","components.controls.textalign.center":"По центру","components.controls.textalign.right":"Справа","components.controls.textalign.justify":"Выравнить"},pt:{"generic.add":"Ok","generic.cancel":"Cancelar","components.controls.blocktype.h1":"Título 1","components.controls.blocktype.h2":"Título 2","components.controls.blocktype.h3":"Título 3","components.controls.blocktype.h4":"Título 4","components.controls.blocktype.h5":"Título 5","components.controls.blocktype.h6":"Título 6","components.controls.blocktype.blockquote":"Citação","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"Estilo","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Paleta de cores","components.controls.colorpicker.text":"Texto","components.controls.colorpicker.background":"Fundo","components.controls.embedded.embedded":"Embarcado","components.controls.embedded.embeddedlink":"Link embarcado","components.controls.embedded.enterlink":"Coloque o link","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Fonte","components.controls.fontsize.fontsize":"Tamanho da Fonte","components.controls.history.history":"Histórico","components.controls.history.undo":"Desfazer","components.controls.history.redo":"Refazer","components.controls.image.image":"Imagem","components.controls.image.fileUpload":"Carregar arquivo","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Arraste uma imagem aqui ou clique para carregar","components.controls.inline.bold":"Negrito","components.controls.inline.italic":"Itálico","components.controls.inline.underline":"Sublinhado","components.controls.inline.strikethrough":"Strikethrough","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Sobrescrito","components.controls.inline.subscript":"Subscrito","components.controls.link.linkTitle":"Título do link","components.controls.link.linkTarget":"Alvo do link","components.controls.link.linkTargetOption":"Abrir link em outra janela","components.controls.link.link":"Adicionar Link","components.controls.link.unlink":"Remover link","components.controls.list.list":"Lista","components.controls.list.unordered":"Sem ordenção","components.controls.list.ordered":"Ordenada","components.controls.list.indent":"Aumentar recuo","components.controls.list.outdent":"Diminuir recuo","components.controls.remove.remove":"Remover","components.controls.textalign.textalign":"Alinhamento do texto","components.controls.textalign.left":"À Esquerda","components.controls.textalign.center":"Centralizado","components.controls.textalign.right":"À Direita","components.controls.textalign.justify":"Justificado"},ko:{"generic.add":"입력","generic.cancel":"취소","components.controls.blocktype.h1":"제목1","components.controls.blocktype.h2":"제목2","components.controls.blocktype.h3":"제목3","components.controls.blocktype.h4":"제목4","components.controls.blocktype.h5":"제목5","components.controls.blocktype.h6":"제목6","components.controls.blocktype.blockquote":"인용","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"블록","components.controls.blocktype.normal":"표준","components.controls.colorpicker.colorpicker":"색상 선택","components.controls.colorpicker.text":"글꼴색","components.controls.colorpicker.background":"배경색","components.controls.embedded.embedded":"임베드","components.controls.embedded.embeddedlink":"임베드 링크","components.controls.embedded.enterlink":"주소를 입력하세요","components.controls.emoji.emoji":"이모지","components.controls.fontfamily.fontfamily":"글꼴","components.controls.fontsize.fontsize":"글꼴 크기","components.controls.history.history":"히스토리","components.controls.history.undo":"실행 취소","components.controls.history.redo":"다시 실행","components.controls.image.image":"이미지","components.controls.image.fileUpload":"파일 업로드","components.controls.image.byURL":"주소","components.controls.image.dropFileText":"클릭하거나 파일을 드롭하여 업로드하세요","components.controls.inline.bold":"굵게","components.controls.inline.italic":"기울임꼴","components.controls.inline.underline":"밑줄","components.controls.inline.strikethrough":"취소선","components.controls.inline.monospace":"고정 너비","components.controls.inline.superscript":"위 첨자","components.controls.inline.subscript":"아래 첨자","components.controls.link.linkTitle":"링크 제목","components.controls.link.linkTarget":"링크 타겟","components.controls.link.linkTargetOption":"새창으로 열기","components.controls.link.link":"링크","components.controls.link.unlink":"링크 제거","components.controls.list.list":"리스트","components.controls.list.unordered":"일반 리스트","components.controls.list.ordered":"순서 리스트","components.controls.list.indent":"들여쓰기","components.controls.list.outdent":"내어쓰기","components.controls.remove.remove":"삭제","components.controls.textalign.textalign":"텍스트 정렬","components.controls.textalign.left":"왼쪽","components.controls.textalign.center":"중앙","components.controls.textalign.right":"오른쪽","components.controls.textalign.justify":"양쪽"},it:{"generic.add":"Aggiungi","generic.cancel":"Annulla","components.controls.blocktype.h1":"H1","components.controls.blocktype.h2":"H2","components.controls.blocktype.h3":"H3","components.controls.blocktype.h4":"H4","components.controls.blocktype.h5":"H5","components.controls.blocktype.h6":"H6","components.controls.blocktype.blockquote":"Citazione","components.controls.blocktype.code":"Codice","components.controls.blocktype.blocktype":"Stili","components.controls.blocktype.normal":"Normale","components.controls.colorpicker.colorpicker":"Colore testo","components.controls.colorpicker.text":"Testo","components.controls.colorpicker.background":"Evidenziazione","components.controls.embedded.embedded":"Incorpora","components.controls.embedded.embeddedlink":"Incorpora link","components.controls.embedded.enterlink":"Inserisci link","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Carattere","components.controls.fontsize.fontsize":"Dimensione carattere","components.controls.history.history":"Modifiche","components.controls.history.undo":"Annulla","components.controls.history.redo":"Ripristina","components.controls.image.image":"Immagine","components.controls.image.fileUpload":"Carica immagine","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Trascina il file o clicca per caricare","components.controls.inline.bold":"Grassetto","components.controls.inline.italic":"Corsivo","components.controls.inline.underline":"Sottolineato","components.controls.inline.strikethrough":"Barrato","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Apice","components.controls.inline.subscript":"Pedice","components.controls.link.linkTitle":"Testo","components.controls.link.linkTarget":"Link","components.controls.link.linkTargetOption":"Apri link in una nuova finestra","components.controls.link.link":"Inserisci link","components.controls.link.unlink":"Rimuovi link","components.controls.list.list":"Lista","components.controls.list.unordered":"Elenco puntato","components.controls.list.ordered":"Elenco numerato","components.controls.list.indent":"Indent","components.controls.list.outdent":"Outdent","components.controls.remove.remove":"Rimuovi formattazione","components.controls.textalign.textalign":"Allineamento del testo","components.controls.textalign.left":"Allinea a sinistra","components.controls.textalign.center":"Allinea al centro","components.controls.textalign.right":"Allinea a destra","components.controls.textalign.justify":"Giustifica"},nl:{"generic.add":"Toevoegen","generic.cancel":"Annuleren","components.controls.blocktype.h1":"H1","components.controls.blocktype.h2":"H2","components.controls.blocktype.h3":"H3","components.controls.blocktype.h4":"H4","components.controls.blocktype.h5":"H5","components.controls.blocktype.h6":"H6","components.controls.blocktype.blockquote":"Blockquote","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"Blocktype","components.controls.blocktype.normal":"Normaal","components.controls.colorpicker.colorpicker":"Kleurkiezer","components.controls.colorpicker.text":"Tekst","components.controls.colorpicker.background":"Achtergrond","components.controls.embedded.embedded":"Ingevoegd","components.controls.embedded.embeddedlink":"Ingevoegde link","components.controls.embedded.enterlink":"Voeg link toe","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Lettertype","components.controls.fontsize.fontsize":"Lettergrootte","components.controls.history.history":"Geschiedenis","components.controls.history.undo":"Ongedaan maken","components.controls.history.redo":"Opnieuw","components.controls.image.image":"Afbeelding","components.controls.image.fileUpload":"Bestand uploaden","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Drop het bestand hier of klik om te uploaden","components.controls.inline.bold":"Dikgedrukt","components.controls.inline.italic":"Schuingedrukt","components.controls.inline.underline":"Onderstrepen","components.controls.inline.strikethrough":"Doorstrepen","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Superscript","components.controls.inline.subscript":"Subscript","components.controls.link.linkTitle":"Linktitel","components.controls.link.linkTarget":"Link bestemming","components.controls.link.linkTargetOption":"Open link in een nieuw venster","components.controls.link.link":"Link","components.controls.link.unlink":"Unlink","components.controls.list.list":"Lijst","components.controls.list.unordered":"Ongeordend","components.controls.list.ordered":"Geordend","components.controls.list.indent":"Inspringen","components.controls.list.outdent":"Inspringen verkleinen","components.controls.remove.remove":"Verwijderen","components.controls.textalign.textalign":"Tekst uitlijnen","components.controls.textalign.left":"Links","components.controls.textalign.center":"Gecentreerd","components.controls.textalign.right":"Rechts","components.controls.textalign.justify":"Uitgelijnd"},de:{"generic.add":"Hinzufügen","generic.cancel":"Abbrechen","components.controls.blocktype.h1":"Überschrift 1","components.controls.blocktype.h2":"Überschrift 2","components.controls.blocktype.h3":"Überschrift 3","components.controls.blocktype.h4":"Überschrift 4","components.controls.blocktype.h5":"Überschrift 5","components.controls.blocktype.h6":"Überschrift 6","components.controls.blocktype.blockquote":"Zitat","components.controls.blocktype.code":"Quellcode","components.controls.blocktype.blocktype":"Blocktyp","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Farbauswahl","components.controls.colorpicker.text":"Text","components.controls.colorpicker.background":"Hintergrund","components.controls.embedded.embedded":"Eingebettet","components.controls.embedded.embeddedlink":"Eingebetteter Link","components.controls.embedded.enterlink":"Link eingeben","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Schriftart","components.controls.fontsize.fontsize":"Schriftgröße","components.controls.history.history":"Historie","components.controls.history.undo":"Zurücknehmen","components.controls.history.redo":"Wiederholen","components.controls.image.image":"Bild","components.controls.image.fileUpload":"Datei-Upload","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Dateien ziehen und ablegen, oder klicken zum Hochladen","components.controls.inline.bold":"Fett","components.controls.inline.italic":"Kursiv","components.controls.inline.underline":"Unterstreichen","components.controls.inline.strikethrough":"Durchstreichen","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Hochgestellt","components.controls.inline.subscript":"Tiefgestellt","components.controls.link.linkTitle":"Link-Titel","components.controls.link.linkTarget":"Link-Ziel","components.controls.link.linkTargetOption":"Link in neuem Fenster öffnen","components.controls.link.link":"Link","components.controls.link.unlink":"Aufheben","components.controls.list.list":"Liste","components.controls.list.unordered":"Aufzählung","components.controls.list.ordered":"Nummerierte Liste","components.controls.list.indent":"Einzug vergrößern","components.controls.list.outdent":"Einzug reduzieren","components.controls.remove.remove":"Entfernen","components.controls.textalign.textalign":"Textausrichtung","components.controls.textalign.left":"Linksbündig","components.controls.textalign.center":"Zentrieren","components.controls.textalign.right":"Rechtsbündig","components.controls.textalign.justify":"Blocksatz"},da:{"generic.add":"Tilføj","generic.cancel":"Annuller","components.controls.blocktype.h1":"Overskrift 1","components.controls.blocktype.h2":"Overskrift 2","components.controls.blocktype.h3":"Overskrift 3","components.controls.blocktype.h4":"Overskrift 4","components.controls.blocktype.h5":"Overskrift 5","components.controls.blocktype.h6":"Overskrift 6","components.controls.blocktype.blockquote":"Blokcitat","components.controls.blocktype.code":"Kode","components.controls.blocktype.blocktype":"Blok Type","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Farver","components.controls.colorpicker.text":"Tekst","components.controls.colorpicker.background":"Baggrund","components.controls.embedded.embedded":"Indlejre","components.controls.embedded.embeddedlink":"Indlejre Link","components.controls.embedded.enterlink":"Indtast link","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Fonttype","components.controls.fontsize.fontsize":"Fontstørrelser","components.controls.history.history":"Historie","components.controls.history.undo":"Fortryd","components.controls.history.redo":"Gendan","components.controls.image.image":"Billede","components.controls.image.fileUpload":"Filoverførsel","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Drop filen eller klik for at uploade","components.controls.inline.bold":"Fed","components.controls.inline.italic":"Kursiv","components.controls.inline.underline":"Understrege","components.controls.inline.strikethrough":"Gennemstreget","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Hævet","components.controls.inline.subscript":"Sænket","components.controls.link.linkTitle":"Link Titel","components.controls.link.linkTarget":"Link Mål","components.controls.link.linkTargetOption":"Åbn link i nyt vindue","components.controls.link.link":"Link","components.controls.link.unlink":"Fjern link","components.controls.list.list":"Liste","components.controls.list.unordered":"Uordnet","components.controls.list.ordered":"Ordnet","components.controls.list.indent":"Indrykning","components.controls.list.outdent":"Udrykning","components.controls.remove.remove":"Fjern","components.controls.textalign.textalign":"Tekstjustering","components.controls.textalign.left":"Venstre","components.controls.textalign.center":"Center","components.controls.textalign.right":"Højre","components.controls.textalign.justify":"Margener"},zh_tw:{"generic.add":"新增","generic.cancel":"取消","components.controls.blocktype.h1":"標題1","components.controls.blocktype.h2":"標題2","components.controls.blocktype.h3":"標題3","components.controls.blocktype.h4":"標題4","components.controls.blocktype.h5":"標題5","components.controls.blocktype.h6":"標題6","components.controls.blocktype.blockquote":"引用","components.controls.blocktype.code":"程式碼","components.controls.blocktype.blocktype":"樣式","components.controls.blocktype.normal":"正文","components.controls.colorpicker.colorpicker":"選色器","components.controls.colorpicker.text":"文字","components.controls.colorpicker.background":"背景","components.controls.embedded.embedded":"內嵌","components.controls.embedded.embeddedlink":"內嵌網頁","components.controls.embedded.enterlink":"輸入網頁地址","components.controls.emoji.emoji":"表情符號","components.controls.fontfamily.fontfamily":"字體","components.controls.fontsize.fontsize":"字體大小","components.controls.history.history":"歷史紀錄","components.controls.history.undo":"復原","components.controls.history.redo":"重做","components.controls.image.image":"圖片","components.controls.image.fileUpload":"檔案上傳","components.controls.image.byURL":"網址","components.controls.image.dropFileText":"點擊或拖曳檔案上傳","components.controls.inline.bold":"粗體","components.controls.inline.italic":"斜體","components.controls.inline.underline":"底線","components.controls.inline.strikethrough":"刪除線","components.controls.inline.monospace":"等寬字體","components.controls.inline.superscript":"上標","components.controls.inline.subscript":"下標","components.controls.link.linkTitle":"超連結","components.controls.link.linkTarget":"輸入連結位址","components.controls.link.linkTargetOption":"在新視窗打開連結","components.controls.link.link":"連結","components.controls.link.unlink":"刪除連結","components.controls.list.list":"列表","components.controls.list.unordered":"項目符號","components.controls.list.ordered":"編號","components.controls.list.indent":"增加縮排","components.controls.list.outdent":"減少縮排","components.controls.remove.remove":"清除格式","components.controls.textalign.textalign":"文字對齊","components.controls.textalign.left":"文字向左對齊","components.controls.textalign.center":"文字置中","components.controls.textalign.right":"文字向右對齊","components.controls.textalign.justify":"兩端對齊"},pl:{"generic.add":"Dodaj","generic.cancel":"Anuluj","components.controls.blocktype.h1":"Nagłówek 1","components.controls.blocktype.h2":"Nagłówek 2","components.controls.blocktype.h3":"Nagłówek 3","components.controls.blocktype.h4":"Nagłówek 4","components.controls.blocktype.h5":"Nagłówek 5","components.controls.blocktype.h6":"Nagłówek 6","components.controls.blocktype.blockquote":"Cytat","components.controls.blocktype.code":"Kod","components.controls.blocktype.blocktype":"Format","components.controls.blocktype.normal":"Normalny","components.controls.colorpicker.colorpicker":"Kolor","components.controls.colorpicker.text":"Tekst","components.controls.colorpicker.background":"Tło","components.controls.embedded.embedded":"Osadź","components.controls.embedded.embeddedlink":"Osadź odnośnik","components.controls.embedded.enterlink":"Wprowadź odnośnik","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Krój czcionki","components.controls.fontsize.fontsize":"Rozmiar czcionki","components.controls.history.history":"Historia","components.controls.history.undo":"Cofnij","components.controls.history.redo":"Ponów","components.controls.image.image":"Obrazek","components.controls.image.fileUpload":"Prześlij plik","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Upuść plik lub kliknij, aby przesłać","components.controls.inline.bold":"Pogrubienie","components.controls.inline.italic":"Kursywa","components.controls.inline.underline":"Podkreślenie","components.controls.inline.strikethrough":"Przekreślenie","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Indeks górny","components.controls.inline.subscript":"Indeks dolny","components.controls.link.linkTitle":"Tytuł odnośnika","components.controls.link.linkTarget":"Adres odnośnika","components.controls.link.linkTargetOption":"Otwórz odnośnik w nowej karcie","components.controls.link.link":"Wstaw odnośnik","components.controls.link.unlink":"Usuń odnośnik","components.controls.list.list":"Lista","components.controls.list.unordered":"Lista nieuporządkowana","components.controls.list.ordered":"Lista uporządkowana","components.controls.list.indent":"Zwiększ wcięcie","components.controls.list.outdent":"Zmniejsz wcięcie","components.controls.remove.remove":"Usuń","components.controls.textalign.textalign":"Wyrównaj tekst","components.controls.textalign.left":"Do lewej","components.controls.textalign.center":"Do środka","components.controls.textalign.right":"Do prawej","components.controls.textalign.justify":"Wyjustuj"},es:{"generic.add":"Añadir","generic.cancel":"Cancelar","components.controls.blocktype.h1":"H1","components.controls.blocktype.h2":"H2","components.controls.blocktype.h3":"H3","components.controls.blocktype.h4":"H4","components.controls.blocktype.h5":"H5","components.controls.blocktype.h6":"H6","components.controls.blocktype.blockquote":"Blockquote","components.controls.blocktype.code":"Código","components.controls.blocktype.blocktype":"Tipo de bloque","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Seleccionar color","components.controls.colorpicker.text":"Texto","components.controls.colorpicker.background":"Subrayado","components.controls.embedded.embedded":"Adjuntar","components.controls.embedded.embeddedlink":"Adjuntar Link","components.controls.embedded.enterlink":"Introducir link","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Fuente","components.controls.fontsize.fontsize":"Tamaño de fuente","components.controls.history.history":"Histórico","components.controls.history.undo":"Deshacer","components.controls.history.redo":"Rehacer","components.controls.image.image":"Imagen","components.controls.image.fileUpload":"Subir archivo","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Arrastra el archivo o haz click para subirlo","components.controls.inline.bold":"Negrita","components.controls.inline.italic":"Cursiva","components.controls.inline.underline":"Subrayado","components.controls.inline.strikethrough":"Tachado","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Sobreíndice","components.controls.inline.subscript":"Subíndice","components.controls.link.linkTitle":"Título del enlace","components.controls.link.linkTarget":"Objetivo del enlace","components.controls.link.linkTargetOption":"Abrir en nueva ventana","components.controls.link.link":"Enlazar","components.controls.link.unlink":"Desenlazar","components.controls.list.list":"Lista","components.controls.list.unordered":"Desordenada","components.controls.list.ordered":"Ordenada","components.controls.list.indent":"Indentada","components.controls.list.outdent":"Dentada","components.controls.remove.remove":"Eliminar","components.controls.textalign.textalign":"Alineación del texto","components.controls.textalign.left":"Izquierda","components.controls.textalign.center":"Centrado","components.controls.textalign.right":"Derecha","components.controls.textalign.justify":"Justificado"},ja:{"generic.add":"追加","generic.cancel":"キャンセル","components.controls.blocktype.h1":"見出し1","components.controls.blocktype.h2":"見出し2","components.controls.blocktype.h3":"見出し3","components.controls.blocktype.h4":"見出し4","components.controls.blocktype.h5":"見出し5","components.controls.blocktype.h6":"見出し6","components.controls.blocktype.blockquote":"引用","components.controls.blocktype.code":"コード","components.controls.blocktype.blocktype":"スタイル","components.controls.blocktype.normal":"標準テキスト","components.controls.colorpicker.colorpicker":"テキストの色","components.controls.colorpicker.text":"テキスト","components.controls.colorpicker.background":"ハイライト","components.controls.embedded.embedded":"埋め込み","components.controls.embedded.embeddedlink":"埋め込みリンク","components.controls.embedded.enterlink":"リンクを入力してください","components.controls.emoji.emoji":"絵文字","components.controls.fontfamily.fontfamily":"フォント","components.controls.fontsize.fontsize":"フォントサイズ","components.controls.history.history":"履歴","components.controls.history.undo":"元に戻す","components.controls.history.redo":"やり直し","components.controls.image.image":"画像","components.controls.image.fileUpload":"ファイルをアップロード","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"ここに画像をドラッグするか、クリックしてください","components.controls.inline.bold":"太字","components.controls.inline.italic":"斜体","components.controls.inline.underline":"下線","components.controls.inline.strikethrough":"取り消し線","components.controls.inline.monospace":"等幅フォント","components.controls.inline.superscript":"上付き文字","components.controls.inline.subscript":"下付き文字","components.controls.link.linkTitle":"リンクタイトル","components.controls.link.linkTarget":"リンク対象","components.controls.link.linkTargetOption":"新しいウィンドウで開く","components.controls.link.link":"リンク","components.controls.link.unlink":"リンクを解除","components.controls.list.list":"リスト","components.controls.list.unordered":"箇条書き","components.controls.list.ordered":"番号付き","components.controls.list.indent":"インデント増","components.controls.list.outdent":"インデント減","components.controls.remove.remove":"書式をクリア","components.controls.textalign.textalign":"整列","components.controls.textalign.left":"左揃え","components.controls.textalign.center":"中央揃え","components.controls.textalign.right":"右揃え","components.controls.textalign.justify":"両端揃え"}};function wr(t){return(wr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Sr(){return(Sr=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function Mr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Er(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Mr(Object(n),!0).forEach((function(e){xr(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Mr(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function xr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function kr(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function Cr(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function jr(t){return(jr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Dr(t,e){return(Dr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}n(38),n(39);var Or=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==wr(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,jr(t).call(this,e))).onEditorBlur=function(){n.setState({editorFocused:!1})},n.onEditorFocus=function(t){var e=n.props.onFocus;n.setState({editorFocused:!0});var r=n.focusHandler.isEditorFocused();e&&r&&e(t)},n.onEditorMouseDown=function(){n.focusHandler.onEditorMouseDown()},n.keyBindingFn=function(t){if("Tab"!==t.key)return"ArrowUp"!==t.key&&"ArrowDown"!==t.key||v()&&t.preventDefault(),Object(s.getDefaultKeyBinding)(t);var e=n.props.onTab;if(!e||!e(t)){var r=Object(c.changeDepth)(n.state.editorState,t.shiftKey?-1:1,4);r&&r!==n.state.editorState&&(n.onChange(r),t.preventDefault())}return null},n.onToolbarFocus=function(t){var e=n.props.onFocus;e&&n.focusHandler.isToolbarFocused()&&e(t)},n.onWrapperBlur=function(t){var e=n.props.onBlur;e&&n.focusHandler.isEditorBlur(t)&&e(t,n.getEditorState())},n.onChange=function(t){var e=n.props,r=e.readOnly,o=e.onEditorStateChange;r||"atomic"===Object(c.getSelectedBlocksType)(t)&&t.getSelection().isCollapsed||(o&&o(t,n.props.wrapperId),w(n.props,"editorState")?n.afterChange(t):n.setState({editorState:t},n.afterChange(t)))},n.setWrapperReference=function(t){n.wrapper=t},n.setEditorReference=function(t){n.props.editorRef&&n.props.editorRef(t),n.editor=t},n.getCompositeDecorator=function(t){var e=[].concat(kr(n.props.customDecorators),[{strategy:$n,component:tr({showOpenOptionOnHover:t.link.showOpenOptionOnHover})}]);return n.props.mention&&e.push.apply(e,kr(function(t){return[new nr(t.mentionClassName).getMentionDecorator(),new ur(t).getSuggestionDecorator()]}(Er({},n.props.mention,{onChange:n.onChange,getEditorState:n.getEditorState,getSuggestions:n.getSuggestions,getWrapperRef:n.getWrapperRef,modalHandler:n.modalHandler})))),n.props.hashtag&&e.push(function(t){return new lr(t).getHashtagDecorator()}(n.props.hashtag)),new s.CompositeDecorator(e)},n.getWrapperRef=function(){return n.wrapper},n.getEditorState=function(){return n.state?n.state.editorState:null},n.getSuggestions=function(){return n.props.mention&&n.props.mention.suggestions},n.afterChange=function(t){setTimeout((function(){var e=n.props,r=e.onChange,o=e.onContentStateChange;r&&r(Object(s.convertToRaw)(t.getCurrentContent())),o&&o(Object(s.convertToRaw)(t.getCurrentContent()))}))},n.isReadOnly=function(){return n.props.readOnly},n.isImageAlignmentEnabled=function(){return n.state.toolbar.image.alignmentEnabled},n.createEditorState=function(t){var e;if(w(n.props,"editorState"))n.props.editorState&&(e=s.EditorState.set(n.props.editorState,{decorator:t}));else if(w(n.props,"defaultEditorState"))n.props.defaultEditorState&&(e=s.EditorState.set(n.props.defaultEditorState,{decorator:t}));else if(w(n.props,"contentState")){if(n.props.contentState){var r=Object(s.convertFromRaw)(n.props.contentState);e=s.EditorState.createWithContent(r,t),e=s.EditorState.moveSelectionToEnd(e)}}else if(w(n.props,"defaultContentState")||w(n.props,"initialContentState")){var o=n.props.defaultContentState||n.props.initialContentState;o&&(o=Object(s.convertFromRaw)(o),e=s.EditorState.createWithContent(o,t),e=s.EditorState.moveSelectionToEnd(e))}return e||s.EditorState.createEmpty(t)},n.filterEditorProps=function(t){return e=t,n=["onChange","onEditorStateChange","onContentStateChange","initialContentState","defaultContentState","contentState","editorState","defaultEditorState","locale","localization","toolbarOnFocus","toolbar","toolbarCustomButtons","toolbarClassName","editorClassName","toolbarHidden","wrapperClassName","toolbarStyle","editorStyle","wrapperStyle","uploadCallback","onFocus","onBlur","onTab","mention","hashtag","ariaLabel","customBlockRenderFunc","customDecorators","handlePastedText","customStyleMap"],r=Object.keys(e).filter((function(t){return n.indexOf(t)<0})),o={},r&&0<r.length&&r.forEach((function(t){o[t]=e[t]})),o;var e,n,r,o},n.getStyleMap=function(t){return Er({},Object(c.getCustomStyleMap)(),{},t.customStyleMap)},n.changeEditorState=function(t){var e=Object(s.convertFromRaw)(t),r=n.state.editorState;return r=s.EditorState.push(r,e,"insert-characters"),s.EditorState.moveSelectionToEnd(r)},n.focusEditor=function(){setTimeout((function(){n.editor.focus()}))},n.handleKeyCommand=function(t){var e=n.state,r=e.editorState,o=e.toolbar.inline;if(o&&0<=o.options.indexOf(t)){var i=s.RichUtils.handleKeyCommand(r,t);if(i)return n.onChange(i),!0}return!1},n.handleReturn=function(t){if(v())return!0;var e=n.state.editorState,r=Object(c.handleNewLine)(e,t);return!!r&&(n.onChange(r),!0)},n.handlePastedTextFn=function(t,e){var r=n.state.editorState,o=n.props,i=o.handlePastedText,a=o.stripPastedStyles;return i?i(t,e,r,n.onChange):!a&&function(t,e,n,r){var o=Object(c.getSelectedBlock)(n);if(o&&"code"===o.type){var i=s.Modifier.replaceText(n.getCurrentContent(),n.getSelection(),t,n.getCurrentInlineStyle());return r(s.EditorState.push(n,i,"insert-characters")),!0}if(e){var a=k()(e),u=n.getCurrentContent();return a.entityMap.forEach((function(t,e){u=u.mergeEntityData(e,t)})),u=s.Modifier.replaceWithFragment(u,n.getSelection(),new C.List(a.contentBlocks)),r(s.EditorState.push(n,u,"insert-characters")),!0}return!1}(t,e,r,n.onChange)},n.preventDefault=function(t){"INPUT"===t.target.tagName||"LABEL"===t.target.tagName||"TEXTAREA"===t.target.tagName?n.focusHandler.onInputMouseDown():t.preventDefault()};var r=E(br,e.toolbar),o=e.wrapperId?e.wrapperId:Math.floor(1e4*Math.random());n.wrapperId="rdw-wrapper-".concat(o),n.modalHandler=new p,n.focusHandler=new f,n.blockRendererFn=function(t,e){return function(n){if("function"==typeof e){var r=e(n,t,t.getEditorState);if(r)return r}if("atomic"===n.getType()){var o=t.getEditorState().getCurrentContent().getEntity(n.getEntityAt(0));if(o&&"IMAGE"===o.type)return{component:vr(t),editable:!1};if(o&&"EMBEDDED_LINK"===o.type)return{component:fr,editable:!1}}}}({isReadOnly:n.isReadOnly,isImageAlignmentEnabled:n.isImageAlignmentEnabled,getEditorState:n.getEditorState,onChange:n.onChange},e.customBlockRenderFunc),n.editorProps=n.filterEditorProps(e),n.customStyleMap=n.getStyleMap(e),n.compositeDecorator=n.getCompositeDecorator(r);var i=n.createEditorState(n.compositeDecorator);return Object(c.extractInlineStyle)(i),n.state={editorState:i,editorFocused:!1,toolbar:r},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Dr(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidMount",value:function(){this.modalHandler.init(this.wrapperId)}},{key:"componentDidUpdate",value:function(t){if(t!==this.props){var e={},n=this.props,r=n.editorState,o=n.contentState;if(!this.state.toolbar){var i=E(br,i);e.toolbar=i}if(w(this.props,"editorState")&&r!==t.editorState)e.editorState=r?s.EditorState.set(r,{decorator:this.compositeDecorator}):s.EditorState.createEmpty(this.compositeDecorator);else if(w(this.props,"contentState")&&o!==t.contentState)if(o){var a=this.changeEditorState(o);a&&(e.editorState=a)}else e.editorState=s.EditorState.createEmpty(this.compositeDecorator);t.editorState===r&&t.contentState===o||Object(c.extractInlineStyle)(e.editorState),Object.keys(e).length&&this.setState(e),this.editorProps=this.filterEditorProps(this.props),this.customStyleMap=this.getStyleMap(this.props)}}},{key:"render",value:function(){var t=this.state,e=t.editorState,n=t.editorFocused,r=t.toolbar,i=this.props,a=i.locale,u=i.localization,p=u.locale,f=u.translations,d=i.toolbarCustomButtons,h=i.toolbarOnFocus,g=i.toolbarClassName,m=i.toolbarHidden,v=i.editorClassName,_=i.wrapperClassName,w=i.toolbarStyle,S=i.editorStyle,M=i.wrapperStyle,E=i.uploadCallback,x=i.ariaLabel,k={modalHandler:this.modalHandler,editorState:e,onChange:this.onChange,translations:Er({},_r[a||p],{},f)},C=n||this.focusHandler.isInputFocused()||!h;return o.a.createElement("div",{id:this.wrapperId,className:l()(_,"rdw-editor-wrapper"),style:M,onClick:this.modalHandler.onEditorClick,onBlur:this.onWrapperBlur,"aria-label":"rdw-wrapper"},!m&&o.a.createElement("div",{className:l()("rdw-editor-toolbar",g),style:Er({visibility:C?"visible":"hidden"},w),onMouseDown:this.preventDefault,"aria-label":"rdw-toolbar","aria-hidden":(!n&&h).toString(),onFocus:this.onToolbarFocus},r.options.map((function(t,e){var n=Qn[t],i=r[t];return"image"===t&&E&&(i.uploadCallback=E),o.a.createElement(n,Sr({key:e},k,{config:i}))})),d&&d.map((function(t,e){return o.a.cloneElement(t,Er({key:e},k))}))),o.a.createElement("div",{ref:this.setWrapperReference,className:l()(v,"rdw-editor-main"),style:S,onClick:this.focusEditor,onFocus:this.onEditorFocus,onBlur:this.onEditorBlur,onKeyDown:y.onKeyDown,onMouseDown:this.onEditorMouseDown},o.a.createElement(s.Editor,Sr({ref:this.setEditorReference,keyBindingFn:this.keyBindingFn,editorState:e,onChange:this.onChange,blockStyleFn:b,customStyleMap:this.getStyleMap(this.props),handleReturn:this.handleReturn,handlePastedText:this.handlePastedTextFn,blockRendererFn:this.blockRendererFn,handleKeyCommand:this.handleKeyCommand,ariaLabel:x||"rdw-editor",blockRenderMap:c.blockRenderMap},this.editorProps))))}}])&&Cr(e.prototype,n),t}();Or.propTypes={onChange:a.a.func,onEditorStateChange:a.a.func,onContentStateChange:a.a.func,initialContentState:a.a.object,defaultContentState:a.a.object,contentState:a.a.object,editorState:a.a.object,defaultEditorState:a.a.object,toolbarOnFocus:a.a.bool,spellCheck:a.a.bool,stripPastedStyles:a.a.bool,toolbar:a.a.object,toolbarCustomButtons:a.a.array,toolbarClassName:a.a.string,toolbarHidden:a.a.bool,locale:a.a.string,localization:a.a.object,editorClassName:a.a.string,wrapperClassName:a.a.string,toolbarStyle:a.a.object,editorStyle:a.a.object,wrapperStyle:a.a.object,uploadCallback:a.a.func,onFocus:a.a.func,onBlur:a.a.func,onTab:a.a.func,mention:a.a.object,hashtag:a.a.object,textAlignment:a.a.string,readOnly:a.a.bool,tabIndex:a.a.number,placeholder:a.a.string,ariaLabel:a.a.string,ariaOwneeID:a.a.string,ariaActiveDescendantID:a.a.string,ariaAutoComplete:a.a.string,ariaDescribedBy:a.a.string,ariaExpanded:a.a.string,ariaHasPopup:a.a.string,customBlockRenderFunc:a.a.func,wrapperId:a.a.number,customDecorators:a.a.array,editorRef:a.a.func,handlePastedText:a.a.func},Or.defaultProps={toolbarOnFocus:!1,toolbarHidden:!1,stripPastedStyles:!1,localization:{locale:"en",translations:{}},customDecorators:[]};var Ir=Or;n.d(e,"Editor",(function(){return Ir}))}],r.c=i,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=8);function r(t){if(i[t])return i[t].exports;var e=i[t]={i:t,l:!1,exports:{}};return o[t].call(e.exports,e,e.exports,r),e.l=!0,e.exports}var o,i}(n(1024),n(6880),n(11203))},56108:(t,e,n)=>{"use strict";n.d(e,{Z:()=>y});var r=n(20011),o=n(66017),i=n(1024);const a=i.useLayoutEffect;var s=function(t,e){"function"!=typeof t?t.current=e:t(e)};var c={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},u=function(t){Object.keys(c).forEach((function(e){t.style.setProperty(e,c[e],"important")}))},l=null,p=function(){},f=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width"],d=!!document.documentElement.currentStyle,h=function(t,e){var n=t.cacheMeasurements,c=t.maxRows,h=t.minRows,y=t.onChange,g=void 0===y?p:y,m=t.onHeightChange,v=void 0===m?p:m,b=(0,o.Z)(t,["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"]),_=void 0!==b.value,w=(0,i.useRef)(null),S=function(t,e){var n=(0,i.useRef)();return(0,i.useCallback)((function(r){t.current=r,n.current&&s(n.current,null),n.current=e,e&&s(e,r)}),[e])}(w,e),M=(0,i.useRef)(0),E=(0,i.useRef)(),x=function(){var t=w.current,e=n&&E.current?E.current:function(t){var e=window.getComputedStyle(t);if(null===e)return null;var n,r=(n=e,f.reduce((function(t,e){return t[e]=n[e],t}),{})),o=r.boxSizing;return""===o?null:(d&&"border-box"===o&&(r.width=parseFloat(r.width)+parseFloat(r.borderRightWidth)+parseFloat(r.borderLeftWidth)+parseFloat(r.paddingRight)+parseFloat(r.paddingLeft)+"px"),{sizingStyle:r,paddingSize:parseFloat(r.paddingBottom)+parseFloat(r.paddingTop),borderSize:parseFloat(r.borderBottomWidth)+parseFloat(r.borderTopWidth)})}(t);if(e){E.current=e;var r=function(t,e,n,r){void 0===n&&(n=1),void 0===r&&(r=1/0),l||((l=document.createElement("textarea")).setAttribute("tab-index","-1"),l.setAttribute("aria-hidden","true"),u(l)),null===l.parentNode&&document.body.appendChild(l);var o=t.paddingSize,i=t.borderSize,a=t.sizingStyle,s=a.boxSizing;Object.keys(a).forEach((function(t){var e=t;l.style[e]=a[e]})),u(l),l.value=e;var c=function(t,e){var n=t.scrollHeight;return"border-box"===e.sizingStyle.boxSizing?n+e.borderSize:n-e.paddingSize}(l,t);l.value="x";var p=l.scrollHeight-o,f=p*n;"border-box"===s&&(f=f+o+i),c=Math.max(f,c);var d=p*r;return"border-box"===s&&(d=d+o+i),[c=Math.min(d,c),p]}(e,t.value||t.placeholder||"x",h,c),o=r[0],i=r[1];M.current!==o&&(M.current=o,t.style.setProperty("height",o+"px","important"),v(o,{rowHeight:i}))}};return(0,i.useLayoutEffect)(x),function(t){var e,n,r=(e=t,n=i.useRef(e),a((function(){n.current=e})),n);(0,i.useLayoutEffect)((function(){var t=function(t){r.current(t)};return window.addEventListener("resize",t),function(){window.removeEventListener("resize",t)}}),[])}(x),(0,i.createElement)("textarea",(0,r.Z)({},b,{onChange:function(t){_||x(),g(t)},ref:S}))};const y=(0,i.forwardRef)(h)},67257:function(t,e,n){!function(t,e){"use strict";if(!t.setImmediate){var n,r,o,i,a,s=1,c={},u=!1,l=t.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(t);p=p&&p.setTimeout?p:t,"[object process]"==={}.toString.call(t.process)?n=function(t){process.nextTick((function(){d(t)}))}:function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?(i="setImmediate$"+Math.random()+"$",a=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(i)&&d(+e.data.slice(i.length))},t.addEventListener?t.addEventListener("message",a,!1):t.attachEvent("onmessage",a),n=function(e){t.postMessage(i+e,"*")}):t.MessageChannel?((o=new MessageChannel).port1.onmessage=function(t){d(t.data)},n=function(t){o.port2.postMessage(t)}):l&&"onreadystatechange"in l.createElement("script")?(r=l.documentElement,n=function(t){var e=l.createElement("script");e.onreadystatechange=function(){d(t),e.onreadystatechange=null,r.removeChild(e),e=null},r.appendChild(e)}):n=function(t){setTimeout(d,0,t)},p.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),r=0;r<e.length;r++)e[r]=arguments[r+1];var o={callback:t,args:e};return c[s]=o,n(s),s++},p.clearImmediate=f}function f(t){delete c[t]}function d(t){if(u)setTimeout(d,0,t);else{var e=c[t];if(e){u=!0;try{!function(t){var e=t.callback,n=t.args;switch(n.length){case 0:e();break;case 1:e(n[0]);break;case 2:e(n[0],n[1]);break;case 3:e(n[0],n[1],n[2]);break;default:e.apply(void 0,n)}}(e)}finally{f(t),u=!1}}}}}("undefined"==typeof self?void 0===n.g?this:n.g:self)},4234:(t,e,n)=>{"use strict";n.d(e,{Z:()=>C});var r=n(1024),o=n.n(r),i=n(60216),a=n.n(i),s=(n(15296),n(94386),n(48868),n(96609),n(92274),n(68268),n(81874),n(31341),n(54861),n(50200)),c=n.n(s),u=n(40001),l=n.n(u),p=n(98511),f=n.n(p),d=n(54006),h=n(15206),y=n.n(h),g=(n(82937),n(66403),n(42295),n(52963),n(34994),null),m=null;function v(){if(null===g){if("undefined"==typeof document)return g=0;var t=document.body,e=document.createElement("div");e.classList.add("simplebar-hide-scrollbar"),t.appendChild(e);var n=e.getBoundingClientRect().right;t.removeChild(e),g=n}return g}function b(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:window}function _(t){return t&&t.ownerDocument?t.ownerDocument:document}y()&&window.addEventListener("resize",(function(){m!==window.devicePixelRatio&&(m=window.devicePixelRatio,g=null)}));var w=function(){function t(e,n){var r=this;this.onScroll=function(){var t=b(r.el);r.scrollXTicking||(t.requestAnimationFrame(r.scrollX),r.scrollXTicking=!0),r.scrollYTicking||(t.requestAnimationFrame(r.scrollY),r.scrollYTicking=!0)},this.scrollX=function(){r.axis.x.isOverflowing&&(r.showScrollbar("x"),r.positionScrollbar("x")),r.scrollXTicking=!1},this.scrollY=function(){r.axis.y.isOverflowing&&(r.showScrollbar("y"),r.positionScrollbar("y")),r.scrollYTicking=!1},this.onMouseEnter=function(){r.showScrollbar("x"),r.showScrollbar("y")},this.onMouseMove=function(t){r.mouseX=t.clientX,r.mouseY=t.clientY,(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseMoveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseMoveForAxis("y")},this.onMouseLeave=function(){r.onMouseMove.cancel(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseLeaveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseLeaveForAxis("y"),r.mouseX=-1,r.mouseY=-1},this.onWindowResize=function(){r.scrollbarWidth=r.getScrollbarWidth(),r.hideNativeScrollbar()},this.hideScrollbars=function(){r.axis.x.track.rect=r.axis.x.track.el.getBoundingClientRect(),r.axis.y.track.rect=r.axis.y.track.el.getBoundingClientRect(),r.isWithinBounds(r.axis.y.track.rect)||(r.axis.y.scrollbar.el.classList.remove(r.classNames.visible),r.axis.y.isVisible=!1),r.isWithinBounds(r.axis.x.track.rect)||(r.axis.x.scrollbar.el.classList.remove(r.classNames.visible),r.axis.x.isVisible=!1)},this.onPointerEvent=function(t){var e,n;r.axis.x.track.rect=r.axis.x.track.el.getBoundingClientRect(),r.axis.y.track.rect=r.axis.y.track.el.getBoundingClientRect(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&(e=r.isWithinBounds(r.axis.x.track.rect)),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&(n=r.isWithinBounds(r.axis.y.track.rect)),(e||n)&&(t.preventDefault(),t.stopPropagation(),"mousedown"===t.type&&(e&&(r.axis.x.scrollbar.rect=r.axis.x.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.x.scrollbar.rect)?r.onDragStart(t,"x"):r.onTrackClick(t,"x")),n&&(r.axis.y.scrollbar.rect=r.axis.y.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.y.scrollbar.rect)?r.onDragStart(t,"y"):r.onTrackClick(t,"y"))))},this.drag=function(e){var n=r.axis[r.draggedAxis].track,o=n.rect[r.axis[r.draggedAxis].sizeAttr],i=r.axis[r.draggedAxis].scrollbar,a=r.contentWrapperEl[r.axis[r.draggedAxis].scrollSizeAttr],s=parseInt(r.elStyles[r.axis[r.draggedAxis].sizeAttr],10);e.preventDefault(),e.stopPropagation();var c=(("y"===r.draggedAxis?e.pageY:e.pageX)-n.rect[r.axis[r.draggedAxis].offsetAttr]-r.axis[r.draggedAxis].dragOffset)/(o-i.size)*(a-s);"x"===r.draggedAxis&&(c=r.isRtl&&t.getRtlHelpers().isRtlScrollbarInverted?c-(o+i.size):c,c=r.isRtl&&t.getRtlHelpers().isRtlScrollingInverted?-c:c),r.contentWrapperEl[r.axis[r.draggedAxis].scrollOffsetAttr]=c},this.onEndDrag=function(t){var e=_(r.el),n=b(r.el);t.preventDefault(),t.stopPropagation(),r.el.classList.remove(r.classNames.dragging),e.removeEventListener("mousemove",r.drag,!0),e.removeEventListener("mouseup",r.onEndDrag,!0),r.removePreventClickId=n.setTimeout((function(){e.removeEventListener("click",r.preventClick,!0),e.removeEventListener("dblclick",r.preventClick,!0),r.removePreventClickId=null}))},this.preventClick=function(t){t.preventDefault(),t.stopPropagation()},this.el=e,this.minScrollbarWidth=20,this.options=Object.assign({},t.defaultOptions,{},n),this.classNames=Object.assign({},t.defaultOptions.classNames,{},this.options.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}}},this.removePreventClickId=null,t.instances.has(this.el)||(this.recalculate=c()(this.recalculate.bind(this),64),this.onMouseMove=c()(this.onMouseMove.bind(this),64),this.hideScrollbars=l()(this.hideScrollbars.bind(this),this.options.timeout),this.onWindowResize=l()(this.onWindowResize.bind(this),64,{leading:!0}),t.getRtlHelpers=f()(t.getRtlHelpers),this.init())}t.getRtlHelpers=function(){var e=document.createElement("div");e.innerHTML='<div class="hs-dummy-scrollbar-size"><div style="height: 200%; width: 200%; margin: 10px 0;"></div></div>';var n=e.firstElementChild;document.body.appendChild(n);var r=n.firstElementChild;n.scrollLeft=0;var o=t.getOffset(n),i=t.getOffset(r);n.scrollLeft=999;var a=t.getOffset(r);return{isRtlScrollingInverted:o.left!==i.left&&i.left-a.left!=0,isRtlScrollbarInverted:o.left!==i.left}},t.getOffset=function(t){var e=t.getBoundingClientRect(),n=_(t),r=b(t);return{top:e.top+(r.pageYOffset||n.documentElement.scrollTop),left:e.left+(r.pageXOffset||n.documentElement.scrollLeft)}};var e=t.prototype;return e.init=function(){t.instances.set(this.el,this),y()&&(this.initDOM(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.initDOM=function(){var t=this;if(Array.prototype.filter.call(this.el.children,(function(e){return e.classList.contains(t.classNames.wrapper)})).length)this.wrapperEl=this.el.querySelector("."+this.classNames.wrapper),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector("."+this.classNames.contentWrapper),this.contentEl=this.options.contentNode||this.el.querySelector("."+this.classNames.contentEl),this.offsetEl=this.el.querySelector("."+this.classNames.offset),this.maskEl=this.el.querySelector("."+this.classNames.mask),this.placeholderEl=this.findChild(this.wrapperEl,"."+this.classNames.placeholder),this.heightAutoObserverWrapperEl=this.el.querySelector("."+this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl=this.el.querySelector("."+this.classNames.heightAutoObserverEl),this.axis.x.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.horizontal),this.axis.y.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.vertical);else{for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),this.wrapperEl.classList.add(this.classNames.wrapper),this.contentWrapperEl.classList.add(this.classNames.contentWrapper),this.offsetEl.classList.add(this.classNames.offset),this.maskEl.classList.add(this.classNames.mask),this.contentEl.classList.add(this.classNames.contentEl),this.placeholderEl.classList.add(this.classNames.placeholder),this.heightAutoObserverWrapperEl.classList.add(this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl.classList.add(this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl)}if(!this.axis.x.track.el||!this.axis.y.track.el){var e=document.createElement("div"),n=document.createElement("div");e.classList.add(this.classNames.track),n.classList.add(this.classNames.scrollbar),e.appendChild(n),this.axis.x.track.el=e.cloneNode(!0),this.axis.x.track.el.classList.add(this.classNames.horizontal),this.axis.y.track.el=e.cloneNode(!0),this.axis.y.track.el.classList.add(this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}this.axis.x.scrollbar.el=this.axis.x.track.el.querySelector("."+this.classNames.scrollbar),this.axis.y.scrollbar.el=this.axis.y.track.el.querySelector("."+this.classNames.scrollbar),this.options.autoHide||(this.axis.x.scrollbar.el.classList.add(this.classNames.visible),this.axis.y.scrollbar.el.classList.add(this.classNames.visible)),this.el.setAttribute("data-simplebar","init")},e.initListeners=function(){var t=this,e=b(this.el);this.options.autoHide&&this.el.addEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach((function(e){t.el.addEventListener(e,t.onPointerEvent,!0)})),["touchstart","touchend","touchmove"].forEach((function(e){t.el.addEventListener(e,t.onPointerEvent,{capture:!0,passive:!0})})),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl.addEventListener("scroll",this.onScroll),e.addEventListener("resize",this.onWindowResize);var n=!1,r=e.ResizeObserver||d.Z;this.resizeObserver=new r((function(){n&&t.recalculate()})),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),e.requestAnimationFrame((function(){n=!0})),this.mutationObserver=new e.MutationObserver(this.recalculate),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})},e.recalculate=function(){var t=b(this.el);this.elStyles=t.getComputedStyle(this.el),this.isRtl="rtl"===this.elStyles.direction;var e=this.heightAutoObserverEl.offsetHeight<=1,n=this.heightAutoObserverEl.offsetWidth<=1,r=this.contentEl.offsetWidth,o=this.contentWrapperEl.offsetWidth,i=this.elStyles.overflowX,a=this.elStyles.overflowY;this.contentEl.style.padding=this.elStyles.paddingTop+" "+this.elStyles.paddingRight+" "+this.elStyles.paddingBottom+" "+this.elStyles.paddingLeft,this.wrapperEl.style.margin="-"+this.elStyles.paddingTop+" -"+this.elStyles.paddingRight+" -"+this.elStyles.paddingBottom+" -"+this.elStyles.paddingLeft;var s=this.contentEl.scrollHeight,c=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=e?"auto":"100%",this.placeholderEl.style.width=n?r+"px":"auto",this.placeholderEl.style.height=s+"px";var u=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=c>r,this.axis.y.isOverflowing=s>u,this.axis.x.isOverflowing="hidden"!==i&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==a&&this.axis.y.isOverflowing,this.axis.x.forceVisible="x"===this.options.forceVisible||!0===this.options.forceVisible,this.axis.y.forceVisible="y"===this.options.forceVisible||!0===this.options.forceVisible,this.hideNativeScrollbar();var l=this.axis.x.isOverflowing?this.scrollbarWidth:0,p=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&c>o-p,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&s>u-l,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el.style.width=this.axis.x.scrollbar.size+"px",this.axis.y.scrollbar.el.style.height=this.axis.y.scrollbar.size+"px",this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")},e.getScrollbarSize=function(t){if(void 0===t&&(t="y"),!this.axis[t].isOverflowing)return 0;var e,n=this.contentEl[this.axis[t].scrollSizeAttr],r=this.axis[t].track.el[this.axis[t].offsetSizeAttr],o=r/n;return e=Math.max(~~(o*r),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(e=Math.min(e,this.options.scrollbarMaxSize)),e},e.positionScrollbar=function(e){if(void 0===e&&(e="y"),this.axis[e].isOverflowing){var n=this.contentWrapperEl[this.axis[e].scrollSizeAttr],r=this.axis[e].track.el[this.axis[e].offsetSizeAttr],o=parseInt(this.elStyles[this.axis[e].sizeAttr],10),i=this.axis[e].scrollbar,a=this.contentWrapperEl[this.axis[e].scrollOffsetAttr],s=(a="x"===e&&this.isRtl&&t.getRtlHelpers().isRtlScrollingInverted?-a:a)/(n-o),c=~~((r-i.size)*s);c="x"===e&&this.isRtl&&t.getRtlHelpers().isRtlScrollbarInverted?c+(r-i.size):c,i.el.style.transform="x"===e?"translate3d("+c+"px, 0, 0)":"translate3d(0, "+c+"px, 0)"}},e.toggleTrackVisibility=function(t){void 0===t&&(t="y");var e=this.axis[t].track.el,n=this.axis[t].scrollbar.el;this.axis[t].isOverflowing||this.axis[t].forceVisible?(e.style.visibility="visible",this.contentWrapperEl.style[this.axis[t].overflowAttr]="scroll"):(e.style.visibility="hidden",this.contentWrapperEl.style[this.axis[t].overflowAttr]="hidden"),this.axis[t].isOverflowing?n.style.display="block":n.style.display="none"},e.hideNativeScrollbar=function(){this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-"+this.scrollbarWidth+"px":0,this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-"+this.scrollbarWidth+"px":0},e.onMouseMoveForAxis=function(t){void 0===t&&(t="y"),this.axis[t].track.rect=this.axis[t].track.el.getBoundingClientRect(),this.axis[t].scrollbar.rect=this.axis[t].scrollbar.el.getBoundingClientRect(),this.isWithinBounds(this.axis[t].scrollbar.rect)?this.axis[t].scrollbar.el.classList.add(this.classNames.hover):this.axis[t].scrollbar.el.classList.remove(this.classNames.hover),this.isWithinBounds(this.axis[t].track.rect)?(this.showScrollbar(t),this.axis[t].track.el.classList.add(this.classNames.hover)):this.axis[t].track.el.classList.remove(this.classNames.hover)},e.onMouseLeaveForAxis=function(t){void 0===t&&(t="y"),this.axis[t].track.el.classList.remove(this.classNames.hover),this.axis[t].scrollbar.el.classList.remove(this.classNames.hover)},e.showScrollbar=function(t){void 0===t&&(t="y");var e=this.axis[t].scrollbar.el;this.axis[t].isVisible||(e.classList.add(this.classNames.visible),this.axis[t].isVisible=!0),this.options.autoHide&&this.hideScrollbars()},e.onDragStart=function(t,e){void 0===e&&(e="y");var n=_(this.el),r=b(this.el),o=this.axis[e].scrollbar,i="y"===e?t.pageY:t.pageX;this.axis[e].dragOffset=i-o.rect[this.axis[e].offsetAttr],this.draggedAxis=e,this.el.classList.add(this.classNames.dragging),n.addEventListener("mousemove",this.drag,!0),n.addEventListener("mouseup",this.onEndDrag,!0),null===this.removePreventClickId?(n.addEventListener("click",this.preventClick,!0),n.addEventListener("dblclick",this.preventClick,!0)):(r.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.onTrackClick=function(t,e){var n=this;if(void 0===e&&(e="y"),this.options.clickOnTrack){var r=b(this.el);this.axis[e].scrollbar.rect=this.axis[e].scrollbar.el.getBoundingClientRect();var o=this.axis[e].scrollbar.rect[this.axis[e].offsetAttr],i=parseInt(this.elStyles[this.axis[e].sizeAttr],10),a=this.contentWrapperEl[this.axis[e].scrollOffsetAttr],s=("y"===e?this.mouseY-o:this.mouseX-o)<0?-1:1,c=-1===s?a-i:a+i;!function t(){var o,i;-1===s?a>c&&(a-=n.options.clickOnTrackSpeed,n.contentWrapperEl.scrollTo(((o={})[n.axis[e].offsetAttr]=a,o)),r.requestAnimationFrame(t)):a<c&&(a+=n.options.clickOnTrackSpeed,n.contentWrapperEl.scrollTo(((i={})[n.axis[e].offsetAttr]=a,i)),r.requestAnimationFrame(t))}()}},e.getContentElement=function(){return this.contentEl},e.getScrollElement=function(){return this.contentWrapperEl},e.getScrollbarWidth=function(){try{return"none"===getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:v()}catch(t){return v()}},e.removeListeners=function(){var t=this,e=b(this.el);this.options.autoHide&&this.el.removeEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach((function(e){t.el.removeEventListener(e,t.onPointerEvent,!0)})),["touchstart","touchend","touchmove"].forEach((function(e){t.el.removeEventListener(e,t.onPointerEvent,{capture:!0,passive:!0})})),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.recalculate.cancel(),this.onMouseMove.cancel(),this.hideScrollbars.cancel(),this.onWindowResize.cancel()},e.unMount=function(){this.removeListeners(),t.instances.delete(this.el)},e.isWithinBounds=function(t){return this.mouseX>=t.left&&this.mouseX<=t.left+t.width&&this.mouseY>=t.top&&this.mouseY<=t.top+t.height},e.findChild=function(t,e){var n=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;return Array.prototype.filter.call(t.children,(function(t){return n.call(t,e)}))[0]},t}();w.defaultOptions={autoHide:!0,forceVisible:!1,clickOnTrack:!0,clickOnTrackSpeed:40,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging"},scrollbarMinSize:25,scrollbarMaxSize:0,timeout:1e3},w.instances=new WeakMap;const S=w;function M(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function E(){return E=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},E.apply(this,arguments)}function x(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var k=o().forwardRef((function(t,e){var n,i=t.children,a=t.scrollableNodeProps,s=void 0===a?{}:a,c=function(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(t,["children","scrollableNodeProps"]),u=(0,r.useRef)(),l=(0,r.useRef)(),p=(0,r.useRef)(),f={},d={},h=[];return Object.keys(c).forEach((function(t){Object.prototype.hasOwnProperty.call(S.defaultOptions,t)?f[t]=c[t]:t.match(/data-simplebar-(.+)/)&&"data-simplebar-direction"!==t?h.push({name:t,value:c[t]}):d[t]=c[t]})),h.length&&console.warn("simplebar-react: this way of passing options is deprecated. Pass it like normal props instead:\n 'data-simplebar-auto-hide=\"false\"' —> 'autoHide=\"false\"'\n "),(0,r.useEffect)((function(){var t;return u=s.ref||u,l.current&&(n=new S(l.current,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?x(n,!0).forEach((function(e){M(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):x(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},(t=h,Array.prototype.reduce.call(t,(function(t,e){var n=e.name.match(/data-simplebar-(.+)/);if(n){var r=n[1].replace(/\W+(.)/g,(function(t,e){return e.toUpperCase()}));switch(e.value){case"true":t[r]=!0;break;case"false":t[r]=!1;break;case void 0:t[r]=!0;break;default:t[r]=e.value}}return t}),{})),{},f,{},u&&{scrollableNode:u.current},{},p.current&&{contentNode:p.current})),e&&(e.current=n)),function(){n.unMount(),n=null}}),[]),o().createElement("div",E({ref:l,"data-simplebar":!0},d),o().createElement("div",{className:"simplebar-wrapper"},o().createElement("div",{className:"simplebar-height-auto-observer-wrapper"},o().createElement("div",{className:"simplebar-height-auto-observer"})),o().createElement("div",{className:"simplebar-mask"},o().createElement("div",{className:"simplebar-offset"},"function"==typeof i?i({scrollableNodeRef:u,contentNodeRef:p}):o().createElement("div",E({},s,{className:"simplebar-content-wrapper".concat(s.className?" ".concat(s.className):"")}),o().createElement("div",{className:"simplebar-content"},i)))),o().createElement("div",{className:"simplebar-placeholder"})),o().createElement("div",{className:"simplebar-track simplebar-horizontal"},o().createElement("div",{className:"simplebar-scrollbar"})),o().createElement("div",{className:"simplebar-track simplebar-vertical"},o().createElement("div",{className:"simplebar-scrollbar"})))}));k.displayName="SimpleBar",k.propTypes={children:a().oneOfType([a().node,a().func]),scrollableNodeProps:a().object};const C=k},52423:function(t,e,n){var r;!function(o,i){"use strict";var a="function",s="undefined",c="object",u="string",l="model",p="name",f="type",d="vendor",h="version",y="architecture",g="console",m="mobile",v="tablet",b="smarttv",_="wearable",w="embedded",S="Amazon",M="Apple",E="ASUS",x="BlackBerry",k="Google",C="Huawei",j="LG",D="Microsoft",O="Motorola",I="Samsung",L="Sharp",N="Sony",A="Xiaomi",T="Zebra",z="Facebook",R=function(t){for(var e={},n=0;n<t.length;n++)e[t[n].toUpperCase()]=t[n];return e},P=function(t,e){return typeof t===u&&-1!==B(e).indexOf(B(t))},B=function(t){return t.toLowerCase()},F=function(t,e){if(typeof t===u)return t=t.replace(/^\s\s*/,"").replace(/\s\s*$/,""),typeof e===s?t:t.substring(0,350)},U=function(t,e){for(var n,r,o,s,u,l,p=0;p<e.length&&!u;){var f=e[p],d=e[p+1];for(n=r=0;n<f.length&&!u;)if(u=f[n++].exec(t))for(o=0;o<d.length;o++)l=u[++r],typeof(s=d[o])===c&&s.length>0?2===s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,l):this[s[0]]=s[1]:3===s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=l?l.replace(s[1],s[2]):i:this[s[0]]=l?s[1].call(this,l,s[2]):i:4===s.length&&(this[s[0]]=l?s[3].call(this,l.replace(s[1],s[2])):i):this[s]=l||i;p+=2}},K=function(t,e){for(var n in e)if(typeof e[n]===c&&e[n].length>0){for(var r=0;r<e[n].length;r++)if(P(e[n][r],t))return"?"===n?i:n}else if(P(e[n],t))return"?"===n?i:n;return t},H={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},q={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[h,[p,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[h,[p,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[p,h],[/opios[\/ ]+([\w\.]+)/i],[h,[p,"Opera Mini"]],[/\bopr\/([\w\.]+)/i],[h,[p,"Opera"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[p,h],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[h,[p,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[h,[p,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[h,[p,"WeChat"]],[/konqueror\/([\w\.]+)/i],[h,[p,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[h,[p,"IE"]],[/yabrowser\/([\w\.]+)/i],[h,[p,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[p,/(.+)/,"$1 Secure Browser"],h],[/\bfocus\/([\w\.]+)/i],[h,[p,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[h,[p,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[h,[p,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[h,[p,"Dolphin"]],[/coast\/([\w\.]+)/i],[h,[p,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[h,[p,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[h,[p,"Firefox"]],[/\bqihu|(qi?ho?o?|360)browser/i],[[p,"360 Browser"]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[p,/(.+)/,"$1 Browser"],h],[/(comodo_dragon)\/([\w\.]+)/i],[[p,/_/g," "],h],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[p,h],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[p],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[p,z],h],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[p,h],[/\bgsa\/([\w\.]+) .*safari\//i],[h,[p,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[h,[p,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[p,"Chrome WebView"],h],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[h,[p,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[p,h],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[h,[p,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[h,p],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[p,[h,K,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[p,h],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[p,"Netscape"],h],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[h,[p,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[p,h]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[y,"amd64"]],[/(ia32(?=;))/i],[[y,B]],[/((?:i[346]|x)86)[;\)]/i],[[y,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[y,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[y,"armhf"]],[/windows (ce|mobile); ppc;/i],[[y,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[y,/ower/,"",B]],[/(sun4\w)[;\)]/i],[[y,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[y,B]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[l,[d,I],[f,v]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[l,[d,I],[f,m]],[/\((ip(?:hone|od)[\w ]*);/i],[l,[d,M],[f,m]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[l,[d,M],[f,v]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[l,[d,C],[f,v]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[l,[d,C],[f,m]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[l,/_/g," "],[d,A],[f,m]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[l,/_/g," "],[d,A],[f,v]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[l,[d,"OPPO"],[f,m]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[l,[d,"Vivo"],[f,m]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[l,[d,"Realme"],[f,m]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[l,[d,O],[f,m]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[l,[d,O],[f,v]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[l,[d,j],[f,v]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[l,[d,j],[f,m]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[l,[d,"Lenovo"],[f,v]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[l,/_/g," "],[d,"Nokia"],[f,m]],[/(pixel c)\b/i],[l,[d,k],[f,v]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[l,[d,k],[f,m]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[l,[d,N],[f,m]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[l,"Xperia Tablet"],[d,N],[f,v]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[l,[d,"OnePlus"],[f,m]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[l,[d,S],[f,v]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[l,/(.+)/g,"Fire Phone $1"],[d,S],[f,m]],[/(playbook);[-\w\),; ]+(rim)/i],[l,d,[f,v]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[l,[d,x],[f,m]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[l,[d,E],[f,v]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[l,[d,E],[f,m]],[/(nexus 9)/i],[l,[d,"HTC"],[f,v]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony(?!-bra))[-_ ]?([-\w]*)/i],[d,[l,/_/g," "],[f,m]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[l,[d,"Acer"],[f,v]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[l,[d,"Meizu"],[f,m]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[l,[d,L],[f,m]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[d,l,[f,m]],[/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[d,l,[f,v]],[/(surface duo)/i],[l,[d,D],[f,v]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[l,[d,"Fairphone"],[f,m]],[/(u304aa)/i],[l,[d,"AT&T"],[f,m]],[/\bsie-(\w*)/i],[l,[d,"Siemens"],[f,m]],[/\b(rct\w+) b/i],[l,[d,"RCA"],[f,v]],[/\b(venue[\d ]{2,7}) b/i],[l,[d,"Dell"],[f,v]],[/\b(q(?:mv|ta)\w+) b/i],[l,[d,"Verizon"],[f,v]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[l,[d,"Barnes & Noble"],[f,v]],[/\b(tm\d{3}\w+) b/i],[l,[d,"NuVision"],[f,v]],[/\b(k88) b/i],[l,[d,"ZTE"],[f,v]],[/\b(nx\d{3}j) b/i],[l,[d,"ZTE"],[f,m]],[/\b(gen\d{3}) b.+49h/i],[l,[d,"Swiss"],[f,m]],[/\b(zur\d{3}) b/i],[l,[d,"Swiss"],[f,v]],[/\b((zeki)?tb.*\b) b/i],[l,[d,"Zeki"],[f,v]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[d,"Dragon Touch"],l,[f,v]],[/\b(ns-?\w{0,9}) b/i],[l,[d,"Insignia"],[f,v]],[/\b((nxa|next)-?\w{0,9}) b/i],[l,[d,"NextBook"],[f,v]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[d,"Voice"],l,[f,m]],[/\b(lvtel\-)?(v1[12]) b/i],[[d,"LvTel"],l,[f,m]],[/\b(ph-1) /i],[l,[d,"Essential"],[f,m]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[l,[d,"Envizen"],[f,v]],[/\b(trio[-\w\. ]+) b/i],[l,[d,"MachSpeed"],[f,v]],[/\btu_(1491) b/i],[l,[d,"Rotor"],[f,v]],[/(shield[\w ]+) b/i],[l,[d,"Nvidia"],[f,v]],[/(sprint) (\w+)/i],[d,l,[f,m]],[/(kin\.[onetw]{3})/i],[[l,/\./g," "],[d,D],[f,m]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[l,[d,T],[f,v]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[l,[d,T],[f,m]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,l,[f,g]],[/droid.+; (shield) bui/i],[l,[d,"Nvidia"],[f,g]],[/(playstation [345portablevi]+)/i],[l,[d,N],[f,g]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[l,[d,D],[f,g]],[/smart-tv.+(samsung)/i],[d,[f,b]],[/hbbtv.+maple;(\d+)/i],[[l,/^/,"SmartTV"],[d,I],[f,b]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[d,j],[f,b]],[/(apple) ?tv/i],[d,[l,"Apple TV"],[f,b]],[/crkey/i],[[l,"Chromecast"],[d,k],[f,b]],[/droid.+aft(\w)( bui|\))/i],[l,[d,S],[f,b]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[l,[d,L],[f,b]],[/(bravia[\w ]+)( bui|\))/i],[l,[d,N],[f,b]],[/(mitv-\w{5}) bui/i],[l,[d,A],[f,b]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[d,F],[l,F],[f,b]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[f,b]],[/((pebble))app/i],[d,l,[f,_]],[/droid.+; (glass) \d/i],[l,[d,k],[f,_]],[/droid.+; (wt63?0{2,3})\)/i],[l,[d,T],[f,_]],[/(quest( 2)?)/i],[l,[d,z],[f,_]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[f,w]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[l,[f,m]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[l,[f,v]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[f,v]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[f,m]],[/(android[-\w\. ]{0,9});.+buil/i],[l,[d,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[h,[p,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[h,[p,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i],[p,h],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[h,p]],os:[[/microsoft (windows) (vista|xp)/i],[p,h],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[p,[h,K,H]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[p,"Windows"],[h,K,H]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[h,/_/g,"."],[p,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[p,"Mac OS"],[h,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[h,p],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[p,h],[/\(bb(10);/i],[h,[p,x]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[h,[p,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[h,[p,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[h,[p,"webOS"]],[/crkey\/([\d\.]+)/i],[h,[p,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[p,"Chromium OS"],h],[/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[p,h],[/(sunos) ?([\w\.\d]*)/i],[[p,"Solaris"],h],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[p,h]]},Y=function(t,e){if(typeof t===c&&(e=t,t=i),!(this instanceof Y))return new Y(t,e).getResult();var n=t||(typeof o!==s&&o.navigator&&o.navigator.userAgent?o.navigator.userAgent:""),r=e?function(t,e){var n={};for(var r in t)e[r]&&e[r].length%2==0?n[r]=e[r].concat(t[r]):n[r]=t[r];return n}(q,e):q;return this.getBrowser=function(){var t,e={};return e.name=i,e.version=i,U.call(e,n,r.browser),e.major=typeof(t=e.version)===u?t.replace(/[^\d\.]/g,"").split(".")[0]:i,e},this.getCPU=function(){var t={};return t.architecture=i,U.call(t,n,r.cpu),t},this.getDevice=function(){var t={};return t.vendor=i,t.model=i,t.type=i,U.call(t,n,r.device),t},this.getEngine=function(){var t={};return t.name=i,t.version=i,U.call(t,n,r.engine),t},this.getOS=function(){var t={};return t.name=i,t.version=i,U.call(t,n,r.os),t},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return n},this.setUA=function(t){return n=typeof t===u&&t.length>350?F(t,350):t,this},this.setUA(n),this};Y.VERSION="0.7.32",Y.BROWSER=R([p,h,"major"]),Y.CPU=R([y]),Y.DEVICE=R([l,d,f,g,m,b,v,_,w]),Y.ENGINE=Y.OS=R([p,h]),typeof e!==s?(t.exports&&(e=t.exports=Y),e.UAParser=Y):n.amdO?(r=function(){return Y}.call(e,n,e,t))===i||(t.exports=r):typeof o!==s&&(o.UAParser=Y);var W=typeof o!==s&&(o.jQuery||o.Zepto);if(W&&!W.ua){var Q=new Y;W.ua=Q.getResult(),W.ua.get=function(){return Q.getUA()},W.ua.set=function(t){Q.setUA(t);var e=Q.getResult();for(var n in e)W.ua[n]=e[n]}}}("object"==typeof window?window:this)},37017:(t,e,n)=>{"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}n.d(e,{Z:()=>r})},66017:(t,e,n)=>{"use strict";function r(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}n.d(e,{Z:()=>r})},21930:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});var r=n(37017),o=n(49139);function i(t){return function(t){if(Array.isArray(t))return(0,r.Z)(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||(0,o.Z)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},36655:(t,e,n)=>{"use strict";function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}n.d(e,{Z:()=>r})},49139:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(37017);function o(t,e){if(t){if("string"==typeof t)return(0,r.Z)(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(t,e):void 0}}}}]);
|